@@ -53,12 +53,6 @@ |
||
| 53 | 53 | * @param string $entity Entity that identifies the string. It must be in the form |
| 54 | 54 | * "Namespace.Entity" where Namespace will be usually the class name where this |
| 55 | 55 | * string is used and Entity identifies the string inside the namespace. |
| 56 | - * @param mixed $arg,... Additional arguments are parsed as such: |
|
| 57 | - * - Next string argument is a default. Pass in a `|` pipe-delimeted value with `{count}` |
|
| 58 | - * to do pluralisation. |
|
| 59 | - * - Any other string argument after default is context for i18nTextCollector |
|
| 60 | - * - Any array argument in any order is an injection parameter list. Pass in a `count` |
|
| 61 | - * injection parameter to pluralise. |
|
| 62 | 56 | * @return string |
| 63 | 57 | */ |
| 64 | 58 | function _t($entity, $arg = null) |
@@ -2397,6 +2397,7 @@ discard block |
||
| 2397 | 2397 | |
| 2398 | 2398 | /** |
| 2399 | 2399 | * {@inheritdoc} |
| 2400 | + * @param string $field |
|
| 2400 | 2401 | */ |
| 2401 | 2402 | public function castingHelper($field) |
| 2402 | 2403 | { |
@@ -2502,7 +2503,7 @@ discard block |
||
| 2502 | 2503 | * </code> |
| 2503 | 2504 | * |
| 2504 | 2505 | * @param string $methodName Method on the same object, e.g. {@link canEdit()} |
| 2505 | - * @param Member|int $member |
|
| 2506 | + * @param null|Member $member |
|
| 2506 | 2507 | * @param array $context Optional context |
| 2507 | 2508 | * @return boolean|null |
| 2508 | 2509 | */ |
@@ -2525,7 +2526,7 @@ discard block |
||
| 2525 | 2526 | |
| 2526 | 2527 | /** |
| 2527 | 2528 | * @param Member $member |
| 2528 | - * @return boolean |
|
| 2529 | + * @return boolean|string |
|
| 2529 | 2530 | */ |
| 2530 | 2531 | public function canView($member = null) |
| 2531 | 2532 | { |
@@ -2538,7 +2539,7 @@ discard block |
||
| 2538 | 2539 | |
| 2539 | 2540 | /** |
| 2540 | 2541 | * @param Member $member |
| 2541 | - * @return boolean |
|
| 2542 | + * @return boolean|string |
|
| 2542 | 2543 | */ |
| 2543 | 2544 | public function canEdit($member = null) |
| 2544 | 2545 | { |
@@ -2551,7 +2552,7 @@ discard block |
||
| 2551 | 2552 | |
| 2552 | 2553 | /** |
| 2553 | 2554 | * @param Member $member |
| 2554 | - * @return boolean |
|
| 2555 | + * @return boolean|string |
|
| 2555 | 2556 | */ |
| 2556 | 2557 | public function canDelete($member = null) |
| 2557 | 2558 | { |
@@ -2566,7 +2567,7 @@ discard block |
||
| 2566 | 2567 | * @param Member $member |
| 2567 | 2568 | * @param array $context Additional context-specific data which might |
| 2568 | 2569 | * affect whether (or where) this object could be created. |
| 2569 | - * @return boolean |
|
| 2570 | + * @return boolean|string |
|
| 2570 | 2571 | */ |
| 2571 | 2572 | public function canCreate($member = null, $context = array()) |
| 2572 | 2573 | { |
@@ -2683,7 +2684,7 @@ discard block |
||
| 2683 | 2684 | * Traverses to a field referenced by relationships between data objects, returning the value |
| 2684 | 2685 | * The path to the related field is specified with dot separated syntax (eg: Parent.Child.Child.FieldName) |
| 2685 | 2686 | * |
| 2686 | - * @param $fieldName string |
|
| 2687 | + * @param string $fieldName string |
|
| 2687 | 2688 | * @return string | null - will return null on a missing value |
| 2688 | 2689 | */ |
| 2689 | 2690 | public function relField($fieldName) |
@@ -2762,7 +2763,7 @@ discard block |
||
| 2762 | 2763 | * @param string $callerClass The class of objects to be returned |
| 2763 | 2764 | * @param string|array $filter A filter to be inserted into the WHERE clause. |
| 2764 | 2765 | * Supports parameterised queries. See SQLSelect::addWhere() for syntax examples. |
| 2765 | - * @param string|array $sort A sort expression to be inserted into the ORDER |
|
| 2766 | + * @param string $sort A sort expression to be inserted into the ORDER |
|
| 2766 | 2767 | * BY clause. If omitted, self::$default_sort will be used. |
| 2767 | 2768 | * @param string $join Deprecated 3.0 Join clause. Use leftJoin($table, $joinClause) instead. |
| 2768 | 2769 | * @param string|array $limit A limit expression to be inserted into the LIMIT clause. |