PHP Class Microweber\Providers\LayoutsManager

Mostra file Open project: microweber/microweber

Public Properties

Property Type Description
$app

Public Methods

Method Description
__construct ( $app = null )
add_external ( $arr )
delete_all ( )
get ( $params = false )
get_all ( boolean | array | string $options = false ) : array | mixed Lists the layout files from a given directory.
get_link ( $options = false )
save ( $data_to_save )
scan ( $options = false )
template_check_for_custom_css ( $template_name, $check_for_backup = false )
template_remove_custom_css ( $params )
template_save_css ( $params )

Method Details

__construct() public method

public __construct ( $app = null )

add_external() public method

public add_external ( $arr )

delete_all() public method

public delete_all ( )

get() public method

public get ( $params = false )

get_all() public method

You can use this function to get layouts from various folders in your web server. It returns array of layouts with desctption, icon, etc This function caches the result in the 'templates' cache group
public get_all ( boolean | array | string $options = false ) : array | mixed
$options boolean | array | string
return array | mixed

save() public method

public save ( $data_to_save )

scan() public method

public scan ( $options = false )

template_check_for_custom_css() public method

public template_check_for_custom_css ( $template_name, $check_for_backup = false )

template_remove_custom_css() public method

public template_remove_custom_css ( $params )

template_save_css() public method

public template_save_css ( $params )

Property Details

$app public_oe property

public $app