PHP Class View_Box, atk4

Reference: http://agiletoolkit.org/doc/ref ==ATK4=================================================== This file is part of Agile Toolkit 4 http://agiletoolkit.org/ (c) 2008-2013 Agile Toolkit Limited Distributed under Affero General Public License v3 and commercial license. See LICENSE or LICENSE_COM for more information =====================================================ATK4=
Inheritance: extends View
Afficher le fichier Open project: atk4/atk4 Class Usage Examples

Méthodes publiques

Méthode Description
addButton ( array | string $label = 'Continue' ) : Button Adds Button on the right side of the box for follow-up action.
addClose ( ) View box can be closed by clicking on the cross.
addIcon ( string $i ) : Icon By default box uses information Icon.
defaultTemplate ( ) : array | string Default template.
link ( string $page ) : Button Adds link.
set ( string $text ) Set text.

Method Details

addButton() public méthode

Adds Button on the right side of the box for follow-up action.
public addButton ( array | string $label = 'Continue' ) : Button
$label array | string
Résultat Button

addClose() public méthode

View box can be closed by clicking on the cross.
public addClose ( )

addIcon() public méthode

You can use addIcon() to override or $this->template->del('Icon') to remove.
public addIcon ( string $i ) : Icon
$i string
Résultat Icon

defaultTemplate() public méthode

Default template.
public defaultTemplate ( ) : array | string
Résultat array | string

set() public méthode

Set text.
public set ( string $text )
$text string