tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Class: Tangra_Class

Source Location: /core/tangra_class.class.php

Class Tangra_Class

Class Overview

Base class for all tangra_lib classes

Tangra_Class is the basic class inherited by all classes of Tangra library. It's purpose is to "forbid" usage of autosetter method __set, because this is very dangerous feature (you can easily set nonexisting variable by mistake and you will not get any error or warning...).

Located in /core/tangra_class.class.php [line 28]



		
				Author(s):
		
API Tags:
Abstract:  

Methods

[ Top ]
Descendants
Child Class Description
Redirect_Composer Redirect_Composer's purpose is to compose address for redirection
Web_Page Class Web_Page represents the abstract concept of web page
Redirect_Composer_Local Redirect_Composer_Local is intended to be used for internal redirect within site
Web_Page_View View for Web_page
Web_Site_Config Basic web site configuration
Web_Event_Dispatcher Web_Event_Dispatcher is responsible for monitoring occurence of Web_Events and dispatching of program flow
Tple_Exports Container for variables that will be used by template engine
Web_Site_Config_Loader_File Loads web site configuration from file(s)
Web_Site_Config_Loader Abstract base for all web site config loaders
Web_Site Web_Site class represents the abstact concept of Web site.
Threads_Manager Threads Manager
Tangra_Module_Info_Parser Tangra_Module_Info_Parser parses information loaded by Tangra_Module_Info_Loader_* and converts it to structured array
Tangra_Module_Info Tangra_Module_Info servers as a container for information parsed from module.ctrl file.
Tangra_Module_Installer Tangra_Module_Installer is the base class used by all module installers
Tangra_Module_Info_Loader Tangra_Module_Info_Loader is an abstract class that servers as a base for other Module info loaders.
Tangra_Module_Installer_Run Tangra_Module_Installer_Run encapsulates calls to Tangra_Module_Installer methods pre_install, install, post_install
Form_Field_View View class for Form_Field
Form_Field Represents abstract concept of HTML form field
Form_Guard Form_Guard is used to prevent "form pumping"
Form_Ctrl Controller for Form and Form_View objects
Form_View Form_View is used for static HTML representation of Form objects
Form Class Form is used to handle most of the aspects when working with HTML forms
Static_HTML_Form_Generator Generates HTML for "static" forms
Paginate_DB_Data Used to paginate db data
DB_Config Database configuration
DB_Recordset DB_Recorset is intended to be returned by DB_Connection::execute method and to contain results of the SQL statement
DB_Connection Base class for DB_Connection class family.
Vars_Manager Container for values that provides unified access.
Tangra_Simple_Tple Very basic template engine.
Config_Loader Base class for configuration loaders.
Exception_Handler Used for central registar for exception listeners.
Modules_Register Class that is used to by boot process to register modules
Event Base class for Event classes family.
Context Container for variables.
Grid Grids are used to present data in table format Grid is base class for all grids.
Grid_Ctrl Controller for grids
Tangra_File File operations wrapper class

[ Top ]
Method Summary
string   get_class_name()   Alias of get_class(). Exist because of historical reasons.
void   __set()   Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.

[ Top ]
Methods
get_class_name  [line 47]

  string get_class_name( )

Alias of get_class(). Exist because of historical reasons.


API Tags:
Deprecated:  use PHP's built-in get_class() instead
Access:  public


[ Top ]
__set  [line 37]

  void __set( string $name, any $val  )

Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.

Parameters:
string   $name: 
any   $val: 

API Tags:
Access:  public

Information Tags:
Throws:  TE_No_Such_Property_Exception

[ Top ]