Cheetah
All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ChWsbFriendsPageView Class Reference
Inheritance diagram for ChWsbFriendsPageView:
ChWsbPageView

Public Member Functions

 __construct ($sPageName, &$aDisplayParameters, $iProfileID)
 
 getBlockCode_Friends ()
 
 getBlockCode_FriendsRequests ()
 
 getBlockCode_FriendsMutual ()
 
 getCutParam ( $sExceptParam, $sString)
 
- Public Member Functions inherited from ChWsbPageView
 __construct ( $sPageName)
 
 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)
 

Static Public Member Functions

static get_member_menu_bubble_online_friends ($iMemberId, $iOldCount=0)
 
static get_member_menu_bubble_friend_requests ($iMemberId, $iOldCount=0)
 
static get_member_menu_friends_list ($iMemberId=0)
 
- Static Public Member Functions inherited from ChWsbPageView
static getBlockCaptionItemCode ( $iBlockID, $aLinks)
 
static getBlockCaptionMenu ( $iBlockID, $aLinks)
 

Public Attributes

 $aDisplayParameters
 
 $iProfileID
 
 $oProfile
 
 $oSearchProfileTmpl
 
 $sCurrentPage
 
 $iMemberOnlineTime
 
- Public Attributes inherited from ChWsbPageView
 $sPageName
 
 $aPage
 
 $sCode = ''
 
 $sWhoViews = 'non'
 
 $iMemberID = 0
 
 $bAjaxMode = false
 
 $aColumnsWidth = array ()
 
 $sTableName = 'sys_page_compose'
 
 $sCacheFile
 
 $oCacher = null
 

Detailed Description

Definition at line 11 of file ChWsbFriendsPageView.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbFriendsPageView::__construct (   $sPageName,
$aDisplayParameters,
  $iProfileID 
)

@description : class constructor ;

Parameters
:$sPageName(string) - name of build page ;
:$aDisplayParameters(array) ; per_page (integer) - number of elements for per page ; page (integer) - current page ; mode (string) - will swith member view mode ; sort (string) - sorting parameters ;
:$iProfileID(integer) - member ID ;

Definition at line 37 of file ChWsbFriendsPageView.php.

Member Function Documentation

◆ get_member_menu_bubble_friend_requests()

static ChWsbFriendsPageView::get_member_menu_bubble_friend_requests (   $iMemberId,
  $iOldCount = 0 
)
static

Function will send count of member's friend requests;

Parameters
:$iMemberId(integer) - logged member's Id;
:$iOldCount(integer) - received old count of messages (if will difference will generate message)
Returns
: (array) [count] - (integer) number of new messages; [message] - (string) text message ( if will have a new messages );

Definition at line 353 of file ChWsbFriendsPageView.php.

◆ get_member_menu_bubble_online_friends()

static ChWsbFriendsPageView::get_member_menu_bubble_online_friends (   $iMemberId,
  $iOldCount = 0 
)
static

Function will send count of online member's friends;

Parameters
:$iMemberId(integer) - logged member's Id;
:$iOldCount(integer) - received old count of messages (if will difference will generate message)
Returns
: (array) [count] - (integer) number of new messages; [message] - (string) text message ( if will have a new messages );

Definition at line 291 of file ChWsbFriendsPageView.php.

◆ get_member_menu_friends_list()

static ChWsbFriendsPageView::get_member_menu_friends_list (   $iMemberId = 0)
static

Function will generate list of member's friends ;

Parameters
:$iMemberId(integer) - member's Id;
Returns
: Html presentation data;

Definition at line 400 of file ChWsbFriendsPageView.php.

◆ getBlockCode_Friends()

ChWsbFriendsPageView::getBlockCode_Friends ( )

@description : function will generate friends list ;

Returns
: array ;

Definition at line 54 of file ChWsbFriendsPageView.php.

◆ getBlockCode_FriendsMutual()

ChWsbFriendsPageView::getBlockCode_FriendsMutual ( )

Definition at line 264 of file ChWsbFriendsPageView.php.

◆ getBlockCode_FriendsRequests()

ChWsbFriendsPageView::getBlockCode_FriendsRequests ( )

Definition at line 249 of file ChWsbFriendsPageView.php.

◆ getCutParam()

ChWsbFriendsPageView::getCutParam (   $sExceptParam,
  $sString 
)

@description : function will cute the parameter from received string;

Parameters
:$aExceptNames(string) - name of unnecessary paremeter;
Returns
: cleared string;

Definition at line 277 of file ChWsbFriendsPageView.php.

Member Data Documentation

◆ $aDisplayParameters

ChWsbFriendsPageView::$aDisplayParameters

Definition at line 14 of file ChWsbFriendsPageView.php.

◆ $iMemberOnlineTime

ChWsbFriendsPageView::$iMemberOnlineTime

Definition at line 25 of file ChWsbFriendsPageView.php.

◆ $iProfileID

ChWsbFriendsPageView::$iProfileID

Definition at line 16 of file ChWsbFriendsPageView.php.

◆ $oProfile

ChWsbFriendsPageView::$oProfile

Definition at line 17 of file ChWsbFriendsPageView.php.

◆ $oSearchProfileTmpl

ChWsbFriendsPageView::$oSearchProfileTmpl

Definition at line 20 of file ChWsbFriendsPageView.php.

◆ $sCurrentPage

ChWsbFriendsPageView::$sCurrentPage

Definition at line 23 of file ChWsbFriendsPageView.php.


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