프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$eventListeners | |||
$metas |
메소드 | 설명 | |
---|---|---|
__construct ( string $name ) | Constructor. | |
getMetas ( ) | ||
initialize ( Yosymfony\Spress\Core\Plugin\EventSubscriber $subscriber ) | ||
setListenerToAfterConvertEvent ( callable $listener ) | Set the listener to "spress.after_convert" event. | |
setListenerToAfterRenderBlocksEvent ( callable $listener ) | Set the listener to "spress.after_render_blocks" event. | |
setListenerToAfterRenderPageEvent ( callable $listener ) | Set the listener to "spress.after_render_page" event. | |
setListenerToBeforeConvertEvent ( callable $listener ) | Set the listener to "spress.before_convert" event. | |
setListenerToBeforeRenderBlocksEvent ( callable $listener ) | Set the listener to "spress.before_render_blocks" event. | |
setListenerToBeforeRenderPageEvent ( callable $listener ) | Set the listener to "spress.before_render_page" event. | |
setListenerToFinishEvent ( callable $listener ) | Set the listener to "spress.finish" event. | |
setListenerToStartEvent ( callable $listener ) | Set the listener to "spress.start" event. | |
setMetas ( array $metas ) | Set the metadata of the plugin. |
public __construct ( string $name ) | ||
$name | string | The name of the plugin |
public initialize ( Yosymfony\Spress\Core\Plugin\EventSubscriber $subscriber ) | ||
$subscriber | Yosymfony\Spress\Core\Plugin\EventSubscriber |
public setListenerToAfterConvertEvent ( callable $listener ) | ||
$listener | callable |
public setListenerToAfterRenderBlocksEvent ( callable $listener ) | ||
$listener | callable |
public setListenerToAfterRenderPageEvent ( callable $listener ) | ||
$listener | callable |
public setListenerToBeforeConvertEvent ( callable $listener ) | ||
$listener | callable |
public setListenerToBeforeRenderBlocksEvent ( callable $listener ) | ||
$listener | callable |
public setListenerToBeforeRenderPageEvent ( callable $listener ) | ||
$listener | callable |
public setListenerToFinishEvent ( callable $listener ) | ||
$listener | callable |
public setListenerToStartEvent ( callable $listener ) | ||
$listener | callable |