Class miState

Description

Saves and restores the state base class

  • copyright: Copyright (c) 2007 Mirchev Ideas Ltd. All rights reserved.

Located in /util/State.php (line 15)


	
			
Variable Summary
Method Summary
miState __construct ([string $category = ''])
void getArray ([ $category = false])
array getPersistVars ()
void restoreState ()
void saveState ()
void setArray ( $values, [ $category = false])
void setDefaultCategory ( $category)
void setPersistVars (array $persistVars)
Variables
mixed $_category (line 16)
  • access: protected
mixed $_persistVars = array() (line 19)
  • access: protected
mixed $_stateVars = array() (line 17)
  • access: protected
Methods
Constructor __construct (line 26)

Constucts the state manager class

  • access: public
miState __construct ([string $category = ''])
  • string $category
getArray (line 71)
  • access: public
void getArray ([ $category = false])
  • $category
getPersistVars (line 41)

Get the names of variables to be persisted

  • access: public
array getPersistVars ()
getStateUrlParams (line 102)
  • access: public
void getStateUrlParams ()
restoreState (line 93)
  • access: public
void restoreState ()
saveState (line 98)
  • access: public
void saveState ()
setArray (line 81)
  • access: public
void setArray ( $values, [ $category = false])
  • $values
  • $category
setDefaultCategory (line 31)
  • access: public
void setDefaultCategory ( $category)
  • $category
setPersistVars (line 51)

Set the names of variables to be persisted

  • access: public
void setPersistVars (array $persistVars)
  • array $persistVars

Documentation generated on Thu, 08 May 2008 16:57:40 +0300 by phpDocumentor 1.4.1