@@ -21,8 +21,6 @@ |
||
21 | 21 | /** |
22 | 22 | * Sets the default for the field to the model. |
23 | 23 | * |
24 | - * @param string $model |
|
25 | - * @param string $column |
|
26 | 24 | * @return void |
27 | 25 | */ |
28 | 26 | public function initialize(Jam_Meta $meta, $name) |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @param Jam_Model $model |
56 | 56 | * @param mixed $value |
57 | - * @param boolean $loaded |
|
57 | + * @param boolean $is_loaded |
|
58 | 58 | * @return null|string |
59 | 59 | */ |
60 | 60 | public function convert(Jam_Validated $model, $value, $is_loaded) |
@@ -85,6 +85,9 @@ discard block |
||
85 | 85 | } |
86 | 86 | } |
87 | 87 | |
88 | + /** |
|
89 | + * @param string $value |
|
90 | + */ |
|
88 | 91 | public function unserialize($value) |
89 | 92 | { |
90 | 93 | switch ($this->method) |
@@ -117,7 +117,6 @@ discard block |
||
117 | 117 | /** |
118 | 118 | * Cleanup temporary file directories when the files are successfully saved |
119 | 119 | * @param Jam_Model $model |
120 | - * @param boolean $is_changed |
|
121 | 120 | */ |
122 | 121 | public function model_after_save(Jam_Model $model) |
123 | 122 | { |
@@ -157,7 +156,6 @@ discard block |
||
157 | 156 | * Remove files on model deletion |
158 | 157 | * |
159 | 158 | * @param Jam_Model $model |
160 | - * @param boolean $is_changed |
|
161 | 159 | */ |
162 | 160 | public function model_after_delete(Jam_Validated $model, Jam_Event_Data $data, $delete_finishd) |
163 | 161 | { |
@@ -16,7 +16,6 @@ |
||
16 | 16 | * |
17 | 17 | * @param Jam_Model $model |
18 | 18 | * @param string $value |
19 | - * @param boolean $loaded |
|
20 | 19 | * @return string the new url |
21 | 20 | */ |
22 | 21 | public function set(Jam_Validated $model, $value, $is_changed) |
@@ -89,6 +89,7 @@ |
||
89 | 89 | * |
90 | 90 | * @param string column for associative keys |
91 | 91 | * @param string column for values |
92 | + * @param string $value |
|
92 | 93 | * @return array |
93 | 94 | */ |
94 | 95 | public function as_array($key = NULL, $value = NULL) |
@@ -41,7 +41,7 @@ |
||
41 | 41 | * |
42 | 42 | * @throws Kohana_Exception |
43 | 43 | * @param string|null $model |
44 | - * @param mixed|null $key |
|
44 | + * @param string|null $key |
|
45 | 45 | */ |
46 | 46 | public function __construct($model, $key = NULL) |
47 | 47 | { |
@@ -98,6 +98,9 @@ |
||
98 | 98 | return $compiled; |
99 | 99 | } |
100 | 100 | |
101 | + /** |
|
102 | + * @param string $context_model |
|
103 | + */ |
|
101 | 104 | public function context_model($context_model = NULL) |
102 | 105 | { |
103 | 106 | if ($context_model !== NULL) |
@@ -42,7 +42,6 @@ discard block |
||
42 | 42 | * |
43 | 43 | * @throws Kohana_Exception |
44 | 44 | * @param string|null $model |
45 | - * @param mixed|null $key |
|
46 | 45 | */ |
47 | 46 | public function __construct($model) |
48 | 47 | { |
@@ -140,6 +139,11 @@ discard block |
||
140 | 139 | return $this; |
141 | 140 | } |
142 | 141 | |
142 | + /** |
|
143 | + * @param string $c1 |
|
144 | + * @param string $op |
|
145 | + * @param string $c2 |
|
146 | + */ |
|
143 | 147 | public function on($c1, $op, $c2) |
144 | 148 | { |
145 | 149 | if ( ! $this->_last_join) |
@@ -154,6 +158,9 @@ discard block |
||
154 | 158 | return $this->_join($association, $type)->end($this); |
155 | 159 | } |
156 | 160 | |
161 | + /** |
|
162 | + * @param string $table |
|
163 | + */ |
|
157 | 164 | public function join_table($table, $type = NULL) |
158 | 165 | { |
159 | 166 | return $this->_join($table, $type, FALSE)->end($this); |
@@ -308,6 +315,9 @@ discard block |
||
308 | 315 | } |
309 | 316 | } |
310 | 317 | |
318 | + /** |
|
319 | + * @param string $name |
|
320 | + */ |
|
311 | 321 | public function except($name) |
312 | 322 | { |
313 | 323 | $except = func_get_args(); |
@@ -37,6 +37,9 @@ discard block |
||
37 | 37 | protected $_master_timezone = NULL; |
38 | 38 | protected $_default_timezone = NULL; |
39 | 39 | |
40 | + /** |
|
41 | + * @return DateTimeZone |
|
42 | + */ |
|
40 | 43 | public function master_timezone($timezone = NULL) |
41 | 44 | { |
42 | 45 | if ($timezone !== NULL) |
@@ -53,6 +56,9 @@ discard block |
||
53 | 56 | return $this->_master_timezone; |
54 | 57 | } |
55 | 58 | |
59 | + /** |
|
60 | + * @return DateTimeZone |
|
61 | + */ |
|
56 | 62 | public function default_timezone($timezone = NULL) |
57 | 63 | { |
58 | 64 | if ($timezone !== NULL) |