Public Member Functions

IsisFinder Class Reference

Inheritance diagram for IsisFinder:
IsisConnector IsisMap IsisReader IsisAudit

List of all members.

Public Member Functions

 nextRepetition ($field, $entry=1)
 nextField ($field, $entry=1)
 nextSubfield ($field, $subfield, $entry=1)
 hasSubfieldInRows ($field, $subfield)
 nextResult ($field, $item, $search, $entry=1, $match=TRUE)
 matchMainItem ($field, $row, $search, $match)
 matchSubfield ($field, $subfield, $row, $search, $match)

Detailed Description

Provides Isis Database search methods.


Member Function Documentation

IsisFinder::hasSubfieldInRows ( field,
subfield 
)

Check if a field result has a given subfield.

Parameters:
$field Field data.
$subfield Subfield.
Returns:
True if result has the subfield, false otherwise.
IsisFinder::matchMainItem ( field,
row,
search,
match 
)

Check if a main item match a given value.

Parameters:
$field Field data.
$row Row number.
$search Search token.
$match Set to false do find the next result where the item has not the token specified in $search.
Returns:
True if match, false otherwise.
IsisFinder::matchSubfield ( field,
subfield,
row,
search,
match 
)

Check if a subfield match a given value.

Parameters:
$field Field data.
$subfield Subfield name.
$row Row number.
$search Search token.
$match Set to false do find the next result where the item has not the token specified in $search.
Returns:
True if match, false otherwise.
IsisFinder::nextField ( field,
entry = 1 
)

Find the next occurrence of a field.

Parameters:
$entry Start entry number to begin the search.
$field Field data.
Returns:
Next occurrence.
IsisFinder::nextRepetition ( field,
entry = 1 
)

Find the next repetition of a field.

Parameters:
$entry Start entry number to begin the search.
$field Field data.
Returns:
Next repetition entry and result.
IsisFinder::nextResult ( field,
item,
search,
entry = 1,
match = TRUE 
)

Search the next match inside a result.

Parameters:
$field Field data.
$item Item name (main field or subfield).
$search Search token.
$entry Start entry number to begin the search.
$match Set to false do find the next result where the item has not the token specified in $search.
IsisFinder::nextSubfield ( field,
subfield,
entry = 1 
)

Find the next occurrence of a subfield.

Parameters:
$entry Start entry number to begin the search.
$field Field data.
$subfield Subfield name.
Returns:
Next occurrence.

The documentation for this class was generated from the following file:
 All Classes Functions Variables