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
  • COL
  • COLGROUP
  • DIV
  • FIELDSET
  • FORM
  • IMG
  • INPUT
  • LABEL
  • LEGEND
  • LI
  • OL
  • OPTGROUP
  • P
  • SCRIPT
  • SELECT
  • TABLE
  • TBODY
  • TD
  • TEXTAREA
  • TFOOT
  • TH
  • THEAD
  • TR
  • UL

Class FORM

Form tag.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Set\Mutable implements Core\Mutator
Extended by Core\View\Driver\htmlbuilder\Node
Extended by Core\View\Driver\htmlbuilder\Tags\FORM
Namespace: Core\View\Driver\htmlbuilder\Tags
Package: Core\View\HTMLBuilder\Tags
Since: 3.0
Requires: PHP 5.3
Version: 1.0
Located at View/Driver/htmlbuilder/Tags/FORM.inc.php

Methods summary

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

Node constructor.

Node constructor.

Supported extra arguments:

  1. Target URL module name (first parameter to proxy view url() method). If present, used to derive the URL for the action attribute.

  2. Target URL action name (second parameter to proxy view url() method). If present, used to derive the URL for the action attribute.

  3. Target URL parameters array (third parameter to proxy view url() method). If present, used to derive the URL for the action attribute.

  4. Associative key-value array of hidden input fields (and their values) to automatically append to the list of child nodes of the new form. If the value provided is an array, the hidden inputs will accordingly reflect the array structure, yielding multiple hidden input fields. Per default, the parsed POST data will then contain the same array.

Parameters

$proxy
HTML Builder proxy instance that created this node.
$type
HTML tag name of element.
$subType
Specification of HTML tag, i.e. the type of an input.
$classNames
Array of class names to assign to the node.
$id
Unique ID of node.
$extraArguments
Array of additional arguments passed on from the factory method.

Remark

If not defined otherwise, the following attributes are automatically added to the FORM element:

  • accept-charset is set to the currently active character set.

  • enctype is set to "multipart/form-data" for best compatibility with all commonly used form data types (including file uploads).

  • method is set to "post".


Since

3.0

Overrides

Core\View\Driver\htmlbuilder\Node::__construct

Methods inherited from Core\View\Driver\htmlbuilder\Node

__clone(), __toString(), _parseClasses(), addClass(), append(), cdata(), derive(), extend(), id(), issetStyle(), js(), jsCDATA(), safeID(), setAllowsShortTag(), setAttribute(), setAttributes(), setId(), setStyle(), setTitle(), text(), verbatim()

Methods inherited from Core\Set\Mutable

__set(), __unset()

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\htmlbuilder\Node

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\htmlbuilder\Node

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

Magic properties inherited from Core\View\Driver\htmlbuilder\Node

$attributeClass, $attributes, $classes, $id, $proxy, $safeID, $styles, $type

Magic properties inherited from Core\Object

$hash, $uuid

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