TITAN Library for PHP5  5.1.0
Web Software Development Kit for PHP5
options Class Reference

Titan Application Options Handler Class. More...

Inheritance diagram for options:
iterator callback

Public Member Functions

 __construct ($pid, $username= '', $load=true)
 
 load ()
 
 save ()
 
 delete ()
 
- Public Member Functions inherited from iterator
 max_count ($max_count=-1)
 
- Public Member Functions inherited from callback
 __construct ($callback=NULL)
 
 callback ($callback=NULL)
 
 argument ($value)
 
 parameter ($name, $value= '')
 
factory (array $arguments=array())
 
execute ()
 

Additional Inherited Members

- Protected Member Functions inherited from callback
arguments (array $arguments=array())
 

Detailed Description

Titan Application Options Handler Class.

Class: \tl\core\options

Author
James E. Bush work@.nosp@m.bush.nosp@m..cc
Version
5.1.0

Constructor & Destructor Documentation

__construct (   $pid,
  $username = '',
  $load = true 
)

Constructor

Parameters
string$pidProgram ID
string$username(optional) Username binds this object to user settings instead of global settings. (default) '' = Bind to global settings only.
boolean$load(optional) Load all saved settings from the database? (default) true

Member Function Documentation

load ( )

Load all settings from the database

save ( )

Save all settings to the database

delete ( )

Delete all settings from database


The documentation for this class was generated from the following file: