|
ILIAS
Release_5_0_x_branch Revision 61816
|
Class arConverter. More...
Collaboration diagram for arConverter:Public Member Functions | |
| __construct ($table_name, $class_name) | |
| readStructure () | |
| downloadClassFile () | |
| setTableName ($table_name) | |
| getTableName () | |
| setStructure ($structure) | |
| getStructure () | |
| addStructure (stdClass $structure) | |
| setClassName ($class_name) | |
| getClassName () | |
Data Fields | |
| const | REGEX = "/([a-z]*)\\(([0-9]*)\\)/us" |
Protected Member Functions | |
| returnAttributesForField (stdClass $field) | |
Static Protected Member Functions | |
| static | lookupFieldType ($string) |
| static | lookupFieldLength ($string) |
Protected Attributes | |
| $table_name = '' | |
| $class_name = '' | |
| $structure = array() | |
| $ids = array() | |
Static Protected Attributes | |
| static | $field_map |
| static | $length_map |
Class arConverter.
$arConverter = new arConverter('my_msql_table_name', 'arMyRecordClass'); $arConverter->readStructure(); $arConverter->downloadClassFile();
Definition at line 16 of file class.arConverter.php.
| arConverter::__construct | ( | $table_name, | |
| $class_name | |||
| ) |
| $table_name | |
| $class_name |
Definition at line 68 of file class.arConverter.php.
References $class_name, $table_name, readStructure(), setClassName(), and setTableName().
Here is the call graph for this function:| arConverter::addStructure | ( | stdClass | $structure | ) |
| stdClass | $structure |
Definition at line 252 of file class.arConverter.php.
References $structure.
Referenced by readStructure().
Here is the caller graph for this function:| arConverter::downloadClassFile | ( | ) |
Definition at line 84 of file class.arConverter.php.
References $txt, exit, getClassName(), getStructure(), getTableName(), and returnAttributesForField().
Here is the call graph for this function:| arConverter::getClassName | ( | ) |
Definition at line 271 of file class.arConverter.php.
References $class_name.
Referenced by downloadClassFile().
Here is the caller graph for this function:| arConverter::getStructure | ( | ) |
Definition at line 244 of file class.arConverter.php.
References $structure.
Referenced by downloadClassFile().
Here is the caller graph for this function:| arConverter::getTableName | ( | ) |
Definition at line 228 of file class.arConverter.php.
References $table_name.
Referenced by downloadClassFile(), and readStructure().
Here is the caller graph for this function:
|
staticprotected |
| $string |
Definition at line 190 of file class.arConverter.php.
References lookupFieldType().
Referenced by returnAttributesForField().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
| $string |
Definition at line 178 of file class.arConverter.php.
Referenced by lookupFieldLength(), and returnAttributesForField().
Here is the caller graph for this function:| arConverter::readStructure | ( | ) |
Definition at line 75 of file class.arConverter.php.
References $res, addStructure(), and getTableName().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| stdClass | $field |
Definition at line 154 of file class.arConverter.php.
References arFieldList\FIELDTYPE, arFieldList\HAS_FIELD, arFieldList\IS_NOTNULL, arFieldList\IS_PRIMARY, arFieldList\IS_UNIQUE, arFieldList\LENGTH, lookupFieldLength(), and lookupFieldType().
Referenced by downloadClassFile().
Here is the call graph for this function:
Here is the caller graph for this function:| arConverter::setClassName | ( | $class_name | ) |
| string | $class_name |
Definition at line 263 of file class.arConverter.php.
References $class_name.
Referenced by __construct().
Here is the caller graph for this function:| arConverter::setStructure | ( | $structure | ) |
| array | $structure |
Definition at line 236 of file class.arConverter.php.
References $structure.
| arConverter::setTableName | ( | $table_name | ) |
| string | $table_name |
Definition at line 220 of file class.arConverter.php.
References $table_name.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 53 of file class.arConverter.php.
Referenced by __construct(), getClassName(), and setClassName().
|
staticprotected |
Definition at line 22 of file class.arConverter.php.
|
protected |
Definition at line 61 of file class.arConverter.php.
|
staticprotected |
Definition at line 34 of file class.arConverter.php.
|
protected |
Definition at line 57 of file class.arConverter.php.
Referenced by addStructure(), getStructure(), and setStructure().
|
protected |
Definition at line 49 of file class.arConverter.php.
Referenced by __construct(), getTableName(), and setTableName().
| const arConverter::REGEX = "/([a-z]*)\\(([0-9]*)\\)/us" |
Definition at line 18 of file class.arConverter.php.