c2ephp
|
Simple class to allow for extra block types. More...
Public Member Functions | |
COBUnknownBlock ($type, $contents) | |
Creates a new COBUnknown block with the given type and contents. | |
GetContents () | |
Gets the block's contents. | |
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... |
Simple class to allow for extra block types.
Definition at line 5 of file UnknownBlock.php.
COBUnknownBlock::COBUnknownBlock | ( | $ | type, |
$ | contents | ||
) |
Creates a new COBUnknown block with the given type and contents.
$type | The four-character type of the block |
$contents | The contents of the block |
Definition at line 18 of file UnknownBlock.php.
COBBlock::Compile | ( | ) | [abstract, inherited] |
COBUnknownBlock::GetContents | ( | ) |
Gets the block's contents.
Definition at line 23 of file UnknownBlock.php.
COBBlock::GetType | ( | ) | [inherited] |
Gets the type of this COB block.
Definition at line 37 of file COBBlock.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.