PHP Class Stash_ext

Author: Mark Croxton ([email protected])
Mostrar archivo Open project: croxton/stash

Public Properties

Property Type Description
$EE
$description
$docs_url
$name
$settings
$settings_exist
$version

Public Methods

Method Description
__construct ( $settings = [] ) : void Constructor
activate_extension ( ) : void Activate Extension
disable_extension ( ) : void Disable Extension
stash_fetch_template ( $row ) : array Method for stash_fetch_template hook
stash_post_parse ( $template, $sub, $site_id ) : string Method for stash_post_parse hook
template_fetch_template ( $row ) : array Method for template_fetch_template hook
template_post_parse ( $template, $sub, $site_id, $from_stash = FALSE, $final = FALSE ) : string Method for template_post_parse hook
update_extension ( $current = '' ) : mixed Update Extension

Private Methods

Method Description
_add_hook ( $name, $priority = 10 ) : void Add extension hook

Method Details

__construct() public method

Constructor
public __construct ( $settings = [] ) : void
return void

activate_extension() public method

Activate Extension
public activate_extension ( ) : void
return void

disable_extension() public method

Disable Extension
public disable_extension ( ) : void
return void

stash_fetch_template() public method

Inject early stash embeds into the template
public stash_fetch_template ( $row ) : array
return array

stash_post_parse() public method

Method for stash_post_parse hook
public stash_post_parse ( $template, $sub, $site_id ) : string
return string Template string

template_fetch_template() public method

Inject early stash embeds into the template
public template_fetch_template ( $row ) : array
return array

template_post_parse() public method

Method for template_post_parse hook
public template_post_parse ( $template, $sub, $site_id, $from_stash = FALSE, $final = FALSE ) : string
return string Template string

update_extension() public method

Update Extension
public update_extension ( $current = '' ) : mixed
return mixed void on update / FALSE if none

Property Details

$EE public_oe property

public $EE

$description public_oe property

public $description

$docs_url public_oe property

public $docs_url

$name public_oe property

public $name

$settings public_oe property

public $settings

$settings_exist public_oe property

public $settings_exist

$version public_oe property

public $version