PHP Class Microweber\Utils\Parser

Show file Open project: microweber/microweber

Public Properties

Property Type Description
$app
$filter
$page
$params

Public Methods

Method Description
__construct ( $app = null )
clean_word ( $html_to_save )
filter ( $callback )
get_by_id ( $html_element_id = false, $layout )
get_html ( $l, $selector = 'body' )
isolate_content_field ( $l, $strict = false )
isolate_content_field_old ( $l )
isolate_head ( $l )
load ( $module_name, $attrs = [] )
make_tags ( $layout )
modify_html ( $layout, $selector, $content = '', $action = 'append' )
modify_html_preg ( $layout, $preg_match_all, $content = '', $action = 'append' )
module_css_class ( $module_name )
module_name_decode ( $module_name )
module_name_encode ( $module_name )
process ( $layout, $options = false, $coming_from_parent = false, $coming_from_parent_id = false )
query ( $l, $selector = 'body', $return_function = 'htmlOuter' )
setInnerHTML ( $DOM, $element, $content )

Private Methods

Method Description
_replace_editable_fields ( $layout, $no_cache = false )
_str_replace_first ( $search, $replace, $subject )

Method Details

__construct() public method

public __construct ( $app = null )

clean_word() public method

public clean_word ( $html_to_save )

filter() public method

public filter ( $callback )

get_by_id() public method

public get_by_id ( $html_element_id = false, $layout )

get_html() public method

public get_html ( $l, $selector = 'body' )

isolate_content_field() public method

public isolate_content_field ( $l, $strict = false )

isolate_content_field_old() public method

isolate_head() public method

public isolate_head ( $l )

load() public method

public load ( $module_name, $attrs = [] )

make_tags() public method

public make_tags ( $layout )

modify_html() public method

public modify_html ( $layout, $selector, $content = '', $action = 'append' )

modify_html_preg() public method

public modify_html_preg ( $layout, $preg_match_all, $content = '', $action = 'append' )

module_css_class() public method

public module_css_class ( $module_name )

module_name_decode() public method

public module_name_decode ( $module_name )

module_name_encode() public method

public module_name_encode ( $module_name )

process() public method

public process ( $layout, $options = false, $coming_from_parent = false, $coming_from_parent_id = false )

query() public method

public query ( $l, $selector = 'body', $return_function = 'htmlOuter' )

setInnerHTML() public method

public setInnerHTML ( $DOM, $element, $content )

Property Details

$app public property

public $app

$filter public property

public $filter

$page public property

public $page

$params public property

public $params