PHP Class Microweber\Providers\LayoutsManager

Afficher le fichier Open project: microweber/microweber

Méthodes publiques

Свойство Type Description
$app

Méthodes publiques

Méthode 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 méthode

public __construct ( $app = null )

add_external() public méthode

public add_external ( $arr )

delete_all() public méthode

public delete_all ( )

get() public méthode

public get ( $params = false )

get_all() public méthode

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
Résultat array | mixed

save() public méthode

public save ( $data_to_save )

scan() public méthode

public scan ( $options = false )

template_check_for_custom_css() public méthode

public template_check_for_custom_css ( $template_name, $check_for_backup = false )

template_remove_custom_css() public méthode

public template_remove_custom_css ( $params )

template_save_css() public méthode

public template_save_css ( $params )

Property Details

$app public_oe property

public $app