Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
_apalines.php
1 <?php
2 /**
3  * Apalines module has separate config because its settings should be the same in the console and frontend configurations so
4  * to achieve this goal current configuration file is included in both configurations (client_main/client_console)
5  *
6  * @author Andrew Voloshin <andrew.voloshin@oberig.com>
7  *
8  */
9 Yii::setPathOfAlias('unit', dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR
10  . '..' . DIRECTORY_SEPARATOR . 'tests' . DIRECTORY_SEPARATOR . 'unit');
11 return array(
12 
13  'class' => 'site.common.modules.apalines.APALinesModule',
14  'customer_number' => 'CB86E6F1-1847-4BD9-8FA7-E5606B97BCE8',
15  'video_url' => 'http://videoservice.apa.at/Player/UniversalPlayer.aspx',
16  'cacheTime' => 60,
17  'total_max_age_of_news' => 24*30*12*5, //about 5 years
18  'total_max_count_of_news' => 50,
19  //Sizes
20  'DefaultSize'=>'640x480',
21  'VideoSize'=>'640x480',
22  'OriginalSize'=>'640x480',
23  'ThumbnailSize'=>'320x240',
24  'HiresSize'=>'128x128',
25 
26  'channels' =>
27  array(
28  //The following channel is necessary for unit test and must be specified here because it is used for checking whether the inotify works
29  'unit_test' => array(
30  'delivery_path' => 'unit.apalines.content.work',
31  ),
32  'test1' => array(
33  'max_age_of_news' => 24*30*12*5,
34  'max_count_of_news' => 30,
35  'delivery_path' => 'apalines.content.News1',
36  ),
37  'test2' => array(
38  'max_age_of_news' => 24*30*12,
39  'max_count_of_news' => 30,
40  'delivery_path' => 'apalines.content.News2',
41  ),
42  'test3' => array(
43  'max_age_of_news' => 24*30*12,
44  'max_count_of_news' => 30,
45  'delivery_path' => 'apalines.content.News3',
46  ),
47  'test4' => array(
48  'max_age_of_news' => 24*30*12,
49  'max_count_of_news' => 30,
50  'delivery_path' => 'apalines.content.News4',
51  ),
52  'test5' => array(
53  'max_age_of_news' => 24*30*12,
54  'max_count_of_news' => 30,
55  'delivery_path' => 'apalines.content.News5',
56  ),
57 
58  ),
59 );