SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class Model

Base model class

Variables

NameVisibilityDescription
$id 

Functions

NameVisibilityDescription
getConnectionpublic (static) 
getUidprotectedGenerate an appropriate UUID.
rulespublic 
savepublic 

public getConnection

unknown Model::getConnection ( );

This function does not have a description

protected getUid

string $Model->getUid ( );

Generate an appropriate UUID.

Beware - new records are created with a UUIDv4 while the save() method
generates a UUIDv5. Theoretically this shouldn't be externally apparent
due to the wrapping transaction.

public rules

unknown $Model->rules ( );

This function does not have a description

public save

unknown $Model->save ( [ mixed $validate ] );

This function does not have a description