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

  • coreui
  • html
  • htmlbuilder
  • plain
  • yui

Class plain

Plain text buffer renderer.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Set\Mutable implements Core\Mutator
Extended by Core\Field implements Core\Inquiry
Extended by Core\Field\Mutable implements Core\Variator
Extended by Core\View
Extended by Core\View\Driver\plain
Namespace: Core\View\Driver
Package: Core\View
Since: 3.0
Requires: PHP 5.3
Version: 1.0
Located at View/Driver/plain.inc.php

Methods summary

public
# __construct( Core\URI $uri )

Initialises a new View instance. Sets the pass-through encoder as the default encoder if no encoder is specified.

Initialises a new View instance. Sets the pass-through encoder as the default encoder if no encoder is specified.

Parameters

$uri
Driver configuration URI.

Since

3.0

Overrides

Core\View::__construct
public
# append( string $text )

Appends text verbatim to the internal buffer.

Appends text verbatim to the internal buffer.

Parameters

$text
Text to append to buffer.

Returns


$this

Since

3.0
public
# clear( )

Resets the internal text buffer to null.

Resets the internal text buffer to null.

Since

3.1

Overrides

Core\View::clear
public boolean
# render( )

Sets the context type to plain text and the currently active character set and echoes the internal text buffer to the standard output.

Sets the context type to plain text and the currently active character set and echoes the internal text buffer to the standard output.

Returns

boolean

See

Charset::active()

Since

3.0

Overrides

Core\View::render
public
# setDataForUndefinedKey( string $key, mixed $value )

Adds a KDC value to the view. Additionally, if the key is the empty string, the value is added to the internal text buffer. This allows the use of the array-append operator to append values to the internal text buffer verbatim.

Adds a KDC value to the view. Additionally, if the key is the empty string, the value is added to the internal text buffer. This allows the use of the array-append operator to append values to the internal text buffer verbatim.

Parameters

$key
Data field key.
$value
Value to store.

Throws

Exception\UndefinedKey
No data field identified by the given key exists.

Since

3.0

Overrides

Core\View::setDataForUndefinedKey

Methods inherited from Core\View

autocreate(), chain(), derive(), encode(), encoder(), uri(), url()

Methods inherited from Core\Field\Mutable

offsetSet(), offsetUnset(), setDataForKey(), setDataForKeys(), setKeyMasquerade(), updateMasqueradedKeys()

Methods inherited from Core\Field

getDataForKey(), getDataForKeys(), getDataForUndefinedKey(), issetDataForKey(), offsetExists(), offsetGet()

Methods inherited from Core\Set\Mutable

__set(), __unset()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

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

Constants summary

Constants inherited from Core\View

EncoderParameter

Constants inherited from Core\Object

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

Properties summary

protected string $_v_buffer

Internal buffer.

Internal buffer.

Since

3.0
#

Properties inherited from Core\View

$_encoder, $_v_parameters, $_v_proxy, $_v_renderers, $_v_translator, $_v_uri

Properties inherited from Core\Field\Mutable

$_v_masqueradedKeys

Properties inherited from Core\Field

$_v_data

Magic properties

public read-only string $buffer

Internal rendering buffer. If no contents have been added to the buffer or the buffer has been cleared, it's value is null.

Magic properties inherited from Core\View

$encoder, $parameters, $proxy, $renderers, $translator, $uri

Magic properties inherited from Core\Field\Mutable

$masqueradedKeys

Magic properties inherited from Core\Field

$data

Magic properties inherited from Core\Object

$hash, $uuid

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