SimplOn PHP
 All Data Structures Namespaces Files Functions Variables
Public Member Functions | Data Fields | Protected Attributes
Search Class Reference
+ Inheritance diagram for Search:

Public Member Functions

 __construct ($id_or_elementsTypes=null, $storage=null, &$specialDataStorage=null)
 showView ($template_file= '')
 select ($template_file= '')
 showSearch ($template_file= '')
 showSelect ($template_file= '')
 processSearch ($params=null, $columns=null)
 index ()

Data Fields

 $elementsTypes
 $fields

Protected Attributes

 $parent

Detailed Description

Allows searches over multiple Elements.

Todo:
: allow to specify what fields to display; in case of auto obtaining the list of fields, then specify if it should be an intersect or union of the Element's Datas. Solve brain-blowing problem of fields with same name and different Search flag :S

Definition at line 35 of file Search.php.


Constructor & Destructor Documentation

__construct ( id_or_elementsTypes = null,
storage = null,
&$  specialDataStorage = null 
)

Definition at line 50 of file Search.php.


Member Function Documentation

index ( )

Default method that will be shown in case no methods have been specified.

Reimplemented from Element.

Definition at line 191 of file Search.php.

processSearch ( params = null,
columns = null 
)

Definition at line 166 of file Search.php.

select ( template_file = '')

Definition at line 139 of file Search.php.

showSearch ( template_file = '')

Definition at line 144 of file Search.php.

showSelect ( template_file = '')

Definition at line 155 of file Search.php.

showView ( template_file = '')

Definition at line 134 of file Search.php.


Field Documentation

$elementsTypes

Definition at line 42 of file Search.php.

$fields

Definition at line 46 of file Search.php.

$parent [protected]

Reimplemented from Element.

Definition at line 38 of file Search.php.


The documentation for this class was generated from the following file: