<?xml version="1.0"?><phpdoc><class name="Bs_DaFormPageControl" extends="Bs_FormElement" undoc="false" access="private" package="Form"><file>C:/usr/local/lib/php/blueshoes-4.2/core/html/form/domapi/Bs_DaFormPageControl.class.php</file><doc><author email="andrej@arn.li">andrej arn</author><inherited src="Array"/><description>basic implementation of an html form element. is never instanced alone,only extended by one of the following classes:- FormField       - FormText- FormContainer   - FormHtml- FormImage       - FormPhp- FormLinedependencies: Bs_ObjPersisterForMySql</description><shortdescription>Form Element Class</shortdescription><version>4.0.$id$</version><copyright>blueshoes.org</copyright></doc><function name="Bs_DaFormPageControl" undoc="false" access="public"><doc><return type="void"/><description/><shortdescription>constructor</shortdescription></doc></function><function name="setTab" undoc="false" access="public"><doc><see type="var">$_domApiTabsReady</see><parameter name="$name" type="string">(internally used name for this tab.)</parameter><parameter name="$caption" type="mixed">(string or hash cause it&amp;apos;s language dependant.)</parameter><parameter name="&amp;$content" type="mixed">(object or string, see above.)</parameter><parameter name="$type" default="&amp;apos;DIV&amp;apos;" type="string">(&amp;apos;DIV&amp;apos; (default), &amp;apos;P&amp;apos; or &amp;apos;IFRAME&amp;apos;, see above.)</parameter><return type="void"/><description>params:because the $caption can be different for different languages, we needsomething to uniquely identify each tab. that&amp;apos;s why we need the $name.the $type defines what tag the content should be. the possibilities are:&amp;apos;DIV&amp;apos;    (default). this is used if the content of the tab is a container.&amp;apos;P&amp;apos;      the content is a container too. but we use a paragraph tag insteadof a div. domapi offers that feature. dunno what it&amp;apos;s good for.&amp;apos;IFRAME&amp;apos; can be used to have another page displayed in that tabs content.the $content depends on $type.for &amp;apos;DIV&amp;apos; and &amp;apos;P&amp;apos; it is a container.for &amp;apos;IFRAME&amp;apos; it is the url for the page to show.note that the param is taken by reference. so if you&amp;apos;re going to passan url you need to assign the url to a var first. the referency isabsolutely needed for containers.examples:setTab(&amp;apos;tabA&amp;apos;, &amp;apos;A&amp;apos;,                             $myContainer);setTab(&amp;apos;tabB&amp;apos;, array(&amp;apos;en&amp;apos;=&amp;gt;&amp;apos;Bee&amp;apos;, &amp;apos;de&amp;apos;=&amp;gt;&amp;apos;Bii&amp;apos;), $url=&amp;apos;http://www.blueshoes.org/&amp;apos;, &amp;apos;IFRAME&amp;apos;);</description><shortdescription>adds (or replaces) a new tab to this page control.</shortdescription></doc></function><function name="&amp;getElement" undoc="false" access="public"><doc><return name="" type="string">some html code</return><description/><shortdescription>Return some html code to display the element on a website in a form.</shortdescription></doc></function><variable name="$domApiDoRollover" access="public" type="string">TRUE<doc><description>this is a domapi specific setting.</description><shortdescription>adds a mouseover effect to the tabs (where you click).</shortdescription></doc></variable><variable name="$domApiEnabled" access="public" type="string">TRUE<doc><description>i don&amp;apos;t see a use for it.this is a domapi specific setting.</description><shortdescription>i recommend that you do not use this var. it may not be fully implemented.</shortdescription></doc></variable><variable name="$domApiAlign" access="public" type="string">&amp;apos;top&amp;apos;<doc><description>Currently, valid entries are &amp;quot;top&amp;quot; (default) and &amp;quot;bottom&amp;quot;.this is a domapi specific setting.</description><shortdescription>Where the tabs show up in the control.</shortdescription></doc></variable><variable name="$domApiWidth" access="public" type="integer">400<doc><description/><shortdescription>the width of the page control in pixels.</shortdescription></doc></variable><variable name="$domApiHeight" access="public" type="integer">300<doc><description/><shortdescription>the height of the page control in pixels.</shortdescription></doc></variable><variable name="$_domApiTabsReady" access="private" type="array"><doc><see type="function">setTab()</see><description>data structure: hash where the key is the tab name. the value is ahash with these keys:&amp;apos;caption&amp;apos; =&amp;gt; string or array, language dependant&amp;apos;type&amp;apos;    =&amp;gt; &amp;apos;DIV&amp;apos;, &amp;apos;P&amp;apos; or &amp;apos;IFRAME&amp;apos;&amp;apos;content&amp;apos; =&amp;gt; (object) reference to a container, or (string) url</description><shortdescription>the tabs to use for that page control.</shortdescription></doc></variable><variable name="$domApiDefaultOpen" access="public" type="string"><doc><description>if that name does not exist or something else fails, whatever, thenthe default tab is the first tab.</description><shortdescription>the tab (name) that is selected/open by default.</shortdescription></doc></variable><constant name="BS_DAFORMFIELDDATEPICKER_VERSION" undoc="true" access="private" case="default: case sensitive">4.0.$x$<doc></doc></constant><inherited src="Bs_FormElement" type="functions"><element>bs_formelement</element><element>hasformobject</element><element>setformobject</element><element>getcaption</element><element>getelement</element><element>getlevel</element><element>_doelementstringformat</element><element>_getparamvalue</element><element>getlanguagedependentvalue</element></inherited><inherited src="Bs_Object" type="functions"><element>isex</element><element>isexception</element><element>tostring</element><element>tohtml</element><element>persist</element><element>unpersist</element><element>bs_object</element><element>bbsetoutput</element><element>bbawake</element><element>bbisawake</element><element>bbxmsg</element><element>bbxfunctionstart</element><element>bbxfunctionend</element><element>bbxecho</element><element>bbxvar</element><element>bbxvardump</element><element>bbforcetrace</element><element>bbbufferstart</element><element>bbbufferget</element><element>bbbufferendflush</element><element>bbbufferendclean</element></inherited><inherited src="Bs_FormElement" type="variables"><element>$persister</element><element>$persisterid</element><element>$_form</element><element>$name</element><element>$elementtype</element><element>$formid</element><element>$container</element><element>$orderid</element><element>$elementstringformat</element><element>$persistervarsettings</element><element>$this</element></inherited><inherited src="Bs_FormElement" type="consts"><element>bs_formelement_version</element></inherited><inherited src="Bs_Object" type="consts"><element>bs_object_version</element></inherited><path><parent>Bs_FormElement</parent><parent>Bs_Object</parent></path><baseclass>Bs_Object</baseclass></class></phpdoc>