phpDocumentor pivotx
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Class: oops

Source Location: /modules/module_oops.php

Class oops

Class Overview

OOPs factory class

Located in /modules/module_oops.php [line 44]



		
		
		
		

Methods

[ Top ]
Method Summary
static instance   factory()   the OOPs factory
mixed   get_oops_instance()   get a class instance from a specific type
mixed   type_call()   Call an instance method
mixed   __call()   Overloaded method for call instance object methods

[ Top ]
Methods
static method factory  [line 57]

  static instance factory( )

the OOPs factory


API Tags:
Return:  factory instance
Access:  public


[ Top ]
get_oops_instance  [line 71]

  mixed get_oops_instance( string $type  )

get a class instance from a specific type

Parameters:
string   $type:  name of the type to instance

API Tags:
Return:  instance object of the type
Access:  public


[ Top ]
type_call  [line 110]

  mixed type_call( string $type, string $method, array $args  )

Call an instance method

Parameters:
string   $type:  class name of object
string   $method:  method
array   $args:  arguments to the method

API Tags:
Return:  whatever the call returns
Access:  public


[ Top ]
__call  [line 123]

  mixed __call( string $name, array $args  )

Overloaded method for call instance object methods

Parameters:
string   $name:  type and name to call
array   $args:  arguments to the call

API Tags:
Return:  whatever the call returns
Access:  public


[ Top ]

Documentation generated on Thu, 17 May 2012 01:07:18 +0200 by phpDocumentor 1.4.3