Class PersistentObject
Indirect known subclasses
Album, AlbumBase, WEBdocs, ZenpageCategory, ZenpageItems, ZenpageNews, ZenpagePage, ZenpageRoot, AnyFile, dynamicAlbum, favorites, Image, MediaObject, TextObject, Transientimage, Video
public
|
#
__construct( $tablename, $unique_set, $cache_by = NULL, $use_cache = true, $is_transient = false, $allowCreate = true )
|
public
boolean
|
#
instantiate( $tablename, $unique_set, $cache_by = NULL, $use_cache = true, $is_transient = false, $allowCreate = true )
} |
public
|
|
protected
|
#
setDefaults( )
Sets default values for new objects using the set() method. Should do nothing in the base class; subclasses should override. |
public
|
|
public
|
#
copy( $new_unique_set )
Copy this record to another unique set. Checks if the record exists there first, if so returns false. If successful returns true. No changes are made to this object and no other objects are created, just the database entry. A call to copy is instant, it does not require a save() following it. |
public
boolean
|
|
public
string
|
|
public
array
|
|
public
|
|
public
|
|
public
string
|
public
boolean
|
$loaded
|
#
false
|
public
boolean
|
$exists
|
#
false
|
public
|
$table
|
|
public
|
$transient
|
|
protected
integer
|
$id
|
#
0
|