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

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • 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
    • 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 IMG

Image 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\IMG
Namespace: Core\View\Driver\coreui\Element
Package: CoreUI\Element
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at View/Driver/coreui/Element/IMG.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. Source URL, stored as src attribute.

  2. Alternative text, stored as alt 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 string
# __toString( )

Renders the HTML code for the element.

Renders the HTML code for the element.

Returns

string
Generated HTML code for the element.

Since

3.1

Overrides

Core\View\Driver\coreui\Element::__toString
public
# setAlt( string $value )

Sets the alternative text. Stored as alt attribute.

Sets the alternative text. Stored as alt attribute.

Parameters

$value
New alternative text value.

Returns


$this

Since

3.1
public
# setSrc( string $value )

Sets the source of the image. Stored as src attribute.

Sets the source of the image. Stored as src attribute.

Parameters

$value
New image source.

Returns


$this

Since

3.1

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

__clone(), 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.1 API documentation generated by ApiGen