@@ -27,10 +27,10 @@ |
||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | - * @param string $headline Headline |
|
| 31 | - * @param object $keyword Keyword object |
|
| 30 | + * @param FakeFeaturedProductsKeyword $keyword Keyword object |
|
| 31 | + * @param string $description |
|
| 32 | 32 | * |
| 33 | - * @return integer |
|
| 33 | + * @return boolean |
|
| 34 | 34 | */ |
| 35 | 35 | function add($description, $keyword) |
| 36 | 36 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * Construktor |
| 55 | 55 | * |
| 56 | - * @param object $kernel Kernel object |
|
| 56 | + * @param Intraface_Kernel $kernel Kernel object |
|
| 57 | 57 | * @param string $session_id Unikt session id |
| 58 | 58 | * |
| 59 | 59 | * @return void |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | /** |
| 80 | 80 | * Convenience method to create the basket |
| 81 | 81 | * |
| 82 | - * @return object |
|
| 82 | + * @return Basket |
|
| 83 | 83 | */ |
| 84 | 84 | private function createBasket() |
| 85 | 85 | { |
@@ -325,9 +325,9 @@ discard block |
||
| 325 | 325 | * @param integer $order_id |
| 326 | 326 | * @param integer $transaction_number |
| 327 | 327 | * @param integer $transaction_status |
| 328 | - * @param float $transaction_amount |
|
| 328 | + * @param integer $amount |
|
| 329 | 329 | * |
| 330 | - * @return boolean |
|
| 330 | + * @return integer |
|
| 331 | 331 | */ |
| 332 | 332 | public function addOnlinePayment($order_id, $transaction_number, $transaction_status, $amount) |
| 333 | 333 | { |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | /** |
| 143 | 143 | * Creates a redirect object on the go page |
| 144 | 144 | * |
| 145 | - * @param object $kernel kernel |
|
| 145 | + * @param FakeRedirectKernel $kernel kernel |
|
| 146 | 146 | * @param string $query_variable the variable used in the querystring for going to the redirect page |
| 147 | 147 | * @param string $query_return_variable the variable used in the querystring when returning from the redirect page. |
| 148 | 148 | * |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | * @param string $query_variable the variable used in the querystring for going to the redirect page |
| 192 | 192 | * @param string $query_return_variable the variable used in the querystring when returning from the redirect page. |
| 193 | 193 | * |
| 194 | - * @return object |
|
| 194 | + * @return string |
|
| 195 | 195 | */ |
| 196 | 196 | static function factory($kernel, $type, $query_variable = 'redirect_id', $query_return_variable = 'return_redirect_id') |
| 197 | 197 | { |
@@ -115,6 +115,7 @@ |
||
| 115 | 115 | * @param string $type Can be either system, intranet, user |
| 116 | 116 | * @param string $setting The actual setting |
| 117 | 117 | * @param integer $sub_id @todo What is this exactly |
| 118 | + * @param integer $value |
|
| 118 | 119 | * |
| 119 | 120 | * @return boolean |
| 120 | 121 | */ |
@@ -272,7 +272,7 @@ |
||
| 272 | 272 | /** |
| 273 | 273 | * Adds keyword to object |
| 274 | 274 | * |
| 275 | - * @param integer $keyword_id |
|
| 275 | + * @param integer $keyword |
|
| 276 | 276 | * |
| 277 | 277 | * @return boolean |
| 278 | 278 | */ |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * Load |
| 106 | 106 | * |
| 107 | - * @return void |
|
| 107 | + * @return integer |
|
| 108 | 108 | */ |
| 109 | 109 | protected function load() |
| 110 | 110 | { |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | * @param integer $module |
| 257 | 257 | * @param integer $intranet_id |
| 258 | 258 | * |
| 259 | - * @return integer |
|
| 259 | + * @return boolean |
|
| 260 | 260 | */ |
| 261 | 261 | public function hasModuleAccess($module, $intranet_id = 0) |
| 262 | 262 | { |
@@ -459,6 +459,7 @@ discard block |
||
| 459 | 459 | /** |
| 460 | 460 | * Sets active intranet_id |
| 461 | 461 | * |
| 462 | + * @param integer $id |
|
| 462 | 463 | * @return boolean |
| 463 | 464 | */ |
| 464 | 465 | public function setActiveIntranetId($id) |
@@ -500,7 +501,7 @@ discard block |
||
| 500 | 501 | * |
| 501 | 502 | * @param array $input |
| 502 | 503 | * |
| 503 | - * @return boolean |
|
| 504 | + * @return boolean|null |
|
| 504 | 505 | */ |
| 505 | 506 | protected function validate(&$input) |
| 506 | 507 | { |
@@ -553,6 +554,9 @@ discard block |
||
| 553 | 554 | return true; |
| 554 | 555 | } |
| 555 | 556 | |
| 557 | + /** |
|
| 558 | + * @param string $email |
|
| 559 | + */ |
|
| 556 | 560 | function generateNewPassword($email) |
| 557 | 561 | { |
| 558 | 562 | if (!Validate::email($email)) { |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * Constructor |
| 27 | 27 | * |
| 28 | - * @param $session_id Session id |
|
| 28 | + * @param string $session_id Session id |
|
| 29 | 29 | * @param $intranet Intranet |
| 30 | 30 | * |
| 31 | 31 | * @return void |
@@ -9,6 +9,9 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class Intraface_XMLRPC_CMS_Server0300 extends Intraface_XMLRPC_Server0100 |
| 11 | 11 | {
|
| 12 | + /** |
|
| 13 | + * @param integer $site_id |
|
| 14 | + */ |
|
| 12 | 15 | private function factory($site_id) |
| 13 | 16 | {
|
| 14 | 17 | if (!$this->kernel->weblogin->hasModuleAccess('cms')) { // -2
|
@@ -9,6 +9,9 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class Intraface_XMLRPC_CMS_Server0300 extends Intraface_XMLRPC_Server0100 |
| 11 | 11 | {
|
| 12 | + /** |
|
| 13 | + * @param integer $site_id |
|
| 14 | + */ |
|
| 12 | 15 | private function factory($site_id) |
| 13 | 16 | {
|
| 14 | 17 | if (!$this->kernel->weblogin->hasModuleAccess('cms')) { // -2
|