Location: PHPKode > scripts > Todo List > todo-list/install.php
<?
/*	=======================================
	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(), 0 , true, $szStr);

   CreateClass ("Common_Todos", ldrGlobals::cisFolder(), 0 , true);
}
?>
Return current item: Todo List