@@ -36,8 +36,6 @@ discard block |
||
36 | 36 | * |
37 | 37 | * It sets the fields used in generating the slug |
38 | 38 | * |
39 | - * @param Jam_Event $event the jam event for the behavior |
|
40 | - * @param Jam_Model $model The Jam_Model object on which the behavior is applies |
|
41 | 39 | * @param string $name |
42 | 40 | * @return void |
43 | 41 | */ |
@@ -101,7 +99,7 @@ discard block |
||
101 | 99 | |
102 | 100 | /** |
103 | 101 | * Getter for parameter |
104 | - * @return bool |
|
102 | + * @return string |
|
105 | 103 | */ |
106 | 104 | public function slug() |
107 | 105 | { |
@@ -178,7 +176,7 @@ discard block |
||
178 | 176 | |
179 | 177 | /** |
180 | 178 | * Generated a find_by_slug method for Jam_Builder |
181 | - * @param Jam_Builder $builder the builder object |
|
179 | + * @param Jam_Query_Builder_Select $builder the builder object |
|
182 | 180 | * @param string $slug the slug to search for |
183 | 181 | * @param Jam_Event_Data $data |
184 | 182 | * @return void |
@@ -197,7 +195,7 @@ discard block |
||
197 | 195 | |
198 | 196 | /** |
199 | 197 | * Generated a find_by_slug method for Jam_Builder |
200 | - * @param Jam_Builder $builder the builder object |
|
198 | + * @param Jam_Query_Builder_Select $builder the builder object |
|
201 | 199 | * @param string $slug the slug to search for |
202 | 200 | * @param Jam_Event_Data $data |
203 | 201 | * @return void |
@@ -212,7 +210,7 @@ discard block |
||
212 | 210 | |
213 | 211 | /** |
214 | 212 | * Generates a find_by_slug_insist method for Jam_Builder |
215 | - * @param Jam_Builder $builder the builder object |
|
213 | + * @param Jam_Query_Builder_Select $builder the builder object |
|
216 | 214 | * @param string $slug the slug to search for |
217 | 215 | * @param Jam_Event_Data $data |
218 | 216 | * @return void |
@@ -47,7 +47,7 @@ |
||
47 | 47 | /** |
48 | 48 | * $select->order_by_position() |
49 | 49 | * |
50 | - * @param Jam_Builder $builder |
|
50 | + * @param Database_Query_Builder $builder |
|
51 | 51 | */ |
52 | 52 | public function builder_call_order_by_position(Database_Query_Builder $builder, Jam_Event_Data $data, $direction = NULL) |
53 | 53 | { |
@@ -12,6 +12,10 @@ |
||
12 | 12 | |
13 | 13 | public $event; |
14 | 14 | |
15 | + /** |
|
16 | + * @param string $message |
|
17 | + * @param string $event |
|
18 | + */ |
|
15 | 19 | function __construct($message, $event, $fields = NULL) |
16 | 20 | { |
17 | 21 | $fields[':event'] = $this->event = $event; |
@@ -14,6 +14,9 @@ |
||
14 | 14 | public $args; |
15 | 15 | public $sender; |
16 | 16 | |
17 | + /** |
|
18 | + * @param string $method |
|
19 | + */ |
|
17 | 20 | function __construct($sender, $method, array $args = NULL) |
18 | 21 | { |
19 | 22 | $this->args = $args; |
@@ -13,6 +13,10 @@ |
||
13 | 13 | |
14 | 14 | public $model; |
15 | 15 | |
16 | + /** |
|
17 | + * @param string $message |
|
18 | + * @param string|null $model |
|
19 | + */ |
|
16 | 20 | function __construct($message, $model, $fields = NULL) |
17 | 21 | { |
18 | 22 | $fields[':model'] = $this->model = $model; |
@@ -13,6 +13,10 @@ |
||
13 | 13 | |
14 | 14 | public $model; |
15 | 15 | |
16 | + /** |
|
17 | + * @param string $message |
|
18 | + * @param Kohana_Jam_Model $model |
|
19 | + */ |
|
16 | 20 | function __construct($message, $model, $fields = NULL) |
17 | 21 | { |
18 | 22 | $fields[':model'] = $this->model = $model; |
@@ -14,6 +14,10 @@ |
||
14 | 14 | public $slug; |
15 | 15 | public $model; |
16 | 16 | |
17 | + /** |
|
18 | + * @param string $message |
|
19 | + * @param Jam_Model $model |
|
20 | + */ |
|
17 | 21 | function __construct($message, $model, $slug = NULL, $fields = NULL) |
18 | 22 | { |
19 | 23 | $fields[':slug'] = $this->slug = $slug; |
@@ -13,6 +13,10 @@ |
||
13 | 13 | |
14 | 14 | protected $_model; |
15 | 15 | |
16 | + /** |
|
17 | + * @param string $message |
|
18 | + * @param Kohana_Jam_Validated $model |
|
19 | + */ |
|
16 | 20 | function __construct($message, $model, $fields = NULL) |
17 | 21 | { |
18 | 22 | $this->_model = $model; |
@@ -120,8 +120,6 @@ discard block |
||
120 | 120 | * This is called after construction so that fields can finish |
121 | 121 | * constructing themselves with a copy of the column it represents. |
122 | 122 | * |
123 | - * @param string $model |
|
124 | - * @param string $column |
|
125 | 123 | * @return void |
126 | 124 | **/ |
127 | 125 | public function initialize(Jam_Meta $meta, $name) |
@@ -139,6 +137,7 @@ discard block |
||
139 | 137 | * to the class's standards. |
140 | 138 | * |
141 | 139 | * @param mixed $value |
140 | + * @param boolean $is_changed |
|
142 | 141 | * @return mixed |
143 | 142 | **/ |
144 | 143 | public function set(Jam_Validated $model, $value, $is_changed) |
@@ -154,6 +153,7 @@ discard block |
||
154 | 153 | * |
155 | 154 | * @param Jam_Model $model |
156 | 155 | * @param mixed $value |
156 | + * @param boolean $is_changed |
|
157 | 157 | * @return mixed |
158 | 158 | **/ |
159 | 159 | public function get(Jam_Validated $model, $value, $is_changed) |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | * |
170 | 170 | * @param Jam_Model $model |
171 | 171 | * @param mixed $value |
172 | - * @param bool $loaded |
|
172 | + * @param bool $is_loaded |
|
173 | 173 | * @return mixed |
174 | 174 | */ |
175 | 175 | public function convert(Jam_Validated $model, $value, $is_loaded) |