|
|
|
File: c:/web/jpeto2/jpeto/jpeto_search.php
JPETo - James's Publishing & Editing Tool - jpeto_objects
jpeto_search
jpeto_core | +-- jpeto_object | +-- jpeto_search
This class provides the search functionality
|
private class jpeto_search extends jpeto_object
This class provides the search functionality
|
| |
|
Methods inherited from jpeto_object |
| jpeto_object, geticon, createadmininterface, getfields, getsubtype, getjpetotypedetails, getjpetotype, getjoin, isonline, get_jpeto_object, numchildren, isexpired, islocked, lock, unlock, assigncontent, striplastlinebreak, get_next_jpeto_object, mapfields, maptypefields, mapobjectfields, newuniqueid, debug, delete, getonlinestatusimage, getfromurlkey, gettourlkey, addadminlink, iscached, getcachefilename, tocache, getcache, purgecache, store, getdefaultvalues, addsubobject, isrestricted, todetailhtml, xmlformat, xmlelement, toxml, getboundary, getcontentid, toplaintext, getmaildata, upgrade, getorigin |
|
|
|
|
|
Private Method Summary |
| void |
findPage(int $UniqueID)Tries to find the page the object with the given UniqueID is mapped to |
| void |
checkResult(array $Recordset)fills $this->Resultset with Pages found. |
| void |
updateObject()updates the current object in the subtableWarning: documentation is missing. |
| void |
insertObject()inserts the current object in the subtableWarning: documentation is missing. |
| void |
log()Warning: documentation is missing. |
| void |
do_search()Warning: documentation is missing. |
| void |
toHTML()returns the current object rendered as htmlWarning: documentation is missing. |
|
Fields inherited from jpeto_object |
| $j_uniqueid, $o_uniqueid, $o_language, $o_version, $j_jpetotype, $j_onlinestart, $j_onlineend, $j_isonline, $j_owner, $j_createdon, $j_lastmodified, $j_comments, $j_expires, $j_restrictions, $j_lockedby, $j_lockstart, $j_name, $j_classname, $j_subtable, $j_accesslevel, $j_enabled, $j_timeless, $j_project, $extraquery, $j_sortpos, $j_prevjpetotype, $j_nextjpetotype, $cachefile, $content, $order, $p_recordset, $p_pointer |
|
Fields inherited from jpeto_core |
| $j_language, $j_version, $j_jpetotype, $o_jpetotype, $adminmode, $islast, $isfirst, $recordset, $pointer, $subtype, $j_parentobject |
|
|
|
|
|
|
|
|
|
Public Method Details |
jpeto_search |
|
public void jpeto_search( [ string $Language, string $Version ] )
|
| |
Constructor for jpeto_search
|
| Parameter |
|
| string |
$Language |
= >>"DE"<< |
|
sets the current language (Default: DE) |
|
|
| string |
$Version |
= >>"O"<< |
|
sets the current version (Default: O = Online) |
|
| Returns |
void |
|
|
Private Method Details |
findPage |
|
private void findPage( int $UniqueID )
|
| |
Tries to find the page the object with the given UniqueID is mapped to
|
| Parameter |
|
|
| Returns |
void |
|
checkResult |
|
private void checkResult( array $Recordset )
|
| |
fills $this->Resultset with Pages found.
|
| Parameter |
|
|
| Returns |
void |
|
updateObject |
|
private void updateObject( )
|
| |
updates the current object in the subtable
Warning: documentation is missing.
|
| Returns |
void |
|
insertObject |
|
private void insertObject( )
|
| |
inserts the current object in the subtable
Warning: documentation is missing.
|
| Returns |
void |
|
log |
|
private void log( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
do_search |
|
private void do_search( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
toHTML |
|
private void toHTML( )
|
| |
returns the current object rendered as html
This is just a dummy that has to be overwritten by the extending class,depending on the way of presentation
Warning: documentation is missing.
|
| Returns |
void |
|
|
Private Field Details |
$j_SearchIn |
|
private array $j_SearchIn
>>array()<<
Configuration for jpeto_search
|
|
$Resultset |
|
private array $Resultset
>>array()<<
the resultset
|
|
$IconArray |
|
private array $IconArray
>>array()<<
the IconArray
|
|
$j_Phrase |
|
private string $j_Phrase
>>""<<
Phrase to search for
|
|
$touched |
|
private string $touched
>>Array()<<
Aready crawled objects
|
|
|
|
|
|
|
|
| PHPDoc 1.0beta |