Cheetah
All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
ChPhotosSearch Class Reference
Inheritance diagram for ChPhotosSearch:
ChTemplSearchResultSharedMedia ChBaseSearchResultSharedMedia ChBaseSearchResult ChWsbSearchResult

Public Member Functions

 __construct ($sParamName='', $sParamValue='', $sParamValue1='', $sParamValue2='')
 
 addCustomParts ()
 
 addAlbumJsCss ($bDynamic=false)
 
 getAlbumCovers ($iAlbumId, $aParams=array())
 
 getAlbumsBlock ($aSectionParams=array(), $aAlbumParams=array(), $aCustom=array())
 
 getAlbumCoverUrl (&$aIdent)
 
 displayAlbumUnit ($aData, $bCheckPrivacy=true)
 
 _getAlbumUnitItem ($iIndex, $aPicture, $aParams=array())
 
 getImgUrl ($sHash, $sImgType='browse')
 
 getLength ($sSize)
 
 getLatestFile ()
 
 serviceGetImage ($aImageInfo, $sImgType='thumb')
 
 serviceGetEntry ($iId, $sType='thumb')
 
 serviceGetItemArray ($iId, $sType='browse')
 
 serviceGetPhotoArray ($iId, $sType='thumb')
 
 _getImageFullInfo ($iId, $sType='thumb')
 
 _getImageDbInfo ($iId)
 
 _getImageFullUrl ($aImageInfo, $sType='thumb')
 
 _getPseud ()
 
 serviceGetProfileAlbumBlock ($iProfileId, $sSpecUrl='')
 
 servicePhotoBlock ($aParams)
 
 serviceProfilePhotoBlock ($aParams)
 
 serviceProfilePhoto ($iProfileId, $sType='icon', $sReturnType='link')
 
 serviceProfileCover ($iProfileId, $sType='file', $sReturnType='link')
 
 serviceProfilePhotoSwitcherBlock ($aParams)
 
 serviceGetFilesInCat ($iId, $sCategory='')
 
 serviceGetFilesInAlbum ($iAlbumId, $isCheckPrivacy=false, $iViewer=0, $aLimits=array())
 
 serviceGetAllProfilePhotos ($iProfId, $aLimits=array())
 
 serviceGetWallPost ($aEvent)
 
 serviceGetWallPostOutline ($aEvent)
 
 getProfilePhotoBlock ($aParams)
 
 getProfilePhoto ($aParams)
 
 getPhotoBlock ($aParams=array())
 
 getSwitcherUnit (&$aData, $aShowParams=array(), $aAddElems=array())
 
 getModuleFolder ()
 
 getRssUnitImage (&$a, $sField)
 
- Public Member Functions inherited from ChTemplSearchResultSharedMedia
 __construct ($sModuleClass='')
 
 __construct ($sModuleClass='')
 
 __construct ($sModuleClass='')
 
- Public Member Functions inherited from ChBaseSearchResultSharedMedia
 getCurrentUrl ($sType, $iId=0, $sUri='', $aOwner='')
 
 displaySearchUnit ($aData)
 
 getSearchUnitShort ($aData)
 
 getSearchUnit ($aData)
 
 getCurrentAlbum ($sAlbumUri)
 
 displayMenu ()
 
 getAlterOrder ()
 
 getTopMenu ($aExclude=array())
 
 getBrowseBlock ($aParams, $aCustom=array(), $sMainUrl='', $bClearJoins=true)
 
 _getSharedThumb ($iId, $sFileLink, $sHash='')
 
 displaySearchBox ($sCode, $sPaginate='', $bAdminBox=false)
 
 getFilesInCatArray ($iId, $sCategory='')
 
 getFilesInAlbumArray ($iAlbumId, $aLimits=array())
 
 getProfileFiles ($iProfId, $aLimits=array())
 
 getAlbumList ($iPage=1, $iPerPage=10, $aCond=array())
 
 serviceGetLength ($iTime)
 
 serviceGetFilesInAlbum ($iAlbum)
 
 serviceGetAlbumPrivacy ($iAlbumId, $iViewer=0)
 
 serviceGetProfileAlbumsBlock ($iProfileId, $sSpecUrl='')
 
 serviceGetProfileAlbumFiles ($iProfileId)
 
 checkMemAction ($iFileOwner, $sAction='view')
 
 getRssUnitLink (&$a)
 
 serviceGetWallPostComment ($aEvent, $aParams=array())
 
- Public Member Functions inherited from ChBaseSearchResult
 __construct ()
 
 isPermalinkEnabled ()
 
 displayResultBlock ()
 
 _transformData ($aUnit, $sTempl, $sCssHeader='')
 
 showPagination ($aParams=array())
 
 getLinkAddByPrams ($aExclude=array())
 
 clearFilters ($aPassParams=array(), $aPassJoins=array())
 
 fillFilters ($aParams)
 
 getBottomMenu ($sAllLinkType='browseAll', $iId=0, $sUri='', $aExclude=array(), $bPgnSim=TRUE)
 
 serviceGetBrowseBlock ($aParams, $sMainUrl='', $aCustom=array())
 
 serviceGetAllCount ($aFilter, $aJoin=array())
 
- Public Member Functions inherited from ChWsbSearchResult
 processing ()
 
 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 ()
 

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='')
 
- Public Attributes inherited from ChBaseSearchResultSharedMedia
 $bDynamic = false
 
 $bAdminMode = false
 
 $sTemplUnit
 
 $aConstants = array()
 
 $aPermalinks = array()
 
 $sProfileCatType
 
 $aAddPartsConfig = array()
 
 $oTemplate
 
 $sCurrentAlbum
 
 $sModuleClass
 
 $oModule
 
 $oPrivacy
 
- Public Attributes inherited from ChBaseSearchResult
 $aPermalinks
 
 $aConstants
 
- Public Attributes inherited from ChWsbSearchResult
 $aCurrent
 
 $aPseud
 
 $id
 
 $iRate = 1
 
 $oRate = null
 
 $bCustomParts = false
 

Detailed Description

Definition at line 10 of file ChPhotosSearch.php.

Constructor & Destructor Documentation

◆ __construct()

ChPhotosSearch::__construct (   $sParamName = '',
  $sParamValue = '',
  $sParamValue1 = '',
  $sParamValue2 = '' 
)

Definition at line 12 of file ChPhotosSearch.php.

Member Function Documentation

◆ _getAlbumUnitItem()

ChPhotosSearch::_getAlbumUnitItem (   $iIndex,
  $aPicture,
  $aParams = array() 
)

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 154 of file ChPhotosSearch.php.

◆ _getImageDbInfo()

ChPhotosSearch::_getImageDbInfo (   $iId)

Definition at line 293 of file ChPhotosSearch.php.

◆ _getImageFullInfo()

ChPhotosSearch::_getImageFullInfo (   $iId,
  $sType = 'thumb' 
)

Definition at line 256 of file ChPhotosSearch.php.

◆ _getImageFullUrl()

ChPhotosSearch::_getImageFullUrl (   $aImageInfo,
  $sType = 'thumb' 
)

Definition at line 319 of file ChPhotosSearch.php.

◆ _getPseud()

ChPhotosSearch::_getPseud ( )

Reimplemented from ChWsbSearchResult.

Definition at line 327 of file ChPhotosSearch.php.

◆ addAlbumJsCss()

ChPhotosSearch::addAlbumJsCss (   $bDynamic = false)

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 105 of file ChPhotosSearch.php.

◆ addCustomParts()

ChPhotosSearch::addCustomParts ( )

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 96 of file ChPhotosSearch.php.

◆ displayAlbumUnit()

ChPhotosSearch::displayAlbumUnit (   $aData,
  $bCheckPrivacy = true 
)

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 143 of file ChPhotosSearch.php.

◆ getAlbumCovers()

ChPhotosSearch::getAlbumCovers (   $iAlbumId,
  $aParams = array() 
)

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 114 of file ChPhotosSearch.php.

◆ getAlbumCoverUrl()

ChPhotosSearch::getAlbumCoverUrl ( $aIdent)

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 138 of file ChPhotosSearch.php.

◆ getAlbumsBlock()

ChPhotosSearch::getAlbumsBlock (   $aSectionParams = array(),
  $aAlbumParams = array(),
  $aCustom = array() 
)

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 122 of file ChPhotosSearch.php.

◆ getImgUrl()

ChPhotosSearch::getImgUrl (   $sHash,
  $sImgType = 'browse' 
)

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 193 of file ChPhotosSearch.php.

◆ getLatestFile()

ChPhotosSearch::getLatestFile ( )

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 203 of file ChPhotosSearch.php.

◆ getLength()

ChPhotosSearch::getLength (   $sSize)

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 198 of file ChPhotosSearch.php.

◆ getModuleFolder()

ChPhotosSearch::getModuleFolder ( )

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 759 of file ChPhotosSearch.php.

◆ getPhotoBlock()

ChPhotosSearch::getPhotoBlock (   $aParams = array())

Definition at line 562 of file ChPhotosSearch.php.

◆ getProfilePhoto()

ChPhotosSearch::getProfilePhoto (   $aParams)

Definition at line 493 of file ChPhotosSearch.php.

◆ getProfilePhotoBlock()

ChPhotosSearch::getProfilePhotoBlock (   $aParams)

Definition at line 467 of file ChPhotosSearch.php.

◆ getRssUnitImage()

ChPhotosSearch::getRssUnitImage ( $a,
  $sField 
)

Return rss unit image (redeclared)

Reimplemented from ChWsbSearchResult.

Definition at line 764 of file ChPhotosSearch.php.

◆ getSwitcherUnit()

ChPhotosSearch::getSwitcherUnit ( $aData,
  $aShowParams = array(),
  $aAddElems = array() 
)

Definition at line 716 of file ChPhotosSearch.php.

◆ serviceGetAllProfilePhotos()

ChPhotosSearch::serviceGetAllProfilePhotos (   $iProfId,
  $aLimits = array() 
)

Definition at line 439 of file ChPhotosSearch.php.

◆ serviceGetEntry()

ChPhotosSearch::serviceGetEntry (   $iId,
  $sType = 'thumb' 
)

Definition at line 240 of file ChPhotosSearch.php.

◆ serviceGetFilesInAlbum()

ChPhotosSearch::serviceGetFilesInAlbum (   $iAlbumId,
  $isCheckPrivacy = false,
  $iViewer = 0,
  $aLimits = array() 
)

Definition at line 424 of file ChPhotosSearch.php.

◆ serviceGetFilesInCat()

ChPhotosSearch::serviceGetFilesInCat (   $iId,
  $sCategory = '' 
)

Reimplemented from ChBaseSearchResultSharedMedia.

Definition at line 413 of file ChPhotosSearch.php.

◆ serviceGetImage()

ChPhotosSearch::serviceGetImage (   $aImageInfo,
  $sImgType = 'thumb' 
)

Get image of the specified type by image id

Parameters
$aImageInfoimage info array with the following info $aImageInfo['Avatar'] - photo id, NOTE: it not relatyed to profiles avataras module at all
$sImgTypeimage type

Definition at line 229 of file ChPhotosSearch.php.

◆ serviceGetItemArray()

ChPhotosSearch::serviceGetItemArray (   $iId,
  $sType = 'browse' 
)

Definition at line 246 of file ChPhotosSearch.php.

◆ serviceGetPhotoArray()

ChPhotosSearch::serviceGetPhotoArray (   $iId,
  $sType = 'thumb' 
)

Definition at line 251 of file ChPhotosSearch.php.

◆ serviceGetProfileAlbumBlock()

ChPhotosSearch::serviceGetProfileAlbumBlock (   $iProfileId,
  $sSpecUrl = '' 
)

Definition at line 342 of file ChPhotosSearch.php.

◆ serviceGetWallPost()

ChPhotosSearch::serviceGetWallPost (   $aEvent)

DEPRICATED, saved for backward compatibility

Definition at line 454 of file ChPhotosSearch.php.

◆ serviceGetWallPostOutline()

ChPhotosSearch::serviceGetWallPostOutline (   $aEvent)

DEPRICATED, saved for backward compatibility

Definition at line 462 of file ChPhotosSearch.php.

◆ servicePhotoBlock()

ChPhotosSearch::servicePhotoBlock (   $aParams)

Definition at line 357 of file ChPhotosSearch.php.

◆ serviceProfileCover()

ChPhotosSearch::serviceProfileCover (   $iProfileId,
  $sType = 'file',
  $sReturnType = 'link' 
)

Definition at line 391 of file ChPhotosSearch.php.

◆ serviceProfilePhoto()

ChPhotosSearch::serviceProfilePhoto (   $iProfileId,
  $sType = 'icon',
  $sReturnType = 'link' 
)

Definition at line 381 of file ChPhotosSearch.php.

◆ serviceProfilePhotoBlock()

ChPhotosSearch::serviceProfilePhotoBlock (   $aParams)

Definition at line 362 of file ChPhotosSearch.php.

◆ serviceProfilePhotoSwitcherBlock()

ChPhotosSearch::serviceProfilePhotoSwitcherBlock (   $aParams)

Definition at line 401 of file ChPhotosSearch.php.


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