Class ocp_tempcode_static

Description

Located in /sources/comcode_conversion.php (line 1393)


	
			
Variable Summary
mixed $bits
mixed $codename
Method Summary
void attach (mixed $attach, [?array $escape = NULL], [boolean $avoid_children_merge = false])
string extract_identifier_at (integer $at)
boolean is_empty ()
void ocp_tempcode ()
boolean parameterless (integer $at)
void parse_from (string &$code, integer &$pos, integer &$len)
void set_directive_embedment (integer $at, tempcode $set)
Variables
mixed $bits (line 1397)
mixed $codename = ':container' (line 1399)
Methods
attach (line 1461)

Attach the specified tempcode to the right of the current tempcode object.

void attach (mixed $attach, [?array $escape = NULL], [boolean $avoid_children_merge = false])
  • mixed $attach: The tempcode/string to attach
  • ?array $escape: Extra escaping (NULL: none)
  • boolean $avoid_children_merge: If we've already merged the children from what we're attaching into the child tree (at bind stage)
extract_identifier_at (line 1449)

Find the identifier component of a variable within this Tempcode.

  • return: Variable component
string extract_identifier_at (integer $at)
  • integer $at: Offset to the variable
is_empty (line 1522)

Find whether the current tempcode object is blank or not.

  • return: Whether the tempcode object is empty
boolean is_empty ()
ocp_tempcode (line 1404)

Constructor of tempcode

void ocp_tempcode ()
parameterless (line 1415)

Find whether a variable within this Tempcode is parameterless.

  • return: Whether it is parameterless
boolean parameterless (integer $at)
  • integer $at: Offset to the variable
parse_from (line 1427)

Parse a single symbol from an input stream and append it.

void parse_from (string &$code, integer &$pos, integer &$len)
  • string &$code: Code string (input stream)
  • integer &$pos: Read position
  • integer &$len: Length of input string
set_directive_embedment (line 1438)

Set the embedment of a directive within this Tempcode.

void set_directive_embedment (integer $at, tempcode $set)
  • integer $at: Offset to directive
  • tempcode $set: New embedment

Documentation generated on Sun, 02 Jan 2011 23:11:45 +0000 by phpDocumentor 1.4.3