PHP Class GBContent, gitblog

显示文件 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_oe property

public $author

$id public_oe property

# relative to root tree
public $id

$mimeType public_oe property

public $mimeType

$modified public_oe property

public $modified

$name public_oe property

public $name

$published public_oe property

# GBDateTime
public $published