Cheetah
|
Public Member Functions | |
__construct (&$aFilteredSettings, &$aDisplaySettings, $sPageName) | |
genBrowseLink ( $sName, $sValue, $sLink, $sIcon, $bImgDetect=true) | |
getBlockCode_SettingsBlock () | |
genLinkLocation ( $sType, $sTypeValue) | |
getBlockCode_SearchedMembersBlock () | |
![]() | |
__construct ($sPageName=null) | |
getSexCount ( $PrimaryQuery) | |
getAgesCount ( $PrimaryQuery) | |
getCountriesCount ( $PrimaryQuery) | |
_getGlobalStatistics ( $sSex='', $sAge='', $sCountry='', $sPhoto='', $sOnline='', $sType='') | |
writeCache ( $aMembersInfo) | |
![]() | |
checkAjaxMode () | |
createCache () | |
load () | |
isLoaded () | |
getPageTitle () | |
getPageWidth () | |
getPageClass () | |
getViewerInfo () | |
forcePageWidth ($iWidth) | |
gen () | |
genPageEmpty () | |
genOnlyBlock ( $iBlockID, $sDynamicType='tab') | |
getCode () | |
genColumnsHeader () | |
genColumnsFooter () | |
genColumn ( $iColumn) | |
getBlockCode_Topest ($iColumn) | |
genColumnHeader ( $iColumn, $fColumnWidth) | |
genColumnFooter ( $iColumn) | |
genBlock ( $iBlockID, $aBlock, $bStatic=true, $sDynamicType='tab') | |
_getBlockCaptionCode ($iBlockID, $aBlock, $aBlockCode, $bStatic=true, $sDynamicType='tab') | |
_getBlockTopCode ($iBlockID, $aBlock, $aBlockCode, $bStatic=true, $sDynamicType='tab') | |
_getBlockBottomCode ($iBlockID, $aBlock, $aBlockCode, $bStatic=true, $sDynamicType='tab') | |
isBlockVisible ( $sVisible) | |
getBlockBottomCode ( $iBlockID, $aLinks) | |
getBlockCode_MemberStat () | |
getBlockCode_Custom ( $iBlockID, $sContent) | |
getBlockCode_Echo ( $iBlockID, $sContent) | |
getBlockCode_TrueText ( $iBlockID, $sContent) | |
getBlockCode_Text ($iBlockID, $sContent) | |
getBlockCode_XML ( $iBlockID, $sContent) | |
getBlockCode_PHP ( $iBlockID, $sContent) | |
getBlockCode_Code ( $iBlockID, $sContent) | |
getBlockCode_RSS ( $iBlockID, $sContent) | |
getBlockCode_LoginSection ($iBlockID, $sParams='') | |
GenFormWrap ($sMainContent, $sPage, $sFunctionName, $iMaxThumbWidth, $iThumbsCnt) | |
getBlocksCacheObject () | |
genBlocksCacheKey ($sId) | |
Public Attributes | |
$bShowBothCoupleProfiles = true | |
$aParameters | |
$aAdditionalParameters | |
$oSearchProfileTmpl | |
$aDisplaySettings | |
$_sSqlActive = "`Profiles`.`Status` = 'Active'" | |
![]() | |
$aMembersInfo | |
$aDateBirthRange | |
$aSexRange | |
$aCountryRange | |
$bPermalinkMode | |
$sKeyName | |
$iMemberOnlineTime | |
![]() | |
$sPageName | |
$aPage | |
$sCode = '' | |
$sWhoViews = 'non' | |
$iMemberID = 0 | |
$bAjaxMode = false | |
$aColumnsWidth = array () | |
$sTableName = 'sys_page_compose' | |
$sCacheFile | |
$oCacher = null | |
Additional Inherited Members | |
![]() | |
static | getBlockCaptionItemCode ( $iBlockID, $aLinks) |
static | getBlockCaptionMenu ( $iBlockID, $aLinks) |
Definition at line 12 of file ChBaseBrowse.php.
ChBaseBrowse::__construct | ( | & | $aFilteredSettings, |
& | $aDisplaySettings, | ||
$sPageName | |||
) |
Class constructor ;
: | $aFilteredSettings | (array) ; : sex (string) - set filter by sex, : age (string) - set filter by age, : country (string) - set filter by country, : photos_only (string) - set filter 'with photo only', : online_only (string) - set filter 'online only', |
: | $aDisplaySettings | (array) ; : page (integer) - current page, : per_page (integer) - number ellements for per page, : sort (string) - sort parameters for SQL instructions, : mode (mode) - switch mode to extended and simple, |
: | $sPageName | (string) - page name (need for page builder); |
Reimplemented in ChTemplBrowse, ChTemplBrowse, and ChTemplBrowse.
Definition at line 47 of file ChBaseBrowse.php.
ChBaseBrowse::genBrowseLink | ( | $sName, | |
$sValue, | |||
$sLink, | |||
$sIcon, | |||
$bImgDetect = true |
|||
) |
Function will generate the browse link ;
: | $sName | (string) - link's name; |
: | $sValue | (string) - link's extended value; |
: | $sLink | (string) - link's location; |
: | $sIco | (string) - link's icon; |
: | $bImgDetect | (boolean) - if isset this param img path will detect with "getTemplateIcon"; |
Definition at line 113 of file ChBaseBrowse.php.
ChBaseBrowse::genLinkLocation | ( | $sType, | |
$sTypeValue | |||
) |
function will generate location for browse link ;
: | $sType | (string) - type of link ; |
: | $sTypeValue | (string) - value of link ; |
Definition at line 563 of file ChBaseBrowse.php.
ChBaseBrowse::getBlockCode_SearchedMembersBlock | ( | ) |
Function will find all needed members by some criteria ;
Definition at line 601 of file ChBaseBrowse.php.
ChBaseBrowse::getBlockCode_SettingsBlock | ( | ) |
Function will generate block with members global statistics ;
Function will generate sex block ;
: | $rObject | (resource) - link on created object; |
: | $sCurrentKey | (string) - key name, need for search into cacje file; |
Function will generate the Age
block ;
: | $oObject | (object) - link on created object; |
: | $sCurrentKey | (string) - key name, needed for search into cache file; |
Function will generate country block ;
: | $oObject | (object) - link on created object; |
: | $sCurrentKey | (string) - key name, need for search into cacje file; |
Function will generate js control box (toggle block) ;
: | $sCaption | (string) - Block's caption ; |
: | $sBlockID | (string) - Block's ID ; |
: | $bIsClosed | (boolean) - if isset this param, that block will be hidde ; |
Function will generate container for browse settings ;
: | $sCaption | (string) - Block's caption ; |
: | $sContent | (string) - Block's content ; |
Definition at line 144 of file ChBaseBrowse.php.
ChBaseBrowse::$_sSqlActive = "`Profiles`.`Status` = 'Active'" |
Definition at line 28 of file ChBaseBrowse.php.
ChBaseBrowse::$aAdditionalParameters |
Definition at line 19 of file ChBaseBrowse.php.
ChBaseBrowse::$aDisplaySettings |
Definition at line 25 of file ChBaseBrowse.php.
ChBaseBrowse::$aParameters |
Definition at line 17 of file ChBaseBrowse.php.
ChBaseBrowse::$bShowBothCoupleProfiles = true |
Definition at line 14 of file ChBaseBrowse.php.
ChBaseBrowse::$oSearchProfileTmpl |
Definition at line 22 of file ChBaseBrowse.php.