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

Public Member Functions

 __construct ($sPageName, &$aModule, &$oPollModule, $iPollId)
 
 genColumnsHeader ()
 
 getBlockCode_FeaturedHome ()
 
 getBlockCode_LatestHome ()
 
 getBlockCode_ActionsBlock ()
 
 getBlockCode_OwnerBlock ()
 
 getBlockCode_PoolBlock ()
 
 getBlockCode_CommentsBlock ()
 
 getBlockCode_VotingsBlock ()
 
 getBlockCode_SocialSharing ()
 
- 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 ()
 
 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

 $oModule
 
 $iPollId
 
 $aPollInfo = array()
 
 $oVotingView
 
 $oCmtsView
 
 $iMemberId
 
 $aModule = array()
 
 $iHomePage_countLatest = 8
 
 $iHomePage_countFeatured = 4
 
- 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

Definition at line 13 of file ChPollView.php.

Constructor & Destructor Documentation

◆ __construct()

ChPollView::__construct (   $sPageName,
$aModule,
$oPollModule,
  $iPollId 
)

Class constructor;

Parameters
:$sPageName(string) - builder's page name;
:$oPollModule(object) - created poll's module object;
:$iPollId(integer) - poll's Id;

Definition at line 45 of file ChPollView.php.

Member Function Documentation

◆ genColumnsHeader()

ChPollView::genColumnsHeader ( )

Reimplemented from ChWsbPageView.

Definition at line 84 of file ChPollView.php.

◆ getBlockCode_ActionsBlock()

ChPollView::getBlockCode_ActionsBlock ( )

Function will generate block with actions;

Definition at line 200 of file ChPollView.php.

◆ getBlockCode_CommentsBlock()

ChPollView::getBlockCode_CommentsBlock ( )

Function will generate comments block;

Definition at line 285 of file ChPollView.php.

◆ getBlockCode_FeaturedHome()

ChPollView::getBlockCode_FeaturedHome ( )

Function will generate featured polls;

Definition at line 94 of file ChPollView.php.

◆ getBlockCode_LatestHome()

ChPollView::getBlockCode_LatestHome ( )

Function will generate latest polls;

Definition at line 147 of file ChPollView.php.

◆ getBlockCode_OwnerBlock()

ChPollView::getBlockCode_OwnerBlock ( )

The function will generate the block of the polls owner

Definition at line 261 of file ChPollView.php.

◆ getBlockCode_PoolBlock()

ChPollView::getBlockCode_PoolBlock ( )

Function will generate poll block;

Definition at line 273 of file ChPollView.php.

◆ getBlockCode_SocialSharing()

ChPollView::getBlockCode_SocialSharing ( )

Definition at line 321 of file ChPollView.php.

◆ getBlockCode_VotingsBlock()

ChPollView::getBlockCode_VotingsBlock ( )

Function will generate vote block;

Definition at line 306 of file ChPollView.php.

Member Data Documentation

◆ $aModule

ChPollView::$aModule = array()

Definition at line 32 of file ChPollView.php.

◆ $aPollInfo

ChPollView::$aPollInfo = array()

Definition at line 21 of file ChPollView.php.

◆ $iHomePage_countFeatured

ChPollView::$iHomePage_countFeatured = 4

Definition at line 36 of file ChPollView.php.

◆ $iHomePage_countLatest

ChPollView::$iHomePage_countLatest = 8

Definition at line 35 of file ChPollView.php.

◆ $iMemberId

ChPollView::$iMemberId

Definition at line 29 of file ChPollView.php.

◆ $iPollId

ChPollView::$iPollId

Definition at line 18 of file ChPollView.php.

◆ $oCmtsView

ChPollView::$oCmtsView

Definition at line 26 of file ChPollView.php.

◆ $oModule

ChPollView::$oModule

Definition at line 16 of file ChPollView.php.

◆ $oVotingView

ChPollView::$oVotingView

Definition at line 24 of file ChPollView.php.


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