@@ -222,6 +222,7 @@ discard block |
||
222 | 222 | * (non-PHPdoc) |
223 | 223 | * |
224 | 224 | * @see Alpha\Model\ActiveRecord::loadAllByAttribute() |
225 | + * @param string $attribute |
|
225 | 226 | */ |
226 | 227 | public function loadAllByAttribute($attribute, $value, $start = 0, $limit = 0, $orderBy = 'OID', $order = 'ASC', $ignoreClassType = false, $constructorArgs = array()) |
227 | 228 | { |
@@ -312,7 +313,7 @@ discard block |
||
312 | 313 | /** |
313 | 314 | * Returns an array of the OIDs of the related objects. |
314 | 315 | * |
315 | - * @return array |
|
316 | + * @return integer[] |
|
316 | 317 | * |
317 | 318 | * @since 1.0 |
318 | 319 | */ |
@@ -325,7 +326,7 @@ discard block |
||
325 | 326 | * Used to set the OIDs of the related objects. Pass a two-item array of OIDs, the first |
326 | 327 | * one being the left object OID, the second being the right. |
327 | 328 | * |
328 | - * @param array $OIDs |
|
329 | + * @param string[] $OIDs |
|
329 | 330 | * |
330 | 331 | * @since 1.0 |
331 | 332 | * |
@@ -63,7 +63,7 @@ |
||
63 | 63 | * A static method that attempts to return a CacheProviderInterface instance |
64 | 64 | * based on the name of the provider class supplied. |
65 | 65 | * |
66 | - * @param $providerName The class name of the provider class (fully qualified). |
|
66 | + * @param string $providerName The class name of the provider class (fully qualified). |
|
67 | 67 | * |
68 | 68 | * @throws \Alpha\Exception\IllegalArguementException |
69 | 69 | * |
@@ -63,7 +63,7 @@ |
||
63 | 63 | * A static method that attempts to return a HighlightProviderInterface instance |
64 | 64 | * based on the name of the provider class supplied. |
65 | 65 | * |
66 | - * @param $providerName The fully-qualified class name of the provider class, should implement Alpha\Util\Code\Highlight\HighlightProviderInterface |
|
66 | + * @param string $providerName The fully-qualified class name of the provider class, should implement Alpha\Util\Code\Highlight\HighlightProviderInterface |
|
67 | 67 | * |
68 | 68 | * @throws \Alpha\Exception\IllegalArguementException |
69 | 69 | * |
@@ -63,11 +63,11 @@ |
||
63 | 63 | * A static method that attempts to return a EmailProviderInterface instance |
64 | 64 | * based on the name of the provider class supplied. |
65 | 65 | * |
66 | - * @param $providerName The class name of the provider class (fully qualified). |
|
66 | + * @param string $providerName The class name of the provider class (fully qualified). |
|
67 | 67 | * |
68 | 68 | * @throws \Alpha\Exception\IllegalArguementException |
69 | 69 | * |
70 | - * @return \Alpha\Util\Http\Email\EmailProviderInterface |
|
70 | + * @return EmailProviderInterface|null |
|
71 | 71 | * |
72 | 72 | * @since 2.0 |
73 | 73 | */ |
@@ -63,7 +63,7 @@ |
||
63 | 63 | * A static method that attempts to return a SessionProviderInterface instance |
64 | 64 | * based on the name of the provider class supplied. |
65 | 65 | * |
66 | - * @param $providerName The class name of the provider class (fully qualified). |
|
66 | + * @param string $providerName The class name of the provider class (fully qualified). |
|
67 | 67 | * |
68 | 68 | * @throws \Alpha\Exception\IllegalArguementException |
69 | 69 | * |
@@ -63,7 +63,7 @@ |
||
63 | 63 | * A static method that attempts to return a SearchProviderInterface instance |
64 | 64 | * based on the name of the provider class supplied. |
65 | 65 | * |
66 | - * @param $providerName The class name of the provider class, should be fully-qualified. |
|
66 | + * @param string $providerName The class name of the provider class, should be fully-qualified. |
|
67 | 67 | * |
68 | 68 | * @throws \Alpha\Exception\IllegalArguementException; |
69 | 69 | * |
@@ -1162,7 +1162,7 @@ discard block |
||
1162 | 1162 | * to be overridden in case you want to do something different with the ID of your objects outside |
1163 | 1163 | * of the standard 11 digit OID sequence used internally in Alpha. |
1164 | 1164 | * |
1165 | - * @return int 11 digit zero-padded OID value. |
|
1165 | + * @return string 11 digit zero-padded OID value. |
|
1166 | 1166 | * |
1167 | 1167 | * @since 1.0 |
1168 | 1168 | */ |
@@ -1179,7 +1179,7 @@ discard block |
||
1179 | 1179 | * Gets the OID for the object in zero-padded format (same as getID()). This version is final so cannot |
1180 | 1180 | * be overridden. |
1181 | 1181 | * |
1182 | - * @return int 11 digit zero-padded OID value. |
|
1182 | + * @return string 11 digit zero-padded OID value. |
|
1183 | 1183 | * |
1184 | 1184 | * @since 1.0 |
1185 | 1185 | */ |
@@ -2176,7 +2176,7 @@ discard block |
||
2176 | 2176 | /** |
2177 | 2177 | * Starts a new database transaction. |
2178 | 2178 | * |
2179 | - * @param $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed. |
|
2179 | + * @param ActiveRecord $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed. |
|
2180 | 2180 | * |
2181 | 2181 | * @since 1.0 |
2182 | 2182 | * |
@@ -2209,7 +2209,7 @@ discard block |
||
2209 | 2209 | /** |
2210 | 2210 | * Commits the current database transaction. |
2211 | 2211 | * |
2212 | - * @param $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed. |
|
2212 | + * @param ActiveRecord $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed. |
|
2213 | 2213 | * |
2214 | 2214 | * @since 1.0 |
2215 | 2215 | * |
@@ -2242,7 +2242,7 @@ discard block |
||
2242 | 2242 | /** |
2243 | 2243 | * Aborts the current database transaction. |
2244 | 2244 | * |
2245 | - * @param $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed. |
|
2245 | + * @param ActiveRecord $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed. |
|
2246 | 2246 | * |
2247 | 2247 | * @since 1.0 |
2248 | 2248 | * |
@@ -2413,7 +2413,7 @@ discard block |
||
2413 | 2413 | /** |
2414 | 2414 | * Check to see if an attribute exists on the BO. |
2415 | 2415 | * |
2416 | - * @param $attribute The attribute name. |
|
2416 | + * @param string $attribute The attribute name. |
|
2417 | 2417 | * |
2418 | 2418 | * @return bool |
2419 | 2419 | * |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Alpha\Model\Type\Integer; |
7 | 7 | use Alpha\Model\Type\Timestamp; |
8 | 8 | use Alpha\Model\Type\TypeInterface; |
9 | -use Alpha\Model\Type\Enum; |
|
10 | 9 | use Alpha\Model\Type\Relation; |
11 | 10 | use Alpha\Util\Config\ConfigProvider; |
12 | 11 | use Alpha\Util\Logging\Logger; |
@@ -230,7 +230,7 @@ |
||
230 | 230 | /** |
231 | 231 | * Getter for the name. |
232 | 232 | * |
233 | - * @return string |
|
233 | + * @return SmallText |
|
234 | 234 | * |
235 | 235 | * @since 1.0 |
236 | 236 | */ |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | /** |
244 | 244 | * Get the year part. |
245 | 245 | * |
246 | - * @return int |
|
246 | + * @return string |
|
247 | 247 | * |
248 | 248 | * @since 1.0 |
249 | 249 | */ |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | /** |
256 | 256 | * Get the month part. |
257 | 257 | * |
258 | - * @return int |
|
258 | + * @return string |
|
259 | 259 | * |
260 | 260 | * @since 1.0 |
261 | 261 | */ |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | /** |
268 | 268 | * Get the day part. |
269 | 269 | * |
270 | - * @return int |
|
270 | + * @return string |
|
271 | 271 | * |
272 | 272 | * @since 1.0 |
273 | 273 | */ |