@@ -73,6 +73,9 @@ discard block |
||
| 73 | 73 | return true; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $action |
|
| 78 | + */ |
|
| 76 | 79 | function setStated($action, $voucher_id) |
| 77 | 80 | { |
| 78 | 81 | $db = new DB_Sql; |
@@ -106,6 +109,7 @@ discard block |
||
| 106 | 109 | * credit-konto |
| 107 | 110 | * amount |
| 108 | 111 | * |
| 112 | + * @param string $action |
|
| 109 | 113 | */ |
| 110 | 114 | function saveStatedAction($action, $voucher_id, $debet_account_id, $credit_account_id, $amount) |
| 111 | 115 | { |
@@ -121,6 +125,9 @@ discard block |
||
| 121 | 125 | return true; |
| 122 | 126 | } |
| 123 | 127 | |
| 128 | + /** |
|
| 129 | + * @param string $action |
|
| 130 | + */ |
|
| 124 | 131 | function getStatedActions($action) |
| 125 | 132 | { |
| 126 | 133 | $db = new DB_Sql; |
@@ -154,6 +161,7 @@ discard block |
||
| 154 | 161 | * bør vel egentlig ikke være muligt! Måske kan man forestille sig, at den så bare |
| 155 | 162 | * gemmer videre og at den ved get lægger tallene i amount sammen? |
| 156 | 163 | * |
| 164 | + * @param string $type |
|
| 157 | 165 | */ |
| 158 | 166 | function saveStatement($type) |
| 159 | 167 | { |
@@ -198,6 +206,9 @@ discard block |
||
| 198 | 206 | return new Account($this->year, $id); |
| 199 | 207 | } |
| 200 | 208 | |
| 209 | + /** |
|
| 210 | + * @param string $type |
|
| 211 | + */ |
|
| 201 | 212 | function getStatement($type) |
| 202 | 213 | { |
| 203 | 214 | |
@@ -14,6 +14,9 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | class UserAdministration extends Intraface_User |
| 16 | 16 | { |
| 17 | + /** |
|
| 18 | + * @param integer $id |
|
| 19 | + */ |
|
| 17 | 20 | function __construct($kernel, $id) |
| 18 | 21 | { |
| 19 | 22 | parent::__construct($id); |
@@ -17,6 +17,9 @@ |
||
| 17 | 17 | } |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @return integer |
|
| 22 | + */ |
|
| 20 | 23 | function getSiteId() |
| 21 | 24 | { |
| 22 | 25 | return $this->context->name(); |
@@ -21,6 +21,9 @@ |
||
| 21 | 21 | $this->translation = $translation; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | + /** |
|
| 25 | + * @param string $phrase |
|
| 26 | + */ |
|
| 24 | 27 | function t($phrase) |
| 25 | 28 | { |
| 26 | 29 | return utf8_encode($this->translation->get($phrase)); |
@@ -10,6 +10,9 @@ |
||
| 10 | 10 | private $cmspage; |
| 11 | 11 | public $value; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param CMS_Page $cmspage |
|
| 15 | + */ |
|
| 13 | 16 | function __construct($cmspage) |
| 14 | 17 | { |
| 15 | 18 | $this->cmspage = $cmspage; |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * Returns the possible page types |
| 27 | 27 | * |
| 28 | - * @return array possible page types |
|
| 28 | + * @return string[] possible page types |
|
| 29 | 29 | */ |
| 30 | 30 | public function getTypes() |
| 31 | 31 | { |
@@ -59,6 +59,9 @@ discard block |
||
| 59 | 59 | return $object; |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param string $identifier |
|
| 64 | + */ |
|
| 62 | 65 | function findBySiteIdAndIdentifier($site_id, $identifier) |
| 63 | 66 | { |
| 64 | 67 | $identifier = strip_tags($identifier); |
@@ -277,7 +280,7 @@ discard block |
||
| 277 | 280 | /** |
| 278 | 281 | * Returns the possible page types but with a binary index |
| 279 | 282 | * |
| 280 | - * @return array possible page types with binary index |
|
| 283 | + * @return string[] possible page types with binary index |
|
| 281 | 284 | */ |
| 282 | 285 | public static function getTypesWithBinaryIndex() |
| 283 | 286 | { |
@@ -58,11 +58,17 @@ |
||
| 58 | 58 | return new CMS_Parameter($this); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | + /** |
|
| 62 | + * @param string $key |
|
| 63 | + */ |
|
| 61 | 64 | public function addParameter($key, $value) |
| 62 | 65 | { |
| 63 | 66 | return $this->parameter->save($key, $value); |
| 64 | 67 | } |
| 65 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $type |
|
| 71 | + */ |
|
| 66 | 72 | public function factory($object, $type, $value) |
| 67 | 73 | { |
| 68 | 74 | $class_prefix = 'Intraface_modules_cms_section_'; |
@@ -7,6 +7,9 @@ |
||
| 7 | 7 | private $cmssite; |
| 8 | 8 | public $error; |
| 9 | 9 | |
| 10 | + /** |
|
| 11 | + * @param CMS_Site $cmssite |
|
| 12 | + */ |
|
| 10 | 13 | function __construct($cmssite) |
| 11 | 14 | { |
| 12 | 15 | if (!is_object($cmssite) or strtolower(get_class($cmssite)) != 'cms_site') { |
@@ -62,11 +62,17 @@ |
||
| 62 | 62 | return new CMS_Parameter($this); |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | + /** |
|
| 66 | + * @param string $key |
|
| 67 | + */ |
|
| 65 | 68 | function addParameter($key, $value) |
| 66 | 69 | { |
| 67 | 70 | return $this->parameter->save($key, $value); |
| 68 | 71 | } |
| 69 | 72 | |
| 73 | + /** |
|
| 74 | + * @param string $type |
|
| 75 | + */ |
|
| 70 | 76 | function factory($object, $type, $value) |
| 71 | 77 | { |
| 72 | 78 | $class_prefix = 'Intraface_modules_cms_templatesection_'; |