A
[ class tree: A ] [ index: A ] [ all elements ]

Class: A_Application

Source Location: /Application.php

Class Overview


A_Application


Variables

Methods



Class Details

[line 16]
A_Application

Wrap bootstrap in a class that has configuration settings




[ Top ]


Class Variables

$components = array()

[line 22]



Tags:

access:  protected

Type:   mixed


[ Top ]

$configPath = array('config.ini', 'skeleton')

[line 21]



Tags:

access:  protected

Type:   mixed


[ Top ]

$exception =

[line 19]



Tags:

access:  protected

Type:   mixed


[ Top ]

$includePath =  ''

[line 20]



Tags:

access:  protected

Type:   mixed


[ Top ]

$loadComponents = array(
      'Locator'  => array('A_Locator', false),'Config'=>array('A_Config_Ini',true),'Pathinfo'=>array('A_Http_Pathinfo',false),'Mapper'=>array('A_Controller_Mapper',false),'Request'=>array('A_Http_Request',true),'Response'=>array('A_Http_Response',true),'Template'=>array('A_Template_Include',true),'Session'=>array('A_Session',true),'Front'=>array('A_Controller_Front',false),)

[line 23]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 35]

A_Application __construct( [ $exception = null])



Tags:

access:  public


Parameters:

   $exception  

[ Top ]

method component [line 64]

void component( string $component)

Get the specified regisetered component



Tags:

access:  public


Parameters:

string   $component   Component name to get

[ Top ]

method initConfig [line 80]

void initConfig( string $component)

Create and return a new configuration object with the set internal config file path, and loads the config file



Tags:

access:  public


Parameters:

string   $component   Class of configuration object

[ Top ]

method initFront [line 98]

void initFront( string $component)

Create and return a new front controller



Tags:

access:  public


Parameters:

string   $component   Class of front controller

[ Top ]

method initialize [line 155]

void initialize( $component, $key)



Tags:

access:  protected


Parameters:

   $component  
   $key  

[ Top ]

method initMapper [line 86]

void initMapper( $component)



Tags:

access:  public


Parameters:

   $component  

[ Top ]

method initSession [line 111]

void initSession( string $component)

Create and return a new session object



Tags:

access:  public


Parameters:

string   $component   Class of session object

[ Top ]

method load [line 172]

void load( $class)



Tags:

access:  protected


Parameters:

   $class  

[ Top ]

method run [line 45]

rendered run( )

Execute the controller(s) and render the response.



Tags:

return:  response
access:  public


[ Top ]

method set [line 137]

void set( unknown_type $component, unknown_type $object, [unknown_type $register = true])



Tags:

access:  public


Parameters:

unknown_type   $component  
unknown_type   $object  
unknown_type   $register  

[ Top ]

method setPath [line 149]

void setPath( string $path)

Set the include path



Tags:

access:  public


Parameters:

string   $path  

[ Top ]

method __call [line 123]

void __call( $method, $args)



Tags:

access:  public


Parameters:

   $method  
   $args  

[ Top ]


Documentation generated on Sun, 24 Jul 2011 00:03:19 +0000 by phpDocumentor 1.4.3