PHP Class App\Presenters\DashboardPresenter

Inheritance: extends Nette\Application\UI\Presenter
Mostrar archivo Open project: nette/examples

Public Methods

Method Description
__construct ( AlbumRepository $albums )
albumFormSucceeded ( $button )
deleteFormSucceeded ( )
formCancelled ( )
renderAdd ( ) ******************* views add & edit ********************
renderDefault ( ) ******************* view default ********************
renderDelete ( $id ) ******************* view delete ********************
renderEdit ( $id )

Protected Methods

Method Description
createComponentAlbumForm ( ) : Nette\Application\UI\Form Edit form factory.
createComponentDeleteForm ( ) : Nette\Application\UI\Form Delete form factory.
startup ( )

Method Details

__construct() public method

public __construct ( AlbumRepository $albums )
$albums App\Model\AlbumRepository

albumFormSucceeded() public method

public albumFormSucceeded ( $button )

createComponentAlbumForm() protected method

Edit form factory.
protected createComponentAlbumForm ( ) : Nette\Application\UI\Form
return Nette\Application\UI\Form

createComponentDeleteForm() protected method

Delete form factory.
protected createComponentDeleteForm ( ) : Nette\Application\UI\Form
return Nette\Application\UI\Form

deleteFormSucceeded() public method

public deleteFormSucceeded ( )

formCancelled() public method

public formCancelled ( )

renderAdd() public method

******************* views add & edit ********************
public renderAdd ( )

renderDefault() public method

******************* view default ********************
public renderDefault ( )

renderDelete() public method

******************* view delete ********************
public renderDelete ( $id )

renderEdit() public method

public renderEdit ( $id )

startup() protected method

protected startup ( )