YiiFoundation
  • Namespace
  • Class
  • Tree

Namespaces

  • foundation
    • enum
    • exception
    • helpers
    • widgets
      • base
  • PHP

Classes

  • Input
  • Widget

Class Input

Input is the base class for widgets that collect user inputs.

CWidget
Extended by foundation\widgets\base\Widget
Extended by foundation\widgets\base\Input

Direct known subclasses

foundation\widgets\SwitchButton

Namespace: foundation\widgets\base
Package: foundation\widgets
Author: Antonio Ramirez <amigo.cobos@gmail.com>
See: http://foundation.zurb.com/docs/components/dropdown.html
Located at widgets/base/Input.php

Methods summary

protected array
# resolveNameID( )

Returns

array
the name and the ID of the input.

Throws

foundation\exception\InvalidConfigException
protected boolean
# hasModel( )

Returns

boolean
whether this widget is associated with a data model.

Methods inherited from foundation\widgets\base\Widget

display(), init(), registerAssets(), registerEvents(), registerPlugin()

Magic methods summary

Properties summary

public CModel $model
#

the data model associated with this widget.

the data model associated with this widget.

public string $attribute
#

the attribute associated with this widget. The name can contain square brackets (e.g. 'name[1]') which is used to collect tabular data input.

the attribute associated with this widget. The name can contain square brackets (e.g. 'name[1]') which is used to collect tabular data input.

public string $name
#

the input name. This must be set if foundation\widgets\base\Input::$model is not set.

the input name. This must be set if foundation\widgets\base\Input::$model is not set.

public string $value
#

the input value

the input value

Properties inherited from foundation\widgets\base\Widget

$assets, $htmlOptions, $links

YiiFoundation API documentation generated by ApiGen 2.8.0