Cheetah
Public Member Functions | Public Attributes | List of all members
ChSitesSearchResult Class Reference
Inheritance diagram for ChSitesSearchResult:
ChTemplSearchResult ChBaseSearchResult ChWsbSearchResult

Public Member Functions

 __construct ($sMode='', $sValue='', $sValue2='', $sValue3='')
 
 displayResultBlock ($bPagination=false, $isAjax=false)
 
 displaySearchUnit ($aData)
 
 showPagination ($aParams=array())
 
 showPaginationAjax ()
 
 getSitesMain ()
 
 getRssUnitLink (&$a)
 
 getRssUnitImage (&$a, $sField)
 
 getAlterOrder ()
 
- Public Member Functions inherited from ChTemplSearchResult
 __construct ()
 
 __construct ()
 
 __construct ()
 
- Public Member Functions inherited from ChBaseSearchResult
 isPermalinkEnabled ()
 
 getCurrentUrl ($sType, $iId, $sUri, $aOwner='')
 
 displayResultBlock ()
 
 displaySearchBox ($sCode, $sPaginate='', $bAdminBox=false)
 
 _transformData ($aUnit, $sTempl, $sCssHeader='')
 
 getLinkAddByPrams ($aExclude=array())
 
 clearFilters ($aPassParams=array(), $aPassJoins=array())
 
 fillFilters ($aParams)
 
 getTopMenu ($aExclude=array())
 
 getBottomMenu ($sAllLinkType='browseAll', $iId=0, $sUri='', $aExclude=array(), $bPgnSim=TRUE)
 
 getBrowseBlock ($aParams, $aCustom=array(), $sMainUrl='', $bClearJoins=true)
 
 serviceGetBrowseBlock ($aParams, $sMainUrl='', $aCustom=array())
 
 serviceGetAllCount ($aFilter, $aJoin=array())
 
- Public Member Functions inherited from ChWsbSearchResult
 processing ()
 
 addCustomParts ()
 
 rss ()
 
 setFieldUnit ($sFieldName, $sTableName, $sOperator='', $bRenameMode=true)
 
 displaySearchBox ($sCode, $sPaginate='')
 
 getSearchData ()
 
 getJoins ($bRenameMode=true)
 
 getSearchDataByParams ($aParams='')
 
 setConditionParams ()
 
 getCount ()
 
 getRestriction ()
 
 getLimit ()
 
 setSorting ()
 
 getSorting ($sSortType='last')
 
 setPaginate ()
 
 getSearchFieldsCond ($aFields, $sKeyword, $sPseud='')
 
 getMultiValues ($aValues)
 
 getRatePart ()
 
 _getPseud ()
 

Public Attributes

 $isError
 
 $_oMain
 
 $sUnitTemplate
 
 $oVotingView = null
 
 $sSitesBrowseUrl
 
 $sSitesBrowseAll
 
 $sUnitName
 
 $sMode
 
 $sThumbSize
 
 $aCurrent
 
- Public Attributes inherited from ChBaseSearchResult
 $aPermalinks
 
 $aConstants
 
- Public Attributes inherited from ChWsbSearchResult
 $aCurrent
 
 $aPseud
 
 $id
 
 $iRate = 1
 
 $oRate = null
 
 $bCustomParts = false
 

Additional Inherited Members

- Static Public Member Functions inherited from ChBaseSearchResult
static showAdminActionsPanel ($sWrapperId, $aButtons, $sCheckboxName='entry', $bSelectAll=true, $bSelectAllChecked=false, $sCustomHtml='')
 
static showAdminFilterPanel ($sFilterValue, $sInputId='filter_input_id', $sCheckboxId='filter_checkbox_id', $sFilterName='filter', $sOnApply='')
 

Detailed Description

Definition at line 10 of file ChSitesSearchResult.php.

Constructor & Destructor Documentation

◆ __construct()

ChSitesSearchResult::__construct (   $sMode = '',
  $sValue = '',
  $sValue2 = '',
  $sValue3 = '' 
)

Definition at line 52 of file ChSitesSearchResult.php.

Member Function Documentation

◆ displayResultBlock()

ChSitesSearchResult::displayResultBlock (   $bPagination = false,
  $isAjax = false 
)

Definition at line 336 of file ChSitesSearchResult.php.

◆ displaySearchUnit()

ChSitesSearchResult::displaySearchUnit (   $aData)

Reimplemented from ChWsbSearchResult.

Definition at line 354 of file ChSitesSearchResult.php.

◆ getAlterOrder()

ChSitesSearchResult::getAlterOrder ( )

Reimplemented from ChWsbSearchResult.

Definition at line 424 of file ChSitesSearchResult.php.

◆ getRssUnitImage()

ChSitesSearchResult::getRssUnitImage ( $a,
  $sField 
)

Return rss unit image (redeclared)

Reimplemented from ChWsbSearchResult.

Definition at line 416 of file ChSitesSearchResult.php.

◆ getRssUnitLink()

ChSitesSearchResult::getRssUnitLink ( $a)

Reimplemented from ChWsbSearchResult.

Definition at line 410 of file ChSitesSearchResult.php.

◆ getSitesMain()

ChSitesSearchResult::getSitesMain ( )

Definition at line 405 of file ChSitesSearchResult.php.

◆ showPagination()

ChSitesSearchResult::showPagination (   $aParams = array())

Reimplemented from ChBaseSearchResult.

Definition at line 367 of file ChSitesSearchResult.php.

◆ showPaginationAjax()

ChSitesSearchResult::showPaginationAjax ( )

Definition at line 384 of file ChSitesSearchResult.php.

Member Data Documentation

◆ $_oMain

ChSitesSearchResult::$_oMain

Definition at line 13 of file ChSitesSearchResult.php.

◆ $aCurrent

ChSitesSearchResult::$aCurrent
Initial value:
= array(
'name' => 'ch_sites',
'table' => 'ch_sites_main',
'ownFields' => array('id', 'url', 'title', 'entryUri', 'description', 'photo', 'commentsCount',
'date', 'ownerid', 'categories', 'tags', 'rate'),
'searchFields' => array('title', 'description', 'tags', 'categories'),
'restriction' => array(
'activeStatus' => array('value' => 'approved', 'field'=>'status', 'operator'=>'='),
'tag' => array('value' => '', 'field' => 'tags', 'operator' => 'like'),
'category' => array('value' => '', 'field' => 'categories', 'operator' => 'like'),
'featured' => array('value' => '', 'field' => 'featured', 'operator' => '='),
'public' => array('value' => '', 'field' => 'allowView', 'operator' => 'in'),
),
'paginate' => array('perPage' => 10, 'page' => 1, 'totalNum' => 2, 'totalPages' => 1),
'sorting' => 'last',
'rss' => array(
'title' => '',
'link' => '',
'image' => '',
'profile' => 0,
'fields' => array (
'Link' => '',
'Title' => 'title',
'DateTimeUTS' => 'date',
'Desc' => 'description',
'Image' => 'photo',
),
),
'ident' => 'id'
)

Definition at line 21 of file ChSitesSearchResult.php.

◆ $isError

ChSitesSearchResult::$isError

Definition at line 12 of file ChSitesSearchResult.php.

◆ $oVotingView

ChSitesSearchResult::$oVotingView = null

Definition at line 15 of file ChSitesSearchResult.php.

◆ $sMode

ChSitesSearchResult::$sMode

Definition at line 19 of file ChSitesSearchResult.php.

◆ $sSitesBrowseAll

ChSitesSearchResult::$sSitesBrowseAll

Definition at line 17 of file ChSitesSearchResult.php.

◆ $sSitesBrowseUrl

ChSitesSearchResult::$sSitesBrowseUrl

Definition at line 16 of file ChSitesSearchResult.php.

◆ $sThumbSize

ChSitesSearchResult::$sThumbSize

Definition at line 20 of file ChSitesSearchResult.php.

◆ $sUnitName

ChSitesSearchResult::$sUnitName

Definition at line 18 of file ChSitesSearchResult.php.

◆ $sUnitTemplate

ChSitesSearchResult::$sUnitTemplate

Definition at line 14 of file ChSitesSearchResult.php.


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