PHP Класс Redaxscript\Parser

С версии: 2.0.0
Автор: Henry Ruhs
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_language object instance of the language class
$_optionArray array options of the parser
$_output string output of the parser
$_registry object instance of the registry class
$_tagArray array array of pseudo tags

Открытые методы

Метод Описание
__construct ( Registry $registry, Language $language ) constructor of the class
getOutput ( ) : string get the output
init ( string $content = null, array $optionArray = null ) init the class

Защищенные методы

Метод Описание
_parseBlockcode ( string $content = null ) : string parse the blockcode tag
_parseLanguage ( string $content = null ) : string parse the language tag
_parseModule ( string $content = null ) : string parse the module tag
_parseReadmore ( string $content = null ) : string parse the readmore tag
_parseRegistry ( string $content = null ) : string parse the registry tag
_parseTemplate ( string $content = null ) : string parse the template tag

Описание методов

__construct() публичный метод

constructor of the class
С версии: 2.4.0
public __construct ( Registry $registry, Language $language )
$registry Registry instance of the registry class
$language Language instance of the language class

_parseBlockcode() защищенный метод

parse the blockcode tag
С версии: 2.6.0
protected _parseBlockcode ( string $content = null ) : string
$content string content to be parsed
Результат string

_parseLanguage() защищенный метод

parse the language tag
С версии: 2.5.0
protected _parseLanguage ( string $content = null ) : string
$content string content to be parsed
Результат string

_parseModule() защищенный метод

parse the module tag
С версии: 3.0.0
protected _parseModule ( string $content = null ) : string
$content string content to be parsed
Результат string

_parseReadmore() защищенный метод

parse the readmore tag
С версии: 2.6.0
protected _parseReadmore ( string $content = null ) : string
$content string content to be parsed
Результат string

_parseRegistry() защищенный метод

parse the registry tag
С версии: 2.5.0
protected _parseRegistry ( string $content = null ) : string
$content string content to be parsed
Результат string

_parseTemplate() защищенный метод

parse the template tag
С версии: 3.0.0
protected _parseTemplate ( string $content = null ) : string
$content string content to be parsed
Результат string

getOutput() публичный метод

get the output
С версии: 2.0.0
public getOutput ( ) : string
Результат string

init() публичный метод

init the class
С версии: 2.4.0
public init ( string $content = null, array $optionArray = null )
$content string content to be parsed
$optionArray array options of the parser

Описание свойств

$_language защищенное свойство

instance of the language class
protected object $_language
Результат object

$_optionArray защищенное свойство

options of the parser
protected array $_optionArray
Результат array

$_output защищенное свойство

output of the parser
protected string $_output
Результат string

$_registry защищенное свойство

instance of the registry class
protected object $_registry
Результат object

$_tagArray защищенное свойство

array of pseudo tags
protected array $_tagArray
Результат array