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

Class: Mai_Registry

Source Location: /Mai/Registry.php

Class Overview

Zend_Registry
   |
   --Mai_Registry

Mai_Registry acts as the registry for Mai.


Author(s):

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

Copyright:

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

Variables

Methods



Class Details

[line 49]
Mai_Registry acts as the registry for Mai.



Tags:

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


[ Top ]


Class Variables

static $_iniFile =  '/Config/Files/config.ini'

[line 59]



Tags:

var:  Location of the config file relative to the base dir.
access:  protected

Type:   string


[ Top ]

static $_instance =

[line 54]



Tags:

var:  Singleton instance
access:  protected

Type:   Mai_Registry


[ Top ]



Class Methods


static method getInstance [line 83]

static Mai_Registry getInstance( [ $class = null])

Retrieve singleton instance



Tags:

access:  public


Parameters:

   $class  

[ Top ]

constructor __construct [line 65]

void __construct( $creator)

Set default values.



Parameters:

   $creator  

[ Top ]

method __clone [line 101]

void __clone( )

Cloning of a singleton class is not allowed.



Tags:

access:  public


[ Top ]

method __wakeup [line 110]

void __wakeup( )

Function to prevent deserializing



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 27 Jul 2009 19:55:12 +0200 by phpDocumentor 1.4.1