Method |
Description |
|
__construct ( StoryTeller $st ) |
our constructor |
|
__get ( string $key ) : mixed |
magic method to retrieve data from the checkpoint |
|
__isset ( string $key ) : boolean |
magic method to tell if the data is stored in the checkpoint or not |
|
__set ( string $key, mixed $value ) : void |
magic method to store data in the checkpoint |
|
getData ( ) : stdClass |
get all the data held inside the checkpoint |
|
getIterator ( ) : Traversable |
support foreach() loops over our data |
|
getList ( string $propName ) : array |
retrieve the named property as an associative array, even if it is
actually an object |
|
getProperties_asList ( $prefix = null ) : array |
convert our public properties to an array |
|
getReadOnly ( ) : boolean |
is the checkpoint currently readonly? |
|
getString ( string $propName, string $default = '' ) : string |
return the named property as a string, or return the default if
the property isn't a string |
|
has ( string $propName ) : boolean |
Do we have a named property set to non-null? |
|
hasList ( string $propName ) : boolean |
Do we have a named property, and is it a non-empty array? |
|
is ( string $propName ) : boolean |
Is the named property set to true? |
|
isNot ( string $propName ) : boolean |
is the named property set to false? |
|
setReadOnly ( ) |
put the checkpoint into readonly mode |
|
setReadWrite ( ) |
put the checkpoint into read-write mode |
|