Login   Register  
PHP Classes
elePHPant
Icontem

File: install.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Michael J. Fuhrman  >  Todo List  >  install.php  >  Download  
File: install.php
Role: Example script
Content type: text/plain
Description: Installs the Todo Classes into Ladder
Class: Todo List
Manage a list of tasks of a to do list
Author: By
Last change:
Date: 2010-06-18 07:37
Size: 771 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 =
        
" dTarget DateTime, " .
        
" nPriority Integer, " .
        
" nTask Integer, " .
        
" nTime Integer, " .
        
" bCompleted VarChar (1), " .
        
" dCompleted DateTime, " .
        
" szMemo varChar(250) " ;

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

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