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

  • Primary

Class Primary

The primary controller is a global hub controller that connects the dispatcher with dynamically created views and the query interface.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Controller
Extended by Core\Controller\Primary
Namespace: Core\Controller
Package: Core\Controller
Since: 3.0
Requires: PHP 5.3
Version: 1.0
Located at Controller/Primary.inc.php

Methods summary

public
# __construct( Core\URI $uri )

Parameters

$uri
Driver configuration URI.

Since

3.0
public static static
# autocreate( Core\URI $uri )

Driver factory.

Driver factory.

Parameters

$uri
Driver configuration.

Returns

static

Since

3.0
public
# executeViews( Core\Controller $controller )

Executes all views created by a controller in the order of their creation. Additionally executes all globally registered views if no error occurred during the previous execution round.

Executes all views created by a controller in the order of their creation. Additionally executes all globally registered views if no error occurred during the previous execution round.

Parameters

$controller
Controller to execute views of.

Since

3.1
public
# main( )

Executes configured dispatcher and renders views. In case of an error, an automated error dispatch is performed.

Executes configured dispatcher and renders views. In case of an error, an automated error dispatch is performed.

Throws

Core\Exception\Loader
Both dispatch execution and error dispatch failed.

Since

3.0

Methods inherited from Core\Controller

appendView(), appendViews(), dispatch(), relocate()

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

string DispatcherParameter

URI string for dispatcher to use. Most applications use the default dispatcher with the URI string self:.

URI string for dispatcher to use. Most applications use the default dispatcher with the URI string self:.

See

Core\Dispatcher

Since

3.0
# 'dispatcher'
string QueryParameter

URI string for the query parser and builder interface to use. See the list of available query drivers for more details on specific query interfaces and their requirements.

URI string for the query parser and builder interface to use. See the list of available query drivers for more details on specific query interfaces and their requirements.

See

Core\Query

Since

3.0
# 'query'

Constants inherited from Core\Object

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

Properties summary

protected Core\Dispatcher $_v_dispatcher

Configured dispatcher instance.

Configured dispatcher instance.

Since

3.0
#
protected array $_v_parameters

Configuration parameters.

Configuration parameters.

Since

3.0
#
protected Core\Query $_v_query

Configured query instance.

Configured query instance.

Since

3.0
#

Properties inherited from Core\Controller

$_v_views

Magic properties

public read-only Core\Dispatcher $dispatcher

Dispatcher instance in use.

public read-only array $parameters

Associative array of configuration parameters.

public read-only Core\Query $query

Query instance in use.

Magic properties inherited from Core\Object

$hash, $uuid

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