Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
GooglesitemapsModule.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  *
10  * Googlesitemaps module class file.
11  */
12 class GooglesitemapsModule extends CWebModule
13 {
14  /**
15  * @var int the number of seconds in which the cached value will expire. 0 means never expire.
16  */
17  public $cacheTime = 60;
18 
19  /**
20  * @var int the number of seconds in which the cached value will expire. 0 means never expire. Used for caching updatetimestamps
21  */
22  public $timestampCacheTime = 20;
23 
24  /**
25  * @var array that contains list of URLs that should not be shown in navigation trees
26  */
27  public $excludeURLs = array();
28 
29  /**
30  * @var string $rootfolderId contains the ID of the rootfolder.
31  */
32  public $rootfolderId;
33 
34  /**
35  * @var string $hostParam can be set to build absolute Urls (eg 'http://www.gentics.com')
36  */
37  public $hostParam;
38 
39  /**
40  * @var array $contentTypes contains the Type Id's which content to show (10007,10008,ect)
41  */
42  public $contentTypes = array();
43 
44  /**
45  * @var string $hideParam contains the Name of the object Parameter which is can be set to not show content
46  */
47  public $hideParam;
48 
49  /**
50  * @var string $containerParam contains the Name of the object Parameter which will be checked against the value to show the content
51  */
52  public $containerParam;
53 
54  /**
55  * @var string $containerParamValue contains the value the object Parameter need to have to show the content
56  */
57  public $containerParamValue;
58 
59  /**
60  * @var string $outputFormatValue sets the choosen Output Format in the View
61  */
62  public $outputFormatValue;
63 
64  /**
65  * @var string GCC request params. Comma separated.
66  */
67  public $gccRequestParams;
68 
69  /**
70  * @var string $sorting contains sorting expression
71  */
72  public $sorting;
73 
74  /**
75  * Import dependent classes
76  *
77  * @return void
78  */
79  public function init()
80  {
81  // import the module-level components
82  $this->setImport(
83  array(
84  'googlesitemaps.components.*',
85  )
86  );
87  }
88 
89 }