Свойство | Тип | Описание | |
---|---|---|---|
$contexts | |||
$file | |||
$filename | |||
$position | |||
$strings |
Метод | Описание | |
---|---|---|
apply_parameters ( array $returnval, array $params ) : string | Take the found paramters on a variable tag and apply them to the output | |
hi_command ( array $matches ) : string | Replace a single function template tag with its PHP counterpart | |
hi_if ( array $matches ) : string | Replace an if tag section with its PHP counterpart | |
hi_loop ( array $matches ) : string | Replace a loop tag section with its PHP counterpart, and add the context to the stack | |
hi_quote ( array $matches ) | Prepare strings for translation | |
hi_to_var ( $hisyntax ) | ||
hi_var ( array $matches ) : string | Replace a single template tag with its PHP counterpart | |
process ( string $template ) : string | Process the template file for template tags | |
stream_eof ( ) : boolean | Report whether the stream is at the end of the file | |
stream_open ( string $path, string $mode, integer $options, string &$opened_path ) : boolean | Open a HiEngineParser stream | |
stream_read ( integer $count ) : string | Read data from a HiEngineParser stream | |
stream_seek ( integer $offset, integer $whence ) : boolean | Seek to a specific position within the stream | |
stream_stat ( ) : array | Return fstat() info as required when calling stats on the stream | |
stream_tell ( ) : integer | Report the position in the stream | |
stream_write ( string $data ) : boolean | Srite data to a HiEngineParser stream | |
string_stack ( array $matches ) | Creates a table of static strings in hiengine expressions to be replaced in later | |
var_replace ( array $matches ) | Replace variables in the hiengine syntax with PHP varaibles |
public hi_command ( array $matches ) : string | ||
$matches | array | The match array found in HiEngineParser::process() |
Результат | string | The PHP replacement for the function template tag |
public stream_eof ( ) : boolean | ||
Результат | boolean | true if the file pointer is at or beyond the end of the file |
public stream_open ( string $path, string $mode, integer $options, string &$opened_path ) : boolean | ||
$path | string | Path of the opened resource, including the protocol specifier |
$mode | string | Mode used to open the file |
$options | integer | Bitmask options for opening this stream |
$opened_path | string | The actual path opened if using relative path, by reference |
Результат | boolean | true on success |
public stream_read ( integer $count ) : string | ||
$count | integer | Number of characters to read from the current position |
Результат | string | Characters read from the stream |
public stream_stat ( ) : array | ||
Результат | array | An array of stat info |
public stream_tell ( ) : integer | ||
Результат | integer | the position in the stream |
public stream_write ( string $data ) : boolean | ||
$data | string | Data to write |
Результат | boolean | false, since this stream type is read-only |
public string_stack ( array $matches ) | ||
$matches | array | The match found in hi_if () |
public var_replace ( array $matches ) | ||
$matches | array | The match array found in hi_if () |