static string formatSql(
$sql
)
|
|
Parameters:
API Tags:
returns a string representation of Doctrine_Collection object
Parameters:
API Tags:
static string getCollectionAsXml(
Doctrine_Collection
$collection, [
$incomming_xml = null], SimpleXMLElement
$xml
)
|
|
Return an collection of records as XML.
Parameters:
API Tags:
Return: | Xml as string |
See: | getRecordAsXml for options to set in the record class to control this. |
Access: | public |
returns a string representation of Doctrine_Connection object
Parameters:
API Tags:
static void getConnectionStateAsString(
integer
$state
)
|
|
getStateAsString
returns a given connection state as string
Parameters:
integer |
$state: |
connection state |
API Tags:
returns a string representation of Doctrine_Record object
Parameters:
API Tags:
static string getRecordAsXml(
Doctrine_Record
$record, [
$incomming_xml = NULL], SimpleXMLElement
$xml
)
|
|
Return a recrd as XML.
In order to control how this is done set the "xml" option in a record. This option is an array that has the keys "ignore_fields" and "include_relations". Both of these are arrays that list the name of fields/relations to include/process.
If you want to insert this xml as a part inside another xml send a SimpleXMLElement to the function. Because of the nature of SimpleXML the content you add to this element will be avilable after the function is complete.
Parameters:
Doctrine_Record |
$record: |
|
SimpleXMLElement |
$xml: |
|
SimpleXMlElement |
$incomming_xml: |
|
API Tags:
Return: | Xml as string |
Access: | public |
static string getRecordStateAsString(
integer
$state
)
|
|
Parameters:
integer |
$state: |
the state of record |
API Tags:
Return: | string representation of given state |
See: | Doctrine_Record::STATE_* constants |
Access: | public |
returns a string representation of Doctrine_Table object
Parameters:
API Tags:
static void plurelize(
$string
)
|
|
Parameters:
API Tags: