@@ -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) |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * Hash and set the password to the database |
| 29 | 29 | * @param Jam_Model $model |
| 30 | 30 | * @param string $value plain password |
| 31 | - * @param bool $loaded |
|
| 31 | + * @param bool $is_loaded |
|
| 32 | 32 | * @return string |
| 33 | 33 | */ |
| 34 | 34 | public function convert(Jam_Validated $model, $value, $is_loaded) |
@@ -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) |