<?xml version="1.0"?><phpdoc><class name="jpeto_object" extends="jpeto_core" undoc="false" access="private" package="jpeto_objects"><file>c:/web/jpeto2/jpeto/jpeto_object.php</file><doc><inherited src="Array"/><overriden src="Array"/><description/><shortdescription>This class provides the functionality for the jpeto_object table</shortdescription></doc><function name="jpeto_object" undoc="false" access="public"><doc><parameter name="$JpetoType" default="0" type="integer">the type of the current object</parameter><parameter name="$Language" default="&amp;quot;DE&amp;quot;" type="string">the Languagecode of the current object</parameter><parameter name="$Version" default="&amp;quot;O&amp;quot;" type="string">the Version of the current object</parameter><return type="void"/><description/><shortdescription>constructor for jpeto_object</shortdescription></doc></function><function name="getIcon" undoc="false" access="private"><doc><return name="$html" type="string"/><description/><shortdescription>Returns a complete img-tag for the searchresult</shortdescription></doc></function><function name="createAdminInterface" undoc="false" access="private"><doc><parameter name="&amp;$AdminInterface" type="int">erface &amp;$AdminInterface</parameter><return type="void"/><description/><shortdescription>sets the editable properties in the AdminInterface</shortdescription></doc></function><function name="getFields" undoc="false" access="private"><doc><return name="$fields" type="array"/><description>therefore is it necessary to name these fields (in the Globals section on top of the page)in a special way, f.i. in the class jpeto_article all the FIELDS should be namedarticle_FIELDNAME</description><shortdescription>returns all the fields of the database table associated with the object.</shortdescription></doc></function><function name="getSubtype" undoc="false" access="private"><doc><return name="$SubObject" type="string"/><description/><shortdescription>This function returns a SubObject (if there&amp;apos;s just one)</shortdescription></doc></function><function name="getJpetoTypeDetails" undoc="false" access="private"><doc><parameter name="$JpetoType" type="integer"/><return type="void"/><description/><shortdescription>loads the details for the given JpetoType</shortdescription></doc></function><function name="getJpetoType" undoc="false" access="private"><doc><parameter name="$UniqueID" type="integer"/><return name="$JpetoType" type="integer"/><description/><shortdescription>gets the JpetoType for a specified UniqueID</shortdescription></doc></function><function name="getJoin" undoc="false" access="private"><doc><return name="$where" type="string"/><description/><shortdescription>returns a sql string for joining the object-table with the [JpetoType]-table</shortdescription></doc></function><function name="isOnline" undoc="false" access="private"><doc><parameter name="$Object" type="object jpeto_object"/><return name="$isOnline" type="Boolean"> the status of the object</return><description/><shortdescription>returns the online status of an object (depending on the isOnline Flag, the OnlineStart &amp; OnlineEnd)</shortdescription></doc></function><function name="get_jpeto_object" undoc="false" access="private"><doc><parameter name="$UniqueID" type="integer">the UniqueID of the object to fetch from the database</parameter><parameter name="$follow" default="true" type="Boolean">follow the object to it&amp;apos;s leaves</parameter><return type="void"/><description>and calls mapFields</description><shortdescription>Gets one object identified by it&amp;apos;s UniqueID</shortdescription></doc></function><function name="numChildren" undoc="false" access="private"><doc><return name="$numChildren" type="integer"/><description/><shortdescription>Returns the number of Child Objects</shortdescription></doc></function><function name="isExpired" undoc="false" access="private"><doc><return name="$isExpired" type="boolean"/><description/><shortdescription>Boolean is Expired</shortdescription></doc></function><function name="isLocked" undoc="false" access="private"><doc><return name="$isLocked" type="boolean"/><description/><shortdescription>Boolean is Locked</shortdescription></doc></function><function name="lock" undoc="false" access="private"><doc><return name="$success" type="boolean"/><description/><shortdescription>Locks the current object</shortdescription></doc></function><function name="unlock" undoc="false" access="private"><doc><return name="$success" type="boolean"/><description/><shortdescription>Unlocks all objects locked by a specific user</shortdescription></doc></function><function name="assignContent" undoc="false" access="private"><doc><parameter name="$Object" type="object jpeto_object"/><return type="void"/><description>For more complex objects, please overwrite this function in the subclass and assignthe Content identified by it&amp;apos;s JpetoType to different Slots/etc.</description><shortdescription>This function assigns the content (by default into one column, with line-breaks as seperator)</shortdescription></doc></function><function name="stripLastLinebreak" undoc="false" access="private"><doc><return type="void"/><description/><shortdescription>removes the linebreak after the last object</shortdescription></doc></function><function name="get_next_jpeto_object" undoc="false" access="public"><doc><return name="" type="boolean">true if there is a next element&#x0a;false if there is no next element&#x0a;&#x0a;example&#x0a;&#x0a;while($object-&amp;gt;get_next_jpeto_object())&#x0a;{&#x0a;$object-&amp;gt;toHTML();&#x0a;}</return><description/><shortdescription>Gets the next object of a specific type for the defined Language and Version</shortdescription></doc></function><function name="mapFields" undoc="false" access="private"><doc><parameter name="$Recordset" type="array">the Recordset given to map to the variables</parameter><return type="void"/><description/><shortdescription>Maps the fields of the given recordset to the object variables</shortdescription></doc></function><function name="mapTypeFields" undoc="false" access="private"><doc><parameter name="$Recordset" type="array">the Recordset given to map to the variables</parameter><return type="void"/><description/><shortdescription>Maps the type-specific fields of the given recordset to the object-type variables</shortdescription></doc></function><function name="mapObjectFields" undoc="false" access="private"><doc><parameter name="$Recordset" type="array">the Recordset given to map to the variables</parameter><return type="void"/><description>This is just a dummy that should be overwritten by the extending class,if the object has got any data-fields beside the meta-data</description><shortdescription>Maps the fields of the given recordset to the object variables</shortdescription></doc></function><function name="newUniqueID" undoc="false" access="private"><doc><return name="$newUniqueID" type="int"/><description/><shortdescription>gets an unused UniqueID</shortdescription></doc></function><function name="debug" undoc="false" access="private"><doc><return type="void"/><description>overwrite function debugObject in extending class</description><shortdescription>returns the elements of the object as a html table</shortdescription></doc></function><function name="delete" undoc="false" access="private"><doc><parameter name="$UniqueID" default="0" type="integer"/><return name="$success" type="boolean"/><description/><shortdescription>deletes the current object identified by its UniqueID, Language, Version</shortdescription></doc></function><function name="getOnlineStatusImage" undoc="false" access="private"><doc><return name="$String" type="string"/><description/><shortdescription>Returns a image-tag to display the online status of an object</shortdescription></doc></function><function name="getFromURLKey" undoc="false" access="private"><doc><return name="$key" type="String"/><description/><shortdescription>returns the primary key of the current object as From QueryString</shortdescription></doc></function><function name="getToURLKey" undoc="false" access="private"><doc><return name="$key" type="String"/><description/><shortdescription>returns the primary key of the current object as To QueryString</shortdescription></doc></function><function name="addAdminLink" undoc="false" access="private"><doc><parameter name="$Content" type="string"/><return name="$AdminLink" type="string"/><description/><shortdescription>returns a link to the admin interface of the current object</shortdescription></doc></function><function name="isCached" undoc="false" access="private"><doc><return name="$isCached" type="boolean"/><description/><shortdescription>Checks if the current object is already in cache</shortdescription></doc></function><function name="getCacheFileName" undoc="false" access="private"><doc><return name="$CacheFile" type="String"/><description/><shortdescription>Returns a cache filename</shortdescription></doc></function><function name="toCache" undoc="false" access="private"><doc><parameter name="$Content" type="string"/><return type="void"/><description/><shortdescription>Writes the given Content-String to the Cache Directory</shortdescription></doc></function><function name="getCache" undoc="false" access="private"><doc><return name="$Cache" type="string"/><description/><shortdescription>returns the Cached Object</shortdescription></doc></function><function name="purgeCache" undoc="false" access="private"><doc><return name="$success" type="boolean"/><description/><shortdescription>removes the object from the Cache</shortdescription></doc></function><function name="store" undoc="false" access="private"><doc><return name="$success" type="boolean"/><description>please overwrite updateObject() and insertObject()</description><shortdescription>stores the current object</shortdescription></doc></function><function name="getDefaultValues" undoc="false" access="private"><doc><return type="void"/><description>This is just a dummy that should be overwritten by the extending class (optional)</description><shortdescription>gets default Values for (not set) parameters</shortdescription></doc></function><function name="updateObject" undoc="false" access="private"><doc><return type="void"/><description>This is just a dummy that has to be overwritten by the extending class,depending on the fields of the extension</description><shortdescription>updates the current object in the subtable</shortdescription></doc></function><function name="insertObject" undoc="false" access="private"><doc><return type="void"/><description>This is just a dummy that has to be overwritten by the extending class,depending on the fields of the extension</description><shortdescription>inserts the current object in the subtable</shortdescription></doc></function><function name="addSubObject" undoc="false" access="private"><doc><parameter name="$SubObject" type="object jpeto_object"/><return type="void"/><description/><shortdescription>maps a given Subobject to the current Object</shortdescription></doc></function><function name="isRestricted" undoc="false" access="private"><doc><return name="$isRestricted" type="boolean"/><description/><shortdescription>returns whether the access of the current object is restricted or not</shortdescription></doc></function><function name="toHTML" undoc="false" access="private"><doc><return type="void"/><description>This is just a dummy that has to be overwritten by the extending class,depending on the way of presentation</description><shortdescription>returns the current object rendered as html</shortdescription></doc></function><function name="toDetailHTML" undoc="false" access="private"><doc><return type="void"/><description>This is just a dummy that should be overwritten by the extending class,depending on the way of presentation (optional)</description><shortdescription>returns the current object rendered in detail as html</shortdescription></doc></function><function name="xmlFormat" undoc="false" access="private"><doc><parameter name="$String" type="string"/><return name="$String" type="string"/><description/><shortdescription>formats a string with xml entities</shortdescription></doc></function><function name="xmlElement" undoc="false" access="private"><doc><parameter name="$elementName" type="string"/><return name="$xmlE" type="string"/><description/><shortdescription>renders a string to xml</shortdescription></doc></function><function name="toXML" undoc="false" access="private"><doc><return name="$xml" type="String"/><description/><shortdescription>converts the current object into xml data</shortdescription></doc></function><function name="getBoundary" undoc="false" access="private"><doc><return name="$Boundary" type="String"/><description/><shortdescription>returns a Unique Boundary ID for the current object</shortdescription></doc></function><function name="getContentID" undoc="false" access="private"><doc><return name="$ContentID" type="String"/><description/><shortdescription>returns a Unique Content ID for the current object</shortdescription></doc></function><function name="toPlainText" undoc="false" access="private"><doc><return name="$PlainText" type="string"/><description>if you&amp;apos;ve got a rather complex object, overwrite this function to get better results</description><shortdescription>returns a &amp;quot;stupid&amp;quot; plain text conversion of the current object.</shortdescription></doc></function><function name="getMailData" undoc="false" access="private"><doc><return name="$MailData" type="String"/><description>Overwrite this function for Non-Text Objects like Images</description><shortdescription>Converts HTML Code to Mail-conform HTML Code</shortdescription></doc></function><function name="upgrade" undoc="false" access="private"><doc><return type="void"/><description>example:$object = new jpeto_object (&amp;quot;&amp;quot;, &amp;quot;DE&amp;quot;, &amp;quot;O&amp;quot;);  // we don&amp;apos;t know which type of object!$object-&amp;gt;j_UniqueID = 1234;$object-&amp;gt;upgrade();  // now we have the complete object</description><shortdescription>upgrades an object of an unknown type to the complete object</shortdescription></doc></function><function name="getOrigin" undoc="false" access="private"><doc><parameter name="$excludeJpetoType" default="0" type="Integer">the jpeto_type to exclude</parameter><return name="$URL" type="String"> the URL of the original node (or false)</return><description/><shortdescription>this function returns the original URL of the current object. (the node to which the current object was mapped first)</shortdescription></doc></function><variable name="$j_UniqueID" access="private" type="integer"><doc><description/><shortdescription>unique identifier of current object</shortdescription></doc></variable><variable name="$o_UniqueID" access="private" type="integer"><doc><description/><shortdescription>unique identifier of current object (backup copy of $UniqueID)</shortdescription></doc></variable><variable name="$o_Language" access="private" type="string">&amp;quot;DE&amp;quot;<doc><description/><shortdescription>language of the current element (backup copy of $Language)</shortdescription></doc></variable><variable name="$o_Version" access="private" type="string">&amp;quot;O&amp;quot;<doc><description/><shortdescription>Version</shortdescription></doc></variable><variable name="$j_JpetoType" access="private" type="integer"><doc><overriden src="jpeto_core"/><description/><shortdescription>Type of current element</shortdescription></doc></variable><variable name="$j_OnlineStart" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Date from which on the object is online</shortdescription></doc></variable><variable name="$j_OnlineEnd" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Date from which on the object is offline</shortdescription></doc></variable><variable name="$j_isOnline" access="private" type="integer">1<doc><description/><shortdescription>object is online (=1) or offline (=0)</shortdescription></doc></variable><variable name="$j_Owner" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Owner of the Current Object</shortdescription></doc></variable><variable name="$j_CreatedOn" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Date on which the object was created</shortdescription></doc></variable><variable name="$j_LastModified" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Date on which the object was last modified</shortdescription></doc></variable><variable name="$j_Comments" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>current Comments (internal)</shortdescription></doc></variable><variable name="$j_Expires" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Expiry Date</shortdescription></doc></variable><variable name="$j_Restrictions" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Access Restrictions applying to current object</shortdescription></doc></variable><variable name="$j_lockedBy" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Usewr that locked the current object</shortdescription></doc></variable><variable name="$j_lockStart" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>timestamp when object was locked extended ISO 8601 format &amp;quot;yyyy-mm-dd hh:mm:ss&amp;quot;</shortdescription></doc></variable><variable name="$j_Name" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>name of jpeto_type</shortdescription></doc></variable><variable name="$j_ClassName" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Name of the Type&amp;apos;s Class</shortdescription></doc></variable><variable name="$j_Subtable" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Subtable to join from jpeto_type</shortdescription></doc></variable><variable name="$j_AccessLevel" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>AccessLevel of jpeto_type</shortdescription></doc></variable><variable name="$j_Enabled" access="private" type="integer">1<doc><description/><shortdescription>jpeto_type Enabled</shortdescription></doc></variable><variable name="$j_Timeless" access="private" type="integer"><doc><description/><shortdescription>jpeto_type timeless</shortdescription></doc></variable><variable name="$j_Project" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>project</shortdescription></doc></variable><variable name="$ExtraQuery" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>ExtraQuery Parameter (Syntax: &amp;quot; AND isOnline = 1&amp;quot;)</shortdescription></doc></variable><variable name="$j_SortPos" access="private" type="integer"><doc><description/><shortdescription>SortPosition in jpeto_mapper</shortdescription></doc></variable><variable name="$j_PrevJpetoType" access="private" type="integer"><doc><description/><shortdescription>JpetoType of previous Object (if in List)</shortdescription></doc></variable><variable name="$j_NextJpetoType" access="private" type="integer"><doc><description/><shortdescription>JpetoType of next Object (if in List)</shortdescription></doc></variable><variable name="$CacheFile" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Name of the current Object&amp;apos;s Cachefile</shortdescription></doc></variable><variable name="$Content" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>Container for HTML of child-objects</shortdescription></doc></variable><variable name="$order" access="private" type="string">&amp;quot;&amp;quot;<doc><description/><shortdescription>up or down</shortdescription></doc></variable><variable name="$P_Recordset" access="private" type="unknown"><doc></doc></variable><variable name="$P_Pointer" access="private" type="unknown"><doc></doc></variable><uses type="include_once" file="jpeto/jpeto_core.php" undoc="true"><doc></doc></uses><uses type="include_once" file="jpeto/jpeto_user.php" undoc="true"><doc></doc></uses><uses type="include_once" file="jpeto/jpeto_mapper.php" undoc="true"><doc></doc></uses><uses type="include_once" file="jpeto/&amp;quot;.$SubObject-&amp;gt;j_ClassName.&amp;quot;.php" undoc="true"><doc></doc></uses><uses type="include_once" file="jpeto/&amp;quot;.$tmp-&amp;gt;j_ClassName.&amp;quot;.php" undoc="true"><doc></doc></uses><inherited src="jpeto_core" type="functions"><element>jpeto_core</element><element>getkey</element><element>getuniqueidfromkey</element><element>getlanguagefromkey</element><element>getversionfromkey</element><element>conv</element><element>translate</element><element>reconv</element></inherited><inherited src="jpeto_core" type="variables"><element>$j_language</element><element>$j_version</element><element>$o_jpetotype</element><element>$adminmode</element><element>$islast</element><element>$isfirst</element><element>$recordset</element><element>$pointer</element><element>$subtype</element><element>$j_parentobject</element></inherited><inherited src="jpeto_core" type="uses"><element>jpeto/jpeto_config.php</element><element>jpeto/jpeto_util.php</element><element>jpeto/jpeto_cache_manager.php</element></inherited><path><parent>jpeto_core</parent></path><baseclass>jpeto_core</baseclass><subclasses><subclass>jpeto_container</subclass><subclass>jpeto_answer</subclass><subclass>jpeto_article</subclass><subclass>jpeto_daterange</subclass><subclass>jpeto_ecard_button</subclass><subclass>jpeto_event</subclass><subclass>jpeto_extended_container</subclass><subclass>jpeto_extphp</subclass><subclass>jpeto_file</subclass><subclass>jpeto_forum</subclass><subclass>jpeto_forummessage</subclass><subclass>jpeto_glossary</subclass><subclass>jpeto_inquiry</subclass><subclass>jpeto_inquiry_option</subclass><subclass>jpeto_link</subclass><subclass>jpeto_location</subclass><subclass>jpeto_node</subclass><subclass>jpeto_objectpicker</subclass><subclass>jpeto_page</subclass><subclass>jpeto_picture</subclass><subclass>jpeto_product</subclass><subclass>jpeto_question</subclass><subclass>jpeto_questionnaire</subclass><subclass>jpeto_search</subclass><subclass>jpeto_sitemap</subclass><subclass>jpeto_table</subclass><subclass>jpeto_tablerow</subclass><subclass>jpeto_timerange</subclass><subclass>jpeto_tms_customer</subclass><subclass>jpeto_tms_expense</subclass><subclass>jpeto_tms_project</subclass><subclass>jpeto_tms_projectphase</subclass><subclass>jpeto_tms_travel</subclass><subclass>jpeto_tms_user</subclass><subclass>jpeto_tms_worktime</subclass></subclasses></class></phpdoc>