iLike Class Reference

Inheritance diagram for iLike:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 hasViewPermission ($pContentType="")
 iLike ()
 search (&$pSearchHash)

Detailed Description

Definition at line 16 of file iLike.php.


Member Function Documentation

iLike::hasViewPermission ( pContentType = ""  ) 

Check to see if a given user has permission to search the selected content type

Parameters:
string $pContentType public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure TODO: this is extremely crude and we need a method to get the view permissions from all packages automagically

Definition at line 181 of file iLike.php.

Referenced by search().

iLike::iLike (  ) 

initiate class

Returns:
none public

Definition at line 23 of file iLike.php.

References BitBase::BitBase().

Here is the call graph for this function:

iLike::search ( &$  pSearchHash  ) 

search

Parameters:
array $pSearchHash basically the same parameters as a regular list public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 34 of file iLike.php.

References $contentType, $find, $gBitDbType, $gBitSystem, $gBitUser, $gLibertySystem, $ret, LibertyContent::getServicesSql(), hasViewPermission(), BitBase::prepGetList(), and tra().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 19:34:36 2007 for bitweaver by  doxygen 1.5.2