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

Class: Application_Bootstrap_Base

Source Location: /models/Application/Bootstrap/Base.php

Class Overview


Application_Bootstrap_Base is a base class for bootstrap classes.


Author(s):

  • Wouter Bulten (wouterbulten@mai-ai.org)

Copyright:

  • Copyright (C) 2009 Mai (Me Artificial Intelligence)

Methods


Child classes:

Application_Bootstrap_Application
Application_Bootstrap_Application is the bootstrap for the application.
Application_Bootstrap_DoctrineCli
Application_Bootstrap_DoctrineCli is the bootstrap for the Doctrine CLI interface.
Application_Cli
Command line interface for Mai. (Mai Manager)

Class Details

[line 43]
Application_Bootstrap_Base is a base class for bootstrap classes.



Tags:

author:  Wouter Bulten (wouterbulten@mai-ai.org)
copyright:  Copyright (C) 2009 Mai (Me Artificial Intelligence)
link:  http://www.launchpad.net/mai
abstract:  
license:  GNU General Public License version 3 (GPLv3)


[ Top ]


Class Methods


static method initAutoLoader [line 184]

static void initAutoLoader( )

Setup auto loading of classes.



Tags:

access:  protected


[ Top ]

static method initBaseDbConnection [line 116]

static void initBaseDbConnection( $config)

Connect to base db.



Tags:

access:  protected


Parameters:

array   $config  

[ Top ]

static method initGlobalConfig [line 61]

static void initGlobalConfig( )

Loads the global.ini file and saves it to the registry.



Tags:

access:  protected


[ Top ]

static method initIncludePaths [line 167]

static void initIncludePaths( )

Set include paths.



Tags:

access:  protected


[ Top ]

static method initUserDbConnection [line 142]

static void initUserDbConnection( $config)

Connect to user db.



Tags:

access:  protected


Parameters:

array   $config  

[ Top ]

static method returnDbConfig [line 71]

static Zend_Config_Ini returnDbConfig( )

Loads the db.ini file.



Tags:

access:  protected


[ Top ]

static method returnDoctrineCliConfigBase [line 80]

static void returnDoctrineCliConfigBase( )

Loads the doctrine-cli.ini file and outputs an array with config variables for the base db.



Tags:

access:  protected


[ Top ]

static method returnDoctrineCliConfigUser [line 97]

static void returnDoctrineCliConfigUser( )

Loads the doctrine-cli.ini file and outputs an array with config variables for the user db.



Tags:

access:  protected


[ Top ]

static method run [line 55]

static void run( )

Starts up the bootstrap.



Tags:

access:  public


Overridden in child classes as:

Application_Bootstrap_Application::run()
Starts up the bootstrap.
Application_Bootstrap_DoctrineCli::run()
Starts up the bootstrap.
Application_Cli::run()
Starts up the bootstrap.

[ Top ]

constructor __construct [line 49]

void __construct( )

Private constructor to prevent creation of this object.



Tags:

access:  private


Overridden in child classes as:

Application_Bootstrap_Application::__construct()
Private constructor to prevent creation of this object.
Application_Bootstrap_DoctrineCli::__construct()
Private constructor to prevent creation of this object.
Application_Cli::__construct()
Private constructor to prevent creation of this object.

[ Top ]

method __clone [line 207]

void __clone( )

Cloning of a bootstrap class is not allowed.



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 27 Jul 2009 19:54:29 +0200 by phpDocumentor 1.4.1