Class: Doctrine
Source Location: /Doctrine.phpClass Doctrine
Doctrine the base class of Doctrine framework Located in /Doctrine.php [line 35] Author(s):
|
ATTR_AUTOCOMMIT | PDO derived attributes |
ATTR_FETCHMODE | TODO: REMOVE THE FOLLOWING CONSTANTS AND UPDATE THE DOCS ! |
ATTR_LISTENER | Doctrine constants |
ATTR_NS_ROOT_COLUMN_NAME | NESTED SET CONSTANTS |
CASE_LOWER | PDO derived constants |
ERR | ERROR CONSTANTS |
EXPORT_ALL | export all |
EXPORT_CONSTRAINTS | export constraints |
EXPORT_NONE | turns of exporting |
EXPORT_TABLES | export tables |
FETCH_ARRAY | FETCH ARRAY |
FETCH_BATCH | BATCH FETCHING |
FETCH_IMMEDIATE | IMMEDIATE FETCHING |
FETCH_LAZY_OFFSET | LAZY OFFSET FETCHING |
FETCH_OFFSET | LAZY FETCHING |
FETCH_RECORD | FETCH RECORD |
FETCH_VHOLDER | FETCH VALUEHOLDER |
IDENTIFIER_AUTOINC | constant for auto_increment identifier |
IDENTIFIER_COMPOSITE | constant for composite identifier |
IDENTIFIER_NATURAL | constant for normal identifier |
IDENTIFIER_SEQUENCE | constant for sequence identifier |
LIMIT_RECORDS | constant for record limiting |
LIMIT_ROWS | constant for row limiting |
LOCK_OPTIMISTIC | mode for optimistic locking |
LOCK_PESSIMISTIC | mode for pessimistic locking |
PORTABILITY_ALL | Portability: turn on all portability features. |
PORTABILITY_DELETE_COUNT | Portability: force reporting the number of rows deleted. |
PORTABILITY_EMPTY_TO_NULL | Portability: convert empty values to null strings in data output by query*() and fetch*(). |
PORTABILITY_EXPR | Portability: makes Doctrine_Expression throw exception for unportable RDBMS expressions |
PORTABILITY_FIX_ASSOC_FIELD_NAMES | Portability: removes database/table qualifiers from associative indexes |
PORTABILITY_FIX_CASE | Portability: convert names of tables and fields to case defined in the "field_case" option when using the query*(), fetch*() methods. |
PORTABILITY_NONE | Portability: turn off all portability features. |
PORTABILITY_RTRIM | Portability: right trim the data output by query*() and fetch*(). |
static boolean | autoload() | simple autoload function returns true if the class was loaded, otherwise false |
static string | classify() | returns class name from table name |
static void | compile() | compile |
static void | debug() | |
static void|string | dump() | dump |
static void | exportSchema() | exportSchema method for exporting Doctrine_Record classes to a schema |
static void | exportSql() | exportSql method for exporting Doctrine_Record classes to a schema |
static string | getPath() | getPath returns the doctrine root |
static boolean | importSchema() | importSchema method for importing existing schema to Doctrine_Record classes |
static boolean | isValidClassname() | checks for valid class name (uses camel case and underscores) |
static void | loadAll() | loadAll loads all runtime classes |
static string | tableize() | returns table name from class name |
Doctrine | __construct() | constructor |
|
simple autoload function returns true if the class was loaded, otherwise false
Parameters:string | $classname: |
API Tags:
Access: | public |
|
returns class name from table name
Parameters:string | $tablename: |
API Tags:
Access: | public |
|
compile
method for making a single file of most used doctrine runtime components including the compiled file instead of multiple files (in worst cases dozens of files) can improve performance by an order of magnitude
Parameters:string | $target: |
API Tags:
Access: | public |
Information Tags:
Throws: | Doctrine_Exception |
|
$bool: |
API Tags:
Access: | public |
|
dump
dumps a given variable
Parameters:mixed | $var: | a variable of any type |
boolean | $output: | whether to output the content |
API Tags:
Access: | public |
|
exportSchema method for exporting Doctrine_Record classes to a schema
Parameters:string | $directory: |
API Tags:
Access: | public |
|
exportSql method for exporting Doctrine_Record classes to a schema
Parameters:string | $directory: |
API Tags:
Access: | public |
|
getPath returns the doctrine root
API Tags:
Access: | public |
|
importSchema method for importing existing schema to Doctrine_Record classes
Parameters:string | $directory: | |
array | $info: | |
array | $databases: |
API Tags:
Access: | public |
|
checks for valid class name (uses camel case and underscores)
Parameters:string | $classname: |
API Tags:
Access: | public |
|
loadAll loads all runtime classes
API Tags:
Access: | public |
|
returns table name from class name
Parameters:string | $classname: |
API Tags:
Access: | public |
FETCH RECORD
Specifies that the fetch method shall return Doctrine_Record objects as the elements of the result set.
This is the default fetchmode.
Portability: turn on all portability features.
API Tags:See: | Doctrine::ATTR_PORTABILITY |
Portability: force reporting the number of rows deleted.
API Tags:See: | Doctrine::ATTR_PORTABILITY |
Portability: convert empty values to null strings in data output by query*() and fetch*().
API Tags:See: | Doctrine::ATTR_PORTABILITY |
Portability: makes Doctrine_Expression throw exception for unportable RDBMS expressions
API Tags:See: | Doctrine::ATTR_PORTABILITY |
Portability: removes database/table qualifiers from associative indexes
API Tags:See: | Doctrine::ATTR_PORTABILITY |
Portability: convert names of tables and fields to case defined in the "field_case" option when using the query*(), fetch*() methods.
API Tags:See: | Doctrine::ATTR_PORTABILITY |
Portability: turn off all portability features.
API Tags:See: | Doctrine::ATTR_PORTABILITY |
Portability: right trim the data output by query*() and fetch*().
API Tags:See: | Doctrine::ATTR_PORTABILITY |