Class PlainArrayHandler

Description

The Plain Array Class Implements a very simple way of Reading and writting

it Saves varaibles in array and Serailizes it to Media , Whenever it needs to read a Varaible or write to one it takes the whole Serailized Array , Unserailize it and returns value or writes to existing one and Serailize back

Located in /Handlers/PlainArray.php (line 16)


	
			
Variable Summary
Method Summary
 string Delete (string $name)
 Boolean Exist (string $name)
 string PAHGet (string $name)
 string PAHSet (string $name, string $value)
Variables
ComBasic $ComHelper (line 23)

Communication class used by Writting Class

  • access: public
Methods
Constructor PlainArrayHandler (line 32)

PlainArrayHandler Class Constructor

Just assign given ComBasic to Class Varaible

PlainArrayHandler PlainArrayHandler (ComBasic $ComH)
Delete (line 87)

Plain Array Class Deletion Function

after Unserailizing data this function Deletes a given key and returns Serialized version of the array to be written back to Media

string Delete (string $name)
  • string $name
Exist (line 73)

Plain Array Class Existance Checking function

after Unserailizing data this function Check for Exstance of a certain key using isset function

Boolean Exist (string $name)
  • string $name
PAHGet (line 44)

Plain Array Class Getter function

unserailaize Data from Communication Class and return Value Corresponding to name in array

string PAHGet (string $name)
  • string $name
PAHSet (line 59)

Plain Array Class Setter function

after Unserailizing data this function assign vakue to name and returns Serialized version of the array to be written back to Media

string PAHSet (string $name, string $value)
  • string $name
  • string $value

Documentation generated on Fri, 01 Aug 2008 05:54:15 +0300 by phpDocumentor 1.4.1