QCubed - A PHP5 rapid development MVC framework.
Home  |  Updates

classQTypeTable

QTypeTable Class Reference

Inherits QBaseClass.

Collaboration diagram for QTypeTable:

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Used by the QCubed Code Generator to describe a database Type Table "Type" tables must be defined with only two columns, the first one being an integer-based primary key, and the second one being the name of the type.

Constructor & Destructor Documentation

QTypeTable::__construct ( strName  ) 

Default Constructor. Simply sets up the TableName.

Parameters:
string strName Name of the Table
Returns:
TypeTable

References $strName.


Member Function Documentation

QTypeTable::__get ( strName  ) 

Override method to perform a property "Get" This will get the value of $strName

Parameters:
string strName Name of the property to get
Returns:
mixed

Reimplemented from QBaseClass.

References $strName, and QCallerException::IncrementOffset().

QTypeTable::__set ( strName,
mixValue 
)

Override method to perform a property "Set" This will set the property $strName to be $mixValue

Parameters:
string strName Name of the property to set
string mixValue New value of the property
Returns:
mixed

Reimplemented from QBaseClass.

References $strName, QType::ArrayType, QType::Cast(), QCallerException::IncrementOffset(), and QType::String.


Member Data Documentation

QTypeTable::$arrExtraPropertyArray [protected]

Array of extra properties. This is a double-array - array of arrays. Example: 1 => ['col1' => 'valueA', 'col2 => 'valueB'], 2 => ['col1' => 'valueC', 'col2 => 'valueD'], 3 => ['col1' => 'valueC', 'col2 => 'valueD']

QTypeTable::$strClassName [protected]

QTypeTable::$strExtraFieldNamesArray [protected]

Column names for extra properties (beyond the 2 basic ones), if any.

QTypeTable::$strName [protected]

Referenced by __construct(), __get(), and __set().

QTypeTable::$strNameArray [protected]

QTypeTable::$strTokenArray [protected]


The documentation for this class was generated from the following file: