PHP Classes

File: install.php

Recommend this page to a friend!
  Classes of Michael J. Fuhrman   Contact Types   install.php   Download  
File: install.php
Role: Example script
Content type: text/plain
Description: Install the Contact Types Folder
Class: Contact Types
Manage a list of types of people contacts
Author: By
Last change:
Date: 14 years ago
Size: 621 bytes
 

Contents

Class file image Download
<?
/* =======================================
    Copyright 1998 - 2010 - E Net Arch
    This program is distributed under the terms of the GNU
    General Public License (or the Lesser GPL).
    ======================================= */

function dirPath() { return ("../../"); }

Include_Once (
dirPath() . "Shared/Install_Functions.inc");
Include_Once (
dirPath() . "Shared/_app.inc");

Function
php_Main ()
{
  
$szStr =
       
" szType varChar(20) " ;

  
CreateClass ("Common_ContactType", ldrGlobals::cisItem(), 0 , true, $szStr);

  
CreateClass ("Common_ContactTypes", ldrGlobals::cisFolder(), 0 , true);
}
?>