PHP Class App\services\OptionForm

Exibir arquivo Open project: printempw/blessing-skin-server

Public Properties

Property Type Description
$id
$title

Protected Properties

Property Type Description
$alwaysCallback
$hint
$items
$messages
$success

Public Methods

Method Description
__construct ( $id, $title )
addItem ( $type, $id, $name )
addMessage ( $msg, $type = "info" )
always ( $callback )
checkbox ( $id, $name, $label, $checked = null )
group ( $id, $name, $callback )
handle ( $callback = null )
hint ( $hint_content )
render ( )
select ( $id, $name, $callback )
text ( $id, $name, $value = null )
textarea ( $id, $name, $callback )

Method Details

__construct() public method

public __construct ( $id, $title )

addItem() public method

public addItem ( $type, $id, $name )

addMessage() public method

public addMessage ( $msg, $type = "info" )

always() public method

public always ( $callback )

checkbox() public method

public checkbox ( $id, $name, $label, $checked = null )

group() public method

public group ( $id, $name, $callback )

handle() public method

public handle ( $callback = null )

hint() public method

public hint ( $hint_content )

render() public method

public render ( )

select() public method

public select ( $id, $name, $callback )

text() public method

public text ( $id, $name, $value = null )

textarea() public method

public textarea ( $id, $name, $callback )

Property Details

$alwaysCallback protected_oe property

protected $alwaysCallback

$hint protected_oe property

protected $hint

$id public_oe property

public $id

$items protected_oe property

protected $items

$messages protected_oe property

protected $messages

$success protected_oe property

protected $success

$title public_oe property

public $title