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 IFRAME

Inline-frame 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\IFRAME
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/IFRAME.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. Frame name, stored as name 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
# setHeight( integer $value )

Sets the height of the inline-frame. Stored as height attribute.

Sets the height of the inline-frame. Stored as height attribute.

Parameters

$value
New height to set.

Returns


$this

Since

3.1
public
# setName( string $value )

Sets the name of the inline-frame. Stored as name attribute.

Sets the name of the inline-frame. Stored as name attribute.

Parameters

$value
New name to set.

Returns


$this

Since

3.1
public
# setSandbox( string|string[]|null $value )

Sets one or multiple sandbox restriction flags. Stored as sandbox attribute.

Sets one or multiple sandbox restriction flags. Stored as sandbox attribute.

Parameters

$value

Single sandbox flag string or array of multiple sandbox flags to apply. If an empty string, all restrictions are applied. If null, all sandbox flags are removed.

See sandbox constants for supported values.

Returns


$this

Since

3.1
public
# setSeamless( boolean $value )

Sets the seamless flag for the inline-frame. Represented by an existing seamless attribute.

Sets the seamless flag for the inline-frame. Represented by an existing seamless attribute.

Parameters

$value
New flag value.

Returns


$this

Since

3.1
public
# setSrc( string $value )

Sets the source URL of the inline-frame. Stored as src attribute.

Sets the source URL of the inline-frame. Stored as src attribute.

Parameters

$value
Source URL to set.

Returns


$this

Since

3.1
public
# setWidth( integer $value )

Sets the width of the inline-frame. Stored as width attribute.

Sets the width of the inline-frame. Stored as width attribute.

Parameters

$value
New width to set.

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

string AllowFormsSandbox

Allows form submission from inside the inline-frame.

Allows form submission from inside the inline-frame.

Since

3.1
# 'allow-forms'
string AllowSameOriginSandbox

Allows the inline-frame content to be treated as if it were from the same origin as the containing document.

Allows the inline-frame content to be treated as if it were from the same origin as the containing document.

Since

3.1
# 'allow-same-origin'
string AllowScriptsSandbox

Allows the inline-frame to execute scripts.

Allows the inline-frame to execute scripts.

Since

3.1
# 'allow-scripts'
string AllowTopNavigationSandbox

Allows the inline-frame to navigate (i.e. load) content from it's top (containing) document.

Allows the inline-frame to navigate (i.e. load) content from it's top (containing) document.

Since

3.1
# 'allow-top-navigation'
string FullSandbox

Enables all sandbox restrictions for the inline-frame.

Enables all sandbox restrictions for the inline-frame.

Since

3.1
# ''

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