Cheetah
Public Member Functions | Public Attributes | List of all members
ChWsbBrowse Class Reference
Inheritance diagram for ChWsbBrowse:
ChWsbPageView ChBaseBrowse ChTemplBrowse

Public Member Functions

 __construct ($sPageName=null)
 
 getSexCount ( $PrimaryQuery)
 
 getAgesCount ( $PrimaryQuery)
 
 getCountriesCount ( $PrimaryQuery)
 
 _getGlobalStatistics ( $sSex='', $sAge='', $sCountry='', $sPhoto='', $sOnline='', $sType='')
 
 writeCache ( $aMembersInfo)
 
- Public Member Functions inherited from ChWsbPageView
 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

 $aMembersInfo
 
 $aDateBirthRange
 
 $aSexRange
 
 $aCountryRange
 
 $bPermalinkMode
 
 $sKeyName
 
 $iMemberOnlineTime
 
- Public Attributes inherited from ChWsbPageView
 $sPageName
 
 $aPage
 
 $sCode = ''
 
 $sWhoViews = 'non'
 
 $iMemberID = 0
 
 $bAjaxMode = false
 
 $aColumnsWidth = array ()
 
 $sTableName = 'sys_page_compose'
 
 $sCacheFile
 
 $oCacher = null
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbPageView
static getBlockCaptionItemCode ( $iBlockID, $aLinks)
 
static getBlockCaptionMenu ( $iBlockID, $aLinks)
 

Detailed Description

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 10 of file ChWsbBrowse.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbBrowse::__construct (   $sPageName = null)

@description : class constructor ;

Reimplemented from ChWsbPageView.

Definition at line 36 of file ChWsbBrowse.php.

Member Function Documentation

◆ _getGlobalStatistics()

ChWsbBrowse::_getGlobalStatistics (   $sSex = '',
  $sAge = '',
  $sCountry = '',
  $sPhoto = '',
  $sOnline = '',
  $sType = '' 
)

@description : function will generate array with all global statistics ;

Parameters
:$sSex(string) human's sex ;
:$sAge(string) human's age range (possibility format - '15-60' ) ;
:$sCountry(string) human's country ( use ISO2 format ) ;
:$sPhoto(string) if isset user's primary photo;
:$sOnline(string) if user online ;
:$sType(string) set specific type of member information ;
Returns
: array ;

Definition at line 173 of file ChWsbBrowse.php.

◆ getAgesCount()

ChWsbBrowse::getAgesCount (   $PrimaryQuery)

@description : function will return count of age ranges;

Parameters
:$PrimaryQuery(string) - additional sql query;
Returns
: Array hash with ages list;

Definition at line 112 of file ChWsbBrowse.php.

◆ getCountriesCount()

ChWsbBrowse::getCountriesCount (   $PrimaryQuery)

@description : function will return count of mens into counries;

Parameters
:$PrimaryQuery(string) - additional sql query;
Returns
: Array with countries list;

Definition at line 146 of file ChWsbBrowse.php.

◆ getSexCount()

ChWsbBrowse::getSexCount (   $PrimaryQuery)

@description : function will return count of male and female;

Parameters
:$PrimaryQuery(string) - additional sql query;
Returns
: Array hash with sex list;

Definition at line 90 of file ChWsbBrowse.php.

◆ writeCache()

ChWsbBrowse::writeCache (   $aMembersInfo)

@description : function will write data into cache file ;

Parameters
:$aMembersInfo(array) with all display parts ;
Returns
:

Definition at line 322 of file ChWsbBrowse.php.

Member Data Documentation

◆ $aCountryRange

ChWsbBrowse::$aCountryRange

Definition at line 22 of file ChWsbBrowse.php.

◆ $aDateBirthRange

ChWsbBrowse::$aDateBirthRange

Definition at line 16 of file ChWsbBrowse.php.

◆ $aMembersInfo

ChWsbBrowse::$aMembersInfo

Definition at line 13 of file ChWsbBrowse.php.

◆ $aSexRange

ChWsbBrowse::$aSexRange

Definition at line 19 of file ChWsbBrowse.php.

◆ $bPermalinkMode

ChWsbBrowse::$bPermalinkMode

Definition at line 25 of file ChWsbBrowse.php.

◆ $iMemberOnlineTime

ChWsbBrowse::$iMemberOnlineTime

Definition at line 30 of file ChWsbBrowse.php.

◆ $sKeyName

ChWsbBrowse::$sKeyName

Definition at line 28 of file ChWsbBrowse.php.


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