[ Index ]

PHP Cross Reference of phool

title

Body

[close]

/Phool/ -> Modifiable.php (summary)

(no description)

Copyright: Francois Laupretre <phool@tekwire.net>
License: http://www.apache.org/licenses/LICENSE-2.0 Apache License, V 2.0
File Size: 102 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  __construct()
  setModified()
  clearModified()
  modified()

Functions
Functions that are not part of a class:

__construct()   X-Ref
Class constructor

Ensures that the instance is in 'non-modified' state at creation time

return: void

setModified($toggle=true)   X-Ref
Set the 'modified' state depending on an input toggle

The input toggle allows to pass a boolean return code as argument

param: boolean $toggle If true, set the state, if false, do nothing
return: void

clearModified()   X-Ref
Set the 'not-modified' state
Should be called only when the instance is transferred to persistent storage

return: void

modified()   X-Ref
Returns the modified state

return: boolean the current state



Generated: Thu Jun 4 19:17:11 2015 Cross-referenced by PHPXref 0.7.1