SDO_DAS_XML::create

(^) To create SDO_DAS_XML object for a given schema file SDO_DAS_XML SDO_DAS_XML::create ([ mixed $xsd_file [, string $key ]] ) This is the only static method of SDO_DAS_XML class. Used to instantiate SDO_DAS_XML object. Parameters: xsd_file Path to XSD Schema file. This is optional. If omitted a DAS will be created that only has the SDO base types defined. Schema files

SDO_DAS_XML::saveString

(^) Saves the SDO_DAS_XML_Document object to a string string SDO_DAS_XML::saveString ( SDO_XMLDocument $xdoc [, int $indent ] ) Saves the SDO_DAS_XML_Document object to string. Parameters: xdoc SDO_DAS_XML_Document object. indent Optional argument to specify that the xml should be formatted. A non-negative integer is the amount to in

SDO_DAS_XML::saveFile

(^) Saves the SDO_DAS_XML_Document object to a file void SDO_DAS_XML::saveFile ( SDO_XMLDocument $xdoc, string $xml_file [, int $indent ] ) Saves the SDO_DAS_XML_Document object to a file. Parameters: xdoc SDO_DAS_XML_Document object. xml_file xml file. indent Optional argument to specify that the

SDO_DAS_XML::loadFile

(^) Returns SDO_DAS_XML_Document object for a given path to xml instance document SDO_XMLDocument SDO_DAS_XML::loadFile ( string $xml_file ) Constructs the tree of SDO_DataObjects from the given address to xml instance document. Returns SDO_DAS_XML_Document Object. Use SDO_DAS_XML_Document::getRootDataObject method to get root data object. Parameters: xml_file Path to

SDO_DAS_XML::loadString

(^) Returns SDO_DAS_XML_Document for a given xml instance string SDO_DAS_XML_Document SDO_DAS_XML::loadString ( string $xml_string ) Constructs the tree of SDO_DataObjects from the given xml instance string. Returns SDO_DAS_XML_Document Object. Use SDO_DAS_XML_Document::getRootDataObject method to get root data object. Parameters: xml_string xml string.

SDO_DAS_XML::addTypes

(^) To load a second or subsequent schema file to a SDO_DAS_XML object void SDO_DAS_XML::addTypes ( string $xsd_file ) Load a second or subsequent schema file to an XML DAS that has already been created with the static method create(). Although the file may be any valid schema file, a likely reason for using this method is to add a schema file containing definitions of extra complex types, hence the name. See Example 4 of

SDO_DAS_Relational::executePreparedQuery

(^) Executes an SQL query passed as a prepared statement, with a list of values to substitute for placeholders, and return the results as a normalised data graph. SDODataObject SDO_DAS_Relational::executePreparedQuery ( PDO $database_handle , PDOStatement $prepared_statement , array $value_list [, array $column_specifier ] ) Executes a given query against the relational database, using the supplied PDO database handle.

SDO_DAS_Relational::createRootDataObject

(^) Returns the special root object in an otherwise empty data graph. Used when creating a data graph from scratch. SDODataObject SDO_DAS_Relational::createRootDataObject ( void ) Returns the special root object at the top of an otherwise empty data graph. This call is used when the application wants to create a data graph from scratch, without having called executeQuery() to create a data graph. The special root object

SDO_DAS_Relational::applyChanges

(^) Applies the changes made to a data graph back to the database. void SDO_DAS_Relational::applyChanges ( PDO $database_handle , SDODataObject $root_data_object ) Given a PDO database handle and the special root object of a data graph, examine the change summary in the datagraph and applies the changes to the database. The changes that it can apply can be creations of data objects, deletes of data objects, and modifica

SDO_DAS_Relational::__construct

(^) Creates an instance of a Relational Data Access Service SDO_DAS_Relational::__construct ( array $database_metadata [, string $application_root_type [, array $SDO_containment_references_metadata ]] ) Constructs an instance of a Relational Data Access Service from the passed metadata. Parameters: database_metadata An array containing one or more table definitions,