c2ephp
|
Defines Author information about the COB. More...
Public Member Functions | |
COBAuthorBlock ($authorName, $authorEmail, $authorURL, $authorComments, $creationTime, $version, $revision) | |
Creates a new COBAuthorBlock. | |
GetAuthorName () | |
Gets the name of the author. | |
GetAuthorEmail () | |
Gets the author's email address. | |
GetAuthorURL () | |
Gets the author's web address. | |
GetAuthorComments () | |
Gets comments from the author. | |
GetCreationTime () | |
Gets the time this COB was created. | |
GetVersion () | |
Gets the COB's version number. | |
GetRevision () | |
Gets the COB's revision number. | |
GetType () | |
Gets the type of this COB block. | |
Compile () | |
Compiles this COB Block and returns COB file as a binary string. | |
Related Functions | |
(Note that these are not member functions.) | |
Cob Block Types | |
enum | COB_BLOCK_AGENT |
Agent Block - 'agnt'. More... | |
enum | COB_BLOCK_FILE |
File Block - 'file'. More... | |
enum | COB_BLOCK_AUTHOR |
Author Block - 'auth'. More... |
Defines Author information about the COB.
Definition at line 5 of file AuthorBlock.php.
COBAuthorBlock::COBAuthorBlock | ( | $ | authorName, |
$ | authorEmail, | ||
$ | authorURL, | ||
$ | authorComments, | ||
$ | creationTime, | ||
$ | version, | ||
$ | revision | ||
) |
Creates a new COBAuthorBlock.
$authorName | the name of the author of this COB |
$authorEmail | the author's email address |
$authorURL | The author's website address |
$authorComments | Any comments the author had about this COB |
$creationTime | the time this COB was compiled as a UNIX timestamp |
$version | The version number of this COB (integer) |
$revision | the COB's revision number (integer) |
Definition at line 30 of file AuthorBlock.php.
COBBlock::Compile | ( | ) | [abstract, inherited] |
COBAuthorBlock::GetAuthorComments | ( | ) |
COBAuthorBlock::GetAuthorEmail | ( | ) |
COBAuthorBlock::GetAuthorName | ( | ) |
COBAuthorBlock::GetAuthorURL | ( | ) |
COBAuthorBlock::GetCreationTime | ( | ) |
Gets the time this COB was created.
Definition at line 77 of file AuthorBlock.php.
COBAuthorBlock::GetRevision | ( | ) |
Gets the COB's revision number.
The revision number is less significant than the version number.
Definition at line 96 of file AuthorBlock.php.
COBBlock::GetType | ( | ) | [inherited] |
Gets the type of this COB block.
Definition at line 37 of file COBBlock.php.
COBAuthorBlock::GetVersion | ( | ) |
Gets the COB's version number.
Definition at line 86 of file AuthorBlock.php.
enum COB_BLOCK_AGENT [related, inherited] |
Agent Block - 'agnt'.
Definition at line 8 of file COBBlock.php.
enum COB_BLOCK_AUTHOR [related, inherited] |
Author Block - 'auth'.
Definition at line 12 of file COBBlock.php.
enum COB_BLOCK_FILE [related, inherited] |
File Block - 'file'.
Definition at line 10 of file COBBlock.php.