tags.php

Go to the documentation of this file.
00001 <?php
00002 
00006 class Tags extends oxUBase
00007 {
00013     protected $_sThisTemplate = "tags.tpl";
00014 
00024     public function render()
00025     {
00026         parent::render();
00027 
00028         $this->_aViewData['tagCloud'] = $this->getTagCloud();
00029         $this->_aViewData['blMoreTags'] = $this->isMoreTagsVisible();
00030         $this->_aViewData['oView'] = $this;
00031 
00032         return $this->_sThisTemplate;
00033     }
00034 
00040     public function getTagCloud()
00041     {
00042         return oxNew( 'oxTagCloud' )->getTagCloud( null, true );
00043     }
00044 
00050     public function getTagCloudManager()
00051     {
00052         $oManager = oxNew( "oxTagCloud" );
00053         $oManager->setExtendedMode( true );
00054         return $oManager;
00055     }
00056 
00062     public function isMoreTagsVisible()
00063     {
00064         return false;
00065     }
00066 
00072     public function getTitleSuffix()
00073     {
00074     }
00075 
00081     public function getTitlePageSuffix()
00082     {
00083         if ( ( $iPage = $this->getActPage() ) ) {
00084             return oxLang::getInstance()->translateString( 'INC_HEADER_TITLEPAGE' ). ( $iPage + 1 );
00085         }
00086     }
00087 }