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::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::createDocument

(^) Creates an XML Document object from scratch, without the need to load a document from a file or string. SDO_DAS_XML_Document SDO_DAS_XML::createDocument ([ string $document_element_name ] ) SDO_DAS_XML_Document SDO_DAS_XML::createDocument ( string $document_element_namespace_URI , string $document_element_name [, SDO_DataObject $dataobject ] ) Creates an XML Document object. This will contain just one empty root eleme

SDO_DAS_XML::createDataObject

(^) Creates SDO_DataObject for a given namespace URI and type name SDO_DataObject SDO_DAS_XML::createDataObject ( string $namespace_uri, string $type_name ) Creates SDO_DataObject for a given namespace URI and type name. The type should be defined in the underlying model otherwise SDO_TypeNotFoundException will be thrown. Parameters: namespace_uri Namespace URI of the t

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::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::executeQuery

(^) Executes a given SQL query against a relational database and returns the results as a normalised data graph. SDODataObject SDO_DAS_Relational::executeQuery ( PDO $database_handle , string $SQL_statement [, array $column_specifier ] ) Executes a given query against the relational database, using the supplied PDO database handle. Uses the model that it built from the metadata to interpret the result set. Returns a dat

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::__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,