Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Googlesitemaps Class Reference

Public Member Functions

 __construct ($rootfolderId="", $hostParam=null, $contentTypes=null, $hideParam=null, $containerParam=null, $containerParamValue=null, $outputFormatValue="", $cacheTime=null, $gccRequestParams=null, $sorting=null)
 getFiltersList ()
 getLatestUpdateTimestampCacheTime ()

Public Attributes

 $rootfolderId
 $hostParam
 $contentTypes
 $hideParam
 $containerParam
 $containerParamValue
 $outputFormatValue
 $cacheTime
 $gccRequestParams
 $lang
 $data = array()
 $sorting

Detailed Description

Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales.nosp@m.@gen.nosp@m.tics..nosp@m.com http://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.

Class for working with Gentics Content Connector

Definition at line 12 of file Googlesitemaps.php.

Constructor & Destructor Documentation

Googlesitemaps::__construct (   $rootfolderId = "",
  $hostParam = null,
  $contentTypes = null,
  $hideParam = null,
  $containerParam = null,
  $containerParamValue = null,
  $outputFormatValue = "",
  $cacheTime = null,
  $gccRequestParams = null,
  $sorting = null 
)

Construction that will load nodes tree for given $folderIds

Parameters
array$folderIdscontains folder IDs of content to show
Returns

Definition at line 85 of file Googlesitemaps.php.

{
if ( $rootfolderId != "" ) {
$this->lang = substr(Yii::app()->language, 0, 2);
$this->hostParam = isset($hostParam)? $hostParam : Yii::app()->getModule('googlesitemaps')->hostParam;
$this->contentTypes = isset($contentTypes)? $contentTypes : Yii::app()->getModule('googlesitemaps')->contentTypes;
$this->hideParam = isset($hideParam)? $hideParam : Yii::app()->getModule('googlesitemaps')->hideParam;
$this->containerParam = isset($containerParam)? $containerParam : Yii::app()->getModule('googlesitemaps')->containerParam;
$this->containerParamValue = isset($containerParamValue)? $containerParamValue : Yii::app()->getModule('googlesitemaps')->containerParamValue;
$this->cacheTime = isset($cacheTime)? $cacheTime : Yii::app()->getModule('googlesitemaps')->cacheTime;
$this->gccRequestParams = isset($gccRequestParams)? $gccRequestParams : Yii::app()->getModule('googlesitemaps')->gccRequestParams;
$this->sorting = isset($sorting)? $sorting : Yii::app()->getModule('googlesitemaps')->sorting;
$this->outputFormatValue = $outputFormatValue;
$this->hideParam = $hideParam;
$this->rootfolderId = $rootfolderId;
$this->_loadData();
//$this->_cleanUp(Yii::app()->user->id);
} else {
return false;
}
}

Member Function Documentation

Googlesitemaps::getFiltersList ( )

Filter tree by some schema

Returns
array|bool

Definition at line 179 of file Googlesitemaps.php.

{
if (Yii::app()->getModule('contentSource')->contentSource->usePersonalisation) {
$filters = Yii::app()->getModule('contentSource')->contentSource->personalisationFields;
return $filters;
}
return false;
}

Member Data Documentation

Googlesitemaps::$data = array()

array that contains categories tree

Definition at line 70 of file Googlesitemaps.php.


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