Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
WidgetsTestsController.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  * Controller for functional testing
11  * Display each widget on separate page
12  */
13 
14 
16 {
17  /*
18  * Simulate content source behaviour
19  */
20  public function getCss($file, $timestamp = null, $combine = true, $media = '')
21  {
22  Yii::app()->clientScript->registerCssFile($file, $media, $timestamp, $combine, true, true);
23  }
24  public function getJs($file, $timestamp = null, $combine = true)
25  {
26  Yii::app()->clientScript->registerScriptFile($file, CClientScript::POS_HEAD, $timestamp, $combine, true, true);
27  }
28 
29  /**
30  * Display UserLoginWidget widget
31  *
32  * @return void
33  */
34  public function actionUserLogin()
35  {
36  $this->render('userLogin');
37  }
38 
39  /**
40  * Display UserLogoutWidget
41  *
42  * @return void
43  */
44  public function actionUserLogout()
45  {
46  $this->render('userLogout');
47  }
48 
49  /**
50  * Display UserLogoutWidget
51  *
52  * @return void
53  */
54  public function actionUserRegistration()
55  {
56  $this->render('userRegistration');
57  }
58 
59  /**
60  * Display UserRecoveryWidget
61  *
62  * @return void
63  */
64  public function actionUserRecovery()
65  {
66  $this->render('userRecovery');
67  }
68 
69  /**
70  * Display UserProfileWidget
71  *
72  * @return void
73  */
74  public function actionUserProfile()
75  {
76  $this->render('userProfile');
77  }
78 
79  /**
80  * Display UserProfileEditWidget
81  *
82  * @return void
83  */
84  public function actionUserProfileEdit()
85  {
86  $this->render('userProfileEdit');
87  }
88 
89  /**
90  * Display UserStatusWidget
91  *
92  * @return void
93  */
94  public function actionUserStatus()
95  {
96  $this->render('userStatus');
97  }
98 
99  public function actionUserPasswordChange()
100  {
101  $this->render('userPasswordChange');
102  }
103 
104  /**
105  * Display CommentsWidget
106  *
107  * @return void
108  */
109  public function actionCommentsComments()
110  {
111  $this->render('commentsComments');
112  }
113 
114  public function actionCommentsAmount()
115  {
116  $this->render('commentsAmount');
117  }
118 
119  /**
120  * Display LikeWidget
121  *
122  * @return void
123  */
124  public function actionLikeLike()
125  {
126  $this->render('likeLike');
127  }
128 
129  /**
130  * Display LanguageWidget
131  *
132  * @return void
133  */
134  public function actionLanguageLanguage()
135  {
136  $this->render('languageLanguage');
137  }
138 
139  public function actionPersonalisationManage()
140  {
141  $this->render('personalisationManage');
142  }
143 
144  public function actionPersonalisationAssign()
145  {
146  $this->render('personalisationAssign');
147  }
148 
149  public function actionSimpleSearch()
150  {
151  $this->render('simpleSearch');
152  }
153 
154  public function actionAdvancedSearch()
155  {
156  $this->render('advancedSearch');
157  }
158 
159  public function actionSearchResult()
160  {
161  $this->render('searchResult');
162  }
163 
164  public function actionFriendsSearch()
165  {
166  $this->render('friendsSearch');
167  }
168 
169  public function actionFriendsSearchResult()
170  {
171  $this->render('friendsSearchResult');
172  }
173 
174  public function actionFriendsList()
175  {
176  $this->render('friendsList');
177  }
178 
179  public function actionRecoveryChangePassword()
180  {
181  $this->render('recoveryChangePassword');
182  }
183 
184  public function actionPersonalizedContent()
185  {
186  $this->render('personalizedContent');
187  }
188 
189  public function actionShoppingCart()
190  {
191  $this->render('shoppingcart');
192  }
193  public function actionShoppingCartCart()
194  {
195  $this->render('shoppingcartCart');
196  }
197  public function actionApalines()
198  {
199  $this->render('apalines');
200  }
201 }