xplo.re Medusa Core Framework 3.2
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Event
  • Todo
  • Download

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
      • Driver
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • Driver
    • Fault
      • Formatter
        • Driver
      • Incident
        • Exception
      • Reporter
        • Driver
    • Field
    • Filter
      • Driver
    • Formatter
      • Driver
        • coreuimarkup
          • Token
    • Hash
    • Loader
    • Locale
    • Log
      • Driver
    • Module
      • Dependency
        • Requirement
          • Core
          • PHP
      • Linkage
        • Driver
    • PDF
    • Plugin
    • Query
      • Driver
    • Server
      • Driver
    • Session
      • Driver
    • Set
    • Storage
      • Driver
      • Field
        • Element
    • Stream
      • Driver
    • String
    • Translation
      • Driver
      • Language
        • Driver
    • Type
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Classes

  • A
  • BUTTON
  • COL
  • COLGROUP
  • DIV
  • FIELDSET
  • FORM
  • IFRAME
  • IMG
  • INPUT
  • LABEL
  • LEGEND
  • LI
  • LINK
  • META
  • OBJECT
  • OL
  • OPTGROUP
  • P
  • PARAM
  • SCRIPT
  • SELECT
  • SOURCE
  • TABLE
  • TBODY
  • TD
  • TEXTAREA
  • TFOOT
  • TH
  • THEAD
  • TR
  • UL
  • VIDEO

Class INPUT

Input node.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\View\Driver\coreui\Element implements ArrayAccess, Countable
Extended by Core\View\Driver\coreui\Element\INPUT

Direct known subclasses

Core\View\Driver\coreui\Element\BUTTON

Namespace: Core\View\Driver\coreui\Element
Package: CoreUI\Element
Since: 3.1
Requires: PHP 5.3
Version: 1.1
Located at View/Driver/coreui/Element/INPUT.inc.php

Methods summary

protected
# __construct( Core\View\Driver\coreui $proxy, string $type, string $subType, array $extraArguments = null )

Element constructor.

Element constructor.

Supported extra arguments:

  1. Value of input field, stored as value attribute.

Parameters

$proxy
CoreUI proxy instance that created this element instance.
$type
HTML tag name of element.
$subType
Specification of HTML tag, i.e. the type of an input.
$extraArguments
Array of additional arguments passed on from the factory method.

Since

3.1

Overrides

Core\View\Driver\coreui\Element::__construct
public
# setEnabled( boolean $isEnabled )

Sets the enabled-state of the input. A disabled input is represented by an existing disabled attribute.

Sets the enabled-state of the input. A disabled input is represented by an existing disabled attribute.

Parameters

$isEnabled
If set to false, the input will be disabled.

Returns


$this

Since

3.1
public
# setName( string $name )

Sets the name of the input. Stored as name attribute.

Sets the name of the input. Stored as name attribute.

Parameters

$name
New name to set.

Returns


$this

Since

3.1
public
# setState( boolean $value )

Sets the state flag of the input. Only applies to check boxes and radio buttons. An input is marked as checked by an existing checked attribute.

Sets the state flag of the input. Only applies to check boxes and radio buttons. An input is marked as checked by an existing checked attribute.

Parameters

$value
New state flag to set.

Returns


$this

Since

3.1
public
# setValue( mixed $value )

Sets the default input value. Stored as value attribute.

Sets the default input value. Stored as value attribute.

Parameters

$value
New input value to set.

Returns


$this

Since

3.1

Methods inherited from Core\View\Driver\coreui\Element

__clone(), __toString(), addClass(), addClasses(), append(), cdata(), clear(), count(), derive(), extend(), hasAttribute(), hasClass(), hide(), id(), insertAt(), issetStyle(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), on(), pop(), push(), removeClass(), setAttribute(), setAttributes(), setStyle(), setTitle(), shift(), text(), unShift(), verbatim()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

__autocreateFactory(), __call(), __processParameters(), attachMethod(), chain(), getValueForKey(), getValueForKeyPath(), getValueForUndefinedKey(), hash(), issetValueForKey(), setValueForKey(), setValueForKeyPath(), setValueForUndefinedKey(), uuid()

Constants summary

Constants inherited from Core\View\Driver\coreui\Element

AllowsInnerNL, AllowsOuterNL, AllowsShortTag

Constants inherited from Core\Object

AnyParameterType, AutochainParameterType, AutocreateParameterType, BooleanParameterType, CharParameterType, EnumParameterType, IntegerParameterType, RealParameterType, StringParameterType, UserParameterType

Properties summary

Properties inherited from Core\View\Driver\coreui\Element

$_id, $_v_attributes, $_v_children, $_v_classes, $_v_proxy, $_v_styles, $_v_type

Magic properties inherited from Core\View\Driver\coreui\Element

$attributes, $classes, $count, $id, $proxy, $styles, $type

Magic properties inherited from Core\Object

$hash, $uuid

xplo.re Medusa Core Framework 3.2 API documentation generated by ApiGen