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

  • Token

Class Token

Implements token captures and transformation procedures.

As input text is encoded using the proxy view encoder prior to parsing and to allows nested tokens without double-encoding, transformations must handle provided text fragments as already encoded text and hence must not encode fragments themselves. Additionally, capture patterns should be based on encoded versions of text fragments.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Formatter\Driver\coreuimarkup\Token

Direct known subclasses

Core\Formatter\Driver\coreuimarkup\Token\B, Core\Formatter\Driver\coreuimarkup\Token\H2, Core\Formatter\Driver\coreuimarkup\Token\TT, Core\Formatter\Driver\coreuimarkup\Token\UL, Core\Formatter\Driver\coreuimarkup\Token\URL, Core\Formatter\Driver\coreuimarkup\Token\Variable, Core\Formatter\Driver\coreuimarkup\Token\H3, Core\Formatter\Driver\coreuimarkup\Token\H4, Core\Formatter\Driver\coreuimarkup\Token\H5, Core\Formatter\Driver\coreuimarkup\Token\H6, Core\Formatter\Driver\coreuimarkup\Token\I, Core\Formatter\Driver\coreuimarkup\Token\LineBreak, Core\Formatter\Driver\coreuimarkup\Token\P, Core\Formatter\Driver\coreuimarkup\Token\Template

Abstract
Namespace: Core\Formatter\Driver\coreuimarkup
Package: CoreUI\Markup
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at Formatter/Driver/coreuimarkup/Token.inc.php

Methods summary

public
# __construct( Core\Formatter $formatter )

Initialises a new token.

Initialises a new token.

Parameters

$formatter
Reference to the formatter instance that initialises the token.

Since

3.1
abstract public string[]
# captures( )

Returns a hash of regular expressions and handlers processed by this token instance.

Returns a hash of regular expressions and handlers processed by this token instance.

Returns

string[]

Hash with regular expressions as keys and their handlers as values. A handler is a hash with unique capture names as keys and their corresponding callbacks to handle the capture as values. Regular expressions must use named captures that match the handler hash keys.

Since

3.1

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

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

Constants summary

Constants inherited from Core\Object

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

Properties summary

protected Core\Formatter\Driver\coreuimarkup $_v_formatter

Formatter instance the token has been instantiated for.

Formatter instance the token has been instantiated for.

Since

3.1
#

Magic properties

public read-only Core\Formatter $formatter

Formatter instance the token has been instantiated for.

Magic properties inherited from Core\Object

$hash, $uuid

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