Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
DocumentList Class Reference
+ Inheritance diagram for DocumentList:
+ Collaboration diagram for DocumentList:

Public Member Functions

 __construct (SearchDoc &$s=null)
 
 count ()
 
 rewind ()
 
 next ()
 
 key ()
 
 current ()
 
 valid ()
 
 getSearchDocument ()
 
 addDocumentIdentificators (array $ids, $useInitid=true)
 
 listMap ($hookFunction)
 

Data Fields

 $length = 0
 

Detailed Description

Definition at line 17 of file Class.DocumentList.php.

Constructor & Destructor Documentation

__construct ( SearchDoc $s = null)

Definition at line 27 of file Class.DocumentList.php.

+ Here is the call graph for this function:

Member Function Documentation

addDocumentIdentificators ( array  $ids,
  $useInitid = true 
)

Definition at line 103 of file Class.DocumentList.php.

+ Here is the call graph for this function:

count ( )

get number of returned documents can be upper of real length due to callback map

Returns
int

Definition at line 37 of file Class.DocumentList.php.

current ( )

Definition at line 90 of file Class.DocumentList.php.

getSearchDocument ( )

Definition at line 98 of file Class.DocumentList.php.

key ( )

Definition at line 86 of file Class.DocumentList.php.

listMap (   $hookFunction)

apply a callback on each document if callback return false, the document is skipped from list

Returns
void

Definition at line 124 of file Class.DocumentList.php.

next ( )

Definition at line 73 of file Class.DocumentList.php.

rewind ( )

Definition at line 68 of file Class.DocumentList.php.

valid ( )

Definition at line 94 of file Class.DocumentList.php.

Field Documentation

$length = 0

Definition at line 25 of file Class.DocumentList.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase