@@ -8,6 +8,9 @@ |
||
8 | 8 | |
9 | 9 | class OnlinePaymentDefault extends OnlinePayment |
10 | 10 | { |
11 | + /** |
|
12 | + * @param integer $id |
|
13 | + */ |
|
11 | 14 | function __construct($kernel, $id) |
12 | 15 | { |
13 | 16 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * @todo $doctrine should not be optional |
22 | 22 | * |
23 | 23 | * @param object $doctrine Doctrine_Connection |
24 | - * @return void |
|
24 | + * @return integer |
|
25 | 25 | */ |
26 | 26 | public function __construct($doctrine = null) |
27 | 27 | { |
@@ -64,6 +64,7 @@ |
||
64 | 64 | /** |
65 | 65 | * Find a variation from id |
66 | 66 | * |
67 | + * @param integer $id |
|
67 | 68 | * @return object Intraface_modules_product_Variation_OneAttributeGroup or Intraface_modules_product_Variation_TwoAttributeGroups |
68 | 69 | */ |
69 | 70 | public function findById($id) |
@@ -42,6 +42,7 @@ |
||
42 | 42 | /** |
43 | 43 | * Finds record from id |
44 | 44 | * |
45 | + * @param integer $id |
|
45 | 46 | * @return Intraface_modules_shop_DiscountCampaign |
46 | 47 | */ |
47 | 48 | public function findById($id) |
@@ -27,6 +27,9 @@ |
||
27 | 27 | $this->actAs('Intraface_Doctrine_Template_Intranet'); |
28 | 28 | } |
29 | 29 | |
30 | + /** |
|
31 | + * @return string |
|
32 | + */ |
|
30 | 33 | function getId() |
31 | 34 | { |
32 | 35 | return $this->id; |
@@ -9,6 +9,9 @@ |
||
9 | 9 | public $value; |
10 | 10 | private $kernel; |
11 | 11 | |
12 | + /** |
|
13 | + * @param Intraface_modules_product_Variation $variation |
|
14 | + */ |
|
12 | 15 | function __construct($product, $variation = null) |
13 | 16 | { |
14 | 17 | $this->product = $product; |
@@ -60,6 +60,9 @@ discard block |
||
60 | 60 | return $this->controlpanel_files; |
61 | 61 | } |
62 | 62 | |
63 | + /** |
|
64 | + * @param string $file |
|
65 | + */ |
|
63 | 66 | function addPreloadFile($file) |
64 | 67 | { |
65 | 68 | $this->preload_file[] = $file; |
@@ -82,6 +85,7 @@ discard block |
||
82 | 85 | |
83 | 86 | /** |
84 | 87 | * @todo why is this not using getPath() |
88 | + * @param string $file |
|
85 | 89 | */ |
86 | 90 | function includeSettingFile($file) |
87 | 91 | { |
@@ -12,6 +12,9 @@ |
||
12 | 12 | private $credentials; |
13 | 13 | private $kernel; |
14 | 14 | |
15 | + /** |
|
16 | + * @param integer $site_id |
|
17 | + */ |
|
15 | 18 | private function factory($site_id) |
16 | 19 | { |
17 | 20 | if (!$this->kernel->weblogin->hasModuleAccess('cms')) { // -2 |
@@ -9,6 +9,9 @@ |
||
9 | 9 | */ |
10 | 10 | class Intraface_XMLRPC_CMS_Server0300 extends Intraface_XMLRPC_Server |
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 |