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
Exibir arquivo Open project: atk4/atk4 Class Usage Examples

Public Methods

Method 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 method

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

addClose() public method

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

addIcon() public method

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

defaultTemplate() public method

Default template.
public defaultTemplate ( ) : array | string
return array | string

set() public method

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