>> YANA 4 PHP Framework >> Docs For Class Index

Class Index

Description

«utility» controller

this implements the main program

Note that as of version 2.8.6 the framework also accepts calls from the PHP command line interface. This is intended to be used for cronjobs and maintenance.

Example of usage (Windows):

php index.php action=test target=detailed >stdout.log

When running PHP from the command line under UNIX, you need to include the following line on top of the "index.php" file:

#!/usr/bin/php
This is to tell where the PHP binaries can be found.

The path might be another on your server. If you don't know the path, enter the following on your command line:

which php
This will output the path where the php binaries are installed.

When running the program under Windows this is not necessary. Instead you should change the system path to point to the PHP installation directory, if you have'nt already done that.

See the PHP manual for more details.

  • name: Index
  • access: public

Located in /includes/class_index.php

Utility
   |
   --Index
Method Summary

Methods

YANA controller
void main ()
Description:

The Static function "main" is an YANA controller, used to untaint user data and operate an YANA-instance.

  • uses: YANA::main()
  • access: public
inherited from base classes

Inherited From Utility

Documentation generated on Sun, 11 Mar 2007 15:02:36 +0100 by phpDocumentor 1.3.1

yana author: Thomas MeyerHomepage: www.yanaframework.net