Sitellite Application Framework
Class Tree         Index         All Elements

Class: SessionManager_Simple

Source Location: Program_Root/Session/Manager.php

Class Overview


Handles INI files of the format:


Variables

Methods


Child Classes

Inherited Variables

Inherited Methods


Class Details

[line 1538]
Handles INI files of the format:

value1= value2= value3=




[ Top ]


Class Variables

$data = array ()

[line 1547]

Parsed data from file.


Type:   mixed


[ Top ]

$error =

[line 1552]

Error message, if an error occurs.


Type:   mixed


[ Top ]

$file =

[line 1542]

File to store info.


Type:   mixed


[ Top ]



Class Methods


constructor SessionManager_Simple [line 1557]

SessionManager_Simple SessionManager_Simple( )

Constructor method.



[ Top ]

method add [line 1583]

boolean add( string $name)

Adds an item to $data and rewrites the INI file.



Parameters:

string   $name  

[ Top ]

method delete [line 1615]

boolean delete( string $name)

Deletes an item from $data and rewrites the INI file.



Parameters:

string   $name  

[ Top ]

method edit [line 1599]

boolean edit( string $name, string $newname)

Renames an item in $data and rewrites the INI file.



Parameters:

string   $name  
string   $newname  

[ Top ]

method getData [line 1564]

void getData( )

Retrieves the data from $file and stores it in $data.



[ Top ]

method getList [line 1573]

array getList( )

Returns an array of the data.



[ Top ]


Copyright © 2007, SIMIAN systems Inc.
All rights reserved. Privacy policy
Documentation generated on Tue, 13 Feb 2007 17:18:05 -0600 by Sitellite AppDoc and phpDocumentor 1.2.2