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
Web_Site_Config Basic web site configuration
Web_Site_Config_Loader Abstract base for all web site config loaders
Web_Ctrl Web_Ctrl is base class for Web_Page and Ajax_Ctrl.
Redirect_Composer Redirect_Composer's purpose is to compose address for redirection
Web_Page_View View for Web_page
Web_Site_Config_Loader_File Loads web site configuration from file(s)
Web_Site Web_Site class represents the abstact concept of Web site.
Tple_Exports Container for variables that will be used by template engine
Web_Event_Dispatcher Web_Event_Dispatcher is responsible for monitoring occurence of Web_Events and dispatching of program flow
Threads_Manager Threads Manager
Tangra_Module_Category Tangra module category
Module_CTRL_XML_Importer Module_CTRL_XML_Importer is used to import module.ctrl.xml files
Tangra_Module_Release_Relation Tangra_Module_Release_Relation
Can_Upgrade_Loader Loads can_upgrade file (from module installation package)
Tangra_Module_Installer Tangra_Module_Installer is the base class used by all module installers
Release_Zip_Creator Creates ZIP archive for module release
Tangra_Module_Release_Category Link Release - module category
Tangra_Module_Release Tangra module release
Tangra_Module_Release_Deleter Tangra_Module_Release_Deleter
Tangra_Module_Info_Loader_File Loads module.ctrl.xml file and returns basic info about it - HID and version
Tangra_Module Tangra Module Class
Tangra_Module_Uninstaller Tangra_Module_Uninstaller is the base class used by all module installers
Tangra_Module_Release_File Tangra_Module_Release_File
Tangra_Module_License Module license
Tangra_Module_Upgrader_Run Tangra_Module_Upgrader_Run encapsulates calls to Tangra_Module_Installer methods pre_upgrade, upgrade, post_upgrade
Tangra_Module_Installer_Run Tangra_Module_Installer_Run encapsulates calls to Tangra_Module_Installer methods pre_install, install, post_install
Tangra_Module_Release_Param Tangra_Module_Release_Param
Registry_Key Base class for registry key.
Registry Base class for all registry classes that will provide functionality similar to windows registry (but for site)
Grid Grids are used to present data in table format Grid is base class for all grids.
Grid_Ctrl Controller for grids
DB_Recordset_Installer This class is ment to be used ONLY by module installers
DB_Recordset DB_Recorset is intended to be returned by DB_Connection::execute method and to contain results of the SQL statement
Paginate_DB_Data Used to paginate db data
DB_Connection Base class for DB_Connection class family.
DB_Config Database configuration
Tangra_File File operations wrapper class
Vars_Manager Container for values that provides unified access.
Modules_Register Class that is used to by boot process to register modules
Exception_Handler Used for central registar for exception listeners.
Config_Loader Base class for configuration loaders.
Event Base class for Event classes family.
Context Container for variables.
Tangra_Simple_Tple Very basic template engine.
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
Form_Ctrl Controller for Form and Form_View objects
Form_View Form_View is used for static HTML representation of Form objects
Form_Field Represents abstract concept of HTML form field
Form_Field_View View class for Form_Field
Form_Guard Form_Guard is used to prevent "form pumping"

[ 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 ]