Cheetah
Public Member Functions | List of all members
ChTemplMailBox Class Reference
Inheritance diagram for ChTemplMailBox:
ChBaseMailBox ChWsbMailBox ChWsbPageView

Public Member Functions

 __construct ($sPageName, &$aMailBoxSettings)
 
 __construct ($sPageName, &$aMailBoxSettings)
 
 __construct ($sPageName, &$aMailBoxSettings)
 
- Public Member Functions inherited from ChBaseMailBox
 getCss ()
 
 getJs ()
 
 getBlockCode_ComposeMessage ()
 
 getBlockCode_Archives ()
 
 getBlockCode_ViewMessage ()
 
 getBlockCode_NewMessages ($bShowEmpty=true)
 
 getBlockCode_MailBox ()
 
 getBlockCode_Contacts ()
 
 genArchiveMessages ()
 
 genMessagesRows ()
 
 genReplayMessage ($iRecipientID, $iMessageID=0)
 
 addReToSubject ($sSubject)
 
 getAutoCompleteList ($sQuery, $iLimit=10)
 
- Public Member Functions inherited from ChWsbMailBox
 getArchivesList ($sSqlLimit)
 
 getFriendsList ( $sSqlLimit)
 
 getFavesList ( $sSqlLimit)
 
 getContactedList ( $sSqlLimit)
 
 getInboxMessagesCount ()
 
 getMessages ()
 
 setMarkMessage ( $iMessageID, $iMarkMode)
 
 setTrashedMessage ($iMessageID, $sField='Trash')
 
 setRestoredMessage ( $iMessageID)
 
 sendMessage ( $sMessageSubject, $sMessageBody, $vRecipientID, &$aComposeSettings, $isSimulateSending=false)
 
 isSendMessageAlowed ($iMemberId, $isPerformAction=false)
 
 _defineActions ()
 
- 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from ChBaseMailBox
static get_member_menu_bubble_new_messages ($iMemberId, $iOldCount=0)
 
static get_member_menu_messages_list ( $iMemberId=0)
 
- Static Public Member Functions inherited from ChWsbMailBox
static getCountSentMessages ($iMemberId, $sMessageStatus=null)
 
static getCountInboxMessages ($iMemberId, $sMessageStatus=null)
 
static getCountTrashedMessages ($iMemberId, $sMessageStatus=null)
 
- Static Public Member Functions inherited from ChWsbPageView
static getBlockCaptionItemCode ( $iBlockID, $aLinks)
 
static getBlockCaptionMenu ( $iBlockID, $aLinks)
 
- Public Attributes inherited from ChBaseMailBox
 $aUsedTemplates
 
 $sMessageIconPrefix = 'icon_'
 
 $sMessageIconExtension = '.png'
 
 $sMembersFlagExtension = '.gif'
 
 $iMessageSubjectLength = 30
 
 $iMessageDescrLength = 40
 
 $iArchivesSubjectLength = 22
 
- Public Attributes inherited from ChWsbMailBox
 $iSendMessageStatusCode
 
 $iTotalMessageCount
 
 $iTotalContactsCount
 
 $iContactsPerPage = 8
 
 $aMailBoxSettings = array()
 
 $aSortCriterias = array()
 
 $aRegisteredMessageTypes = array()
 
 $aRegisteredContactTypes = array()
 
 $aRegisteredArchivesTypes = array()
 
 $aReceivedMessagesTypes = array()
 
 $iWaitMinutes = 1
 
- 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

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 ChTemplMailBox.php.

Constructor & Destructor Documentation

◆ __construct() [1/3]

ChTemplMailBox::__construct (   $sPageName,
$aMailBoxSettings 
)

Class constructor;

Parameters
:$sPageName(string) - page name (need for page builder);
:$aMailBoxSettings(array) - contain some necessary data ; [] member_id (integer)- logged member's ID; [] recipient_id (integer) - message recipient's ID ; [] mailbox_mode (string) - inbox, outbox or trash switcher mode ; [] sort_mode (string) - message sort mode; [] page (integer) - number of current page ; [] per_page (integer) - number of messages for per page ; [] messages_types (string) - all needed types of messages ; [] contacts_mode (string) - type of contacts (friends, faves, contacted) ; [] contacts_page (integer) - number of current contact's page ; [] message_id (integer) - number of needed message ;

Reimplemented from ChBaseMailBox.

Definition at line 29 of file ChTemplMailBox.php.

◆ __construct() [2/3]

ChTemplMailBox::__construct (   $sPageName,
$aMailBoxSettings 
)

Class constructor;

Parameters
:$sPageName(string) - page name (need for page builder);
:$aMailBoxSettings(array) - contain some necessary data ; [] member_id (integer)- logged member's ID; [] recipient_id (integer) - message recipient's ID ; [] mailbox_mode (string) - inbox, outbox or trash switcher mode ; [] sort_mode (string) - message sort mode; [] page (integer) - number of current page ; [] per_page (integer) - number of messages for per page ; [] messages_types (string) - all needed types of messages ; [] contacts_mode (string) - type of contacts (friends, faves, contacted) ; [] contacts_page (integer) - number of current contact's page ; [] message_id (integer) - number of needed message ;

Reimplemented from ChBaseMailBox.

Definition at line 29 of file ChTemplMailBox.php.

◆ __construct() [3/3]

ChTemplMailBox::__construct (   $sPageName,
$aMailBoxSettings 
)

Class constructor;

Parameters
:$sPageName(string) - page name (need for page builder);
:$aMailBoxSettings(array) - contain some necessary data ; [] member_id (integer)- logged member's ID; [] recipient_id (integer) - message recipient's ID ; [] mailbox_mode (string) - inbox, outbox or trash switcher mode ; [] sort_mode (string) - message sort mode; [] page (integer) - number of current page ; [] per_page (integer) - number of messages for per page ; [] messages_types (string) - all needed types of messages ; [] contacts_mode (string) - type of contacts (friends, faves, contacted) ; [] contacts_page (integer) - number of current contact's page ; [] message_id (integer) - number of needed message ;

Reimplemented from ChBaseMailBox.

Definition at line 29 of file ChTemplMailBox.php.


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