PHP Class App\services\OptionForm

Show file 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 property

protected $alwaysCallback

$hint protected property

protected $hint

$id public property

public $id

$items protected property

protected $items

$messages protected property

protected $messages

$success protected property

protected $success

$title public property

public $title