Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

Methods inherited from jpeto_core

jpeto_core, getkey, getuniqueidfromkey, getlanguagefromkey, getversionfromkey, conv, translate, reconv

Public Method Summary

void

jpeto_search([ string $Language, string $Version ])

Constructor for jpeto_search

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

Private Field Summary

array

$j_SearchIn

Configuration for jpeto_search
array

$Resultset

the resultset
array

$IconArray

the IconArray
string

$j_Phrase

Phrase to search for
string

$touched

Aready crawled objects

Included files inherited from jpeto_object

jpeto/jpeto_core.php, jpeto/jpeto_user.php, jpeto/jpeto_mapper.php, j_classname.".php">jpeto/".$subobject->j_classname.".php, j_classname.".php">jpeto/".$tmp->j_classname.".php

Included files inherited from jpeto_core

jpeto/jpeto_config.php, jpeto/jpeto_util.php, jpeto/jpeto_cache_manager.php

Included files Summary, Type: include_once

jpeto/jpeto_object.php Warning: documentation is missing.
jpeto/jpeto_node.php Warning: documentation is missing.
jpeto/jpeto_page.php Warning: documentation is missing.
jpeto/".$ClassName.".php Warning: documentation is missing.

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
int $UniqueID
Returns void


checkResult

private void checkResult( array $Recordset )

  fills $this->Resultset with Pages found.

Parameter
array $Recordset
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


Included Files, Type: include_once

jpeto/jpeto_object.php

include_once( jpeto/jpeto_object.php )



jpeto/jpeto_node.php

include_once( jpeto/jpeto_node.php )



jpeto/jpeto_page.php

include_once( jpeto/jpeto_page.php )



jpeto/".$ClassName.".php

include_once( jpeto/".$ClassName.".php )




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta