|
Doctrine 1.2.4
|
Static Public Member Functions | |
| static | copyDirectory ($source, $dest) |
| static | formatSql ($sql) |
| static | getCollectionAsString (Doctrine_Collection $collection) |
| static | getConnectionAsString (Doctrine_Connection $connection) |
| static | getConnectionStateAsString ($state) |
| static | getRecordAsString (Doctrine_Record $record) |
| static | getRecordStateAsString ($state) |
| static | getTableAsString (Doctrine_Table $table) |
| static | isValidClassName ($className) |
| static | makeDirectories ($path, $mode=0777) |
| static | removeDirectories ($folderPath) |
|
static |
Copy all directory content in another one.
This method recursively copies all $source files and subdirs in $dest. If $source is a file, only it will be copied in $dest.
| string | $source | a directory path |
| string | $dest | a directory path |
Definition at line 338 of file Lib.php.
|
static |
Generates a colored sql query.
This methods parses a plain text query and generates the html needed for visual formatting.
| string | $sql | plain text query |
Definition at line 163 of file Lib.php.
|
static |
Generates a string representation of a collection.
This method returns an html dump of a collection of records, containing all data.
| Doctrine_Collection | $collection |
Definition at line 194 of file Lib.php.
|
static |
Generates a string representation of a connection.
This method returns an html dump of a connection, containing state, open transactions and loaded tables.
| Doctrine_Connection | $connection |
Definition at line 122 of file Lib.php.
|
static |
Generates a human readable representation of a connection's state.
This method translates a Doctrine_Connection state (integer constant) in a english description.
| integer | $state | state of the connection as a string |
Definition at line 98 of file Lib.php.
|
static |
Dumps a record.
This method returns an html representation of a given record, containing keys, state and data.
| Doctrine_Record | $record |
Definition at line 75 of file Lib.php.
|
static |
Generates a human readable representation of a record's state.
This method translates a Doctrine_Record state (integer constant) in an english string.
| integer | $state | the state of record |
Definition at line 45 of file Lib.php.
|
static |
Generates a string representation of a table.
This method returns an html dump of a table, containing component name and table physical name.
| Doctrine_Table | $table |
Definition at line 143 of file Lib.php.
|
static |
Checks for a valid class name for Doctrine coding standards.
This methods tests if $className is a valid class name for php syntax and for Doctrine coding standards. $className must use camel case naming and underscores for directory separation.
| string | $classname |
Definition at line 380 of file Lib.php.
|
static |
Makes the directories for a path recursively.
This method creates a given path issuing mkdir commands for all folders that do not exist yet. Equivalent to 'mkdir -p'.
| string | $path | |
| integer | $mode | an integer (octal) chmod parameter for the created directories |
Definition at line 282 of file Lib.php.
|
static |
Removes a non empty directory.
This method recursively removes a directory and all its descendants. Equivalent to 'rm -rf'.
| string | $folderPath |
Definition at line 304 of file Lib.php.