PHP Class EmbedController, vanilla

Inheritance: extends Controller
Mostrar archivo Open project: vanilla/vanilla Class Usage Examples

Public Properties

Property Type Description
$Uses Models to include.

Public Methods

Method Description
advanced ( string $Toggle = '', string $TransientKey = '' ) Options page.
comments ( $Toggle = '', $TransientKey = '' ) Display the embedded forum.
forum ( string $Toggle = '', string $TransientKey = '' ) Embed the entire forum.
index ( ) Default method.
initialize ( ) Run before
settings ( $Toggle = '', $TransientKey = '' )
theme ( ) Allow for a custom embed theme.
universal ( )
wordpress ( )

Private Methods

Method Description
toggle ( string $Toggle = '', string $TransientKey = '' ) : boolean Handle toggling this version of embedding on and off. Take care of disabling the other version of embed (the old plugin).

Method Details

advanced() public method

Options page.
public advanced ( string $Toggle = '', string $TransientKey = '' )
$Toggle string
$TransientKey string

comments() public method

Display the embedded forum.
Since: 2.0.18
public comments ( $Toggle = '', $TransientKey = '' )

forum() public method

Embed the entire forum.
public forum ( string $Toggle = '', string $TransientKey = '' )
$Toggle string
$TransientKey string

index() public method

Default method.
public index ( )

initialize() public method

Run before
public initialize ( )

settings() public method

public settings ( $Toggle = '', $TransientKey = '' )

theme() public method

Allow for a custom embed theme.
Since: 2.0.18
public theme ( )

universal() public method

public universal ( )

wordpress() public method

public wordpress ( )

Property Details

$Uses public_oe property

Models to include.
public $Uses