PHP Class GBContent, gitblog

Show file Open project: rsms/gitblog Class Usage Examples

Public Properties

Property Type Description
$author
$id # relative to root tree
$mimeType
$modified
$name
$published # GBDateTime

Public Methods

Method Description
__construct ( $name = null, $id = null ) # GBDateTime
__sleep ( )
cachename ( )
findCommits ( )
reload ( $data, $commits = null )
toBlob ( )
writeCache ( )

Protected Methods

Method Description
applyInfoFromCommits ( $commits )

Method Details

__construct() public method

# GBDateTime
public __construct ( $name = null, $id = null )

__sleep() public method

public __sleep ( )

applyInfoFromCommits() protected method

protected applyInfoFromCommits ( $commits )

cachename() public method

public cachename ( )

findCommits() public method

public findCommits ( )

reload() public method

public reload ( $data, $commits = null )

toBlob() public method

public toBlob ( )

writeCache() public method

public writeCache ( )

Property Details

$author public property

public $author

$id public property

# relative to root tree
public $id

$mimeType public property

public $mimeType

$modified public property

public $modified

$name public property

public $name

$published public property

# GBDateTime
public $published