<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >SDO_DAS_Relational::createRootDataObject</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Manual do PHP" HREF="index.html"><LINK REL="UP" TITLE="SDO Relational Data Access Service Functions" HREF="ref.sdo.das.rel.html"><LINK REL="PREVIOUS" TITLE="SDO_DAS_Relational::__construct" HREF="function.sdo-das-relational-construct.html"><LINK REL="NEXT" TITLE="SDO_DAS_Relational::executePreparedQuery" HREF="function.sdo-das-relational-executepreparedquery.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual do PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.sdo-das-relational-construct.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.sdo-das-relational-executepreparedquery.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.SDO-DAS-Relational-createRootDataObject" ></A >SDO_DAS_Relational::createRootDataObject</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN200548" ></A ><P > (no version information, might be only in CVS)</P >SDO_DAS_Relational::createRootDataObject -- Returns the special root object in an otherwise empty data graph. Used when creating a data graph from scratch. </DIV ><DIV CLASS="refsect1" ><A NAME="AEN200551" ></A ><H2 >Descrição</H2 >SDODataObject <B CLASS="methodname" >SDO_DAS_Relational::createRootDataObject</B > ( void )<BR ></BR ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Atenção</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >Esta função é <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. Isso quer dizer que o comportamento desta função e seu nome, incluindo TUDO o que está documentado aqui pode mudar em futuras versões do PHP, SEM QUALQUER NOTIFICAÇÃO. Esteja avisado, e use esta função por sua própria conta e risco.</P ></TD ></TR ></TABLE ></DIV ><P > 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 <B CLASS="function" >executeQuery()</B > to create a data graph. </P ><P > The special root object has one multi-valued containment property, with a name of the application root type that was passed when the Relational DAS was constructed. The property can take values of only that type. The only thing that the application can usefully do with the root type is to call <B CLASS="function" >createDataObject()</B > on it, passing the name of the application root type, in order to create a data object of their own application type. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN200564" ></A ><H2 >Parâmetros</H2 ><P > None. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN200567" ></A ><H2 >Valores de retornado</H2 ><P > The root object. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN200570" ></A ><H2 >Erros/Excessões</H2 ><P > None. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN200573" ></A ><H2 >Exemplos</H2 ><P > Please see the <A HREF="ref.sdo.das.rel.html#sdo.das.rel.examples" >Examples</A > section in the general information about the Relational DAS for many examples of calling this method. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.sdo-das-relational-construct.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Principal</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.sdo-das-relational-executepreparedquery.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >SDO_DAS_Relational::__construct</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.sdo.das.rel.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >SDO_DAS_Relational::executePreparedQuery</TD ></TR ></TABLE ></DIV ></BODY ></HTML >