@@ -26,6 +26,9 @@ discard block |
||
| 26 | 26 | $this->db->setOption('portability', MDB2_PORTABILITY_NONE); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $SQL |
|
| 31 | + */ |
|
| 29 | 32 | function query($SQL) |
| 30 | 33 | { |
| 31 | 34 | $this->result = $this->db->query($SQL); |
@@ -101,6 +104,9 @@ discard block |
||
| 101 | 104 | return mysql_escape_string($value); |
| 102 | 105 | } |
| 103 | 106 | |
| 107 | + /** |
|
| 108 | + * @param string $type |
|
| 109 | + */ |
|
| 104 | 110 | function quote($value, $type) |
| 105 | 111 | { |
| 106 | 112 | return $this->db->quote($value, $type); |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * @param string $belong_to What the address belongs to, corresponding to the ones in Address::getBelongToTypes() |
| 15 | 15 | * @param integer $belong_to_id From belong_to. NB not id on the address |
| 16 | 16 | * |
| 17 | - * @return object Address |
|
| 17 | + * @return Intraface_Address Address |
|
| 18 | 18 | */ |
| 19 | 19 | public function findByBelongToAndId($belong_to, $belong_to_id) |
| 20 | 20 | { |
@@ -58,6 +58,7 @@ |
||
| 58 | 58 | /** |
| 59 | 59 | * This function is dynamically redefinable. |
| 60 | 60 | * @see $GLOBALS['_global_function_callback_email'] |
| 61 | + * @param string $args |
|
| 61 | 62 | */ |
| 62 | 63 | function autoop($args) {
|
| 63 | 64 | $args = func_get_args(); |
@@ -8,6 +8,9 @@ |
||
| 8 | 8 | $this->translation = $translation; |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param Intraface_User $user |
|
| 13 | + */ |
|
| 11 | 14 | function findByUserobject($user) |
| 12 | 15 | { |
| 13 | 16 | $kernel = new Intraface_Kernel(session_id()); |
@@ -6,6 +6,9 @@ discard block |
||
| 6 | 6 | |
| 7 | 7 | interface Observer |
| 8 | 8 | {
|
| 9 | + /** |
|
| 10 | + * @return boolean |
|
| 11 | + */ |
|
| 9 | 12 | function update($code, $msg); |
| 10 | 13 | } |
| 11 | 14 | |
@@ -47,6 +50,9 @@ discard block |
||
| 47 | 50 | } |
| 48 | 51 | } |
| 49 | 52 | |
| 53 | + /** |
|
| 54 | + * @param string $table |
|
| 55 | + */ |
|
| 50 | 56 | function tableExists($table) |
| 51 | 57 | {
|
| 52 | 58 | $this->db->loadModule('Manager', null, true);
|
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | /** |
| 66 | 66 | * @deprecated |
| 67 | 67 | * @param $id |
| 68 | - * @return unknown_type |
|
| 68 | + * @return Account |
|
| 69 | 69 | */ |
| 70 | 70 | function findFromId($id) |
| 71 | 71 | { |
@@ -78,6 +78,9 @@ discard block |
||
| 78 | 78 | return new Account($this->year, $id); |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | + /** |
|
| 82 | + * @param string $type |
|
| 83 | + */ |
|
| 81 | 84 | function findByType($type, $saldo = false) |
| 82 | 85 | { |
| 83 | 86 | return $this->getList($type, $saldo); |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | $this->year = $year; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - /** |
|
| 32 | + /** |
|
| 33 | 33 | * Denne funktion bruges bl.a. under bogf�ringen, s� man bare taster kontonummer |
| 34 | 34 | * og s� s�ttes den rigtige konto. |
| 35 | 35 | * |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * |
| 24 | 24 | * @param object $voucher |
| 25 | 25 | * |
| 26 | - * @return void |
|
| 26 | + * @return string |
|
| 27 | 27 | */ |
| 28 | 28 | function __construct($voucher) |
| 29 | 29 | { |
@@ -90,6 +90,9 @@ |
||
| 90 | 90 | return $files; |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | + /** |
|
| 94 | + * @param string $url |
|
| 95 | + */ |
|
| 93 | 96 | function url($url) |
| 94 | 97 | { |
| 95 | 98 | return PATH_WWW . 'restricted' . $url; |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * |
| 17 | 17 | * @param object $year_object |
| 18 | 18 | * |
| 19 | - * @return void |
|
| 19 | + * @return string |
|
| 20 | 20 | */ |
| 21 | 21 | public function __construct($year_object) |
| 22 | 22 | { |
@@ -32,10 +32,9 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * Creates a voucher |
| 34 | 34 | * |
| 35 | - * @param object $year |
|
| 36 | 35 | * @param string $voucher_number |
| 37 | 36 | * |
| 38 | - * @return void |
|
| 37 | + * @return Voucher |
|
| 39 | 38 | */ |
| 40 | 39 | public function findFromVoucherNumber($voucher_number) |
| 41 | 40 | { |