projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3749 from civicrm/4.4
[civicrm-core.git]
/
CRM
/
Utils
/
API
/
AbstractFieldCoder.php
diff --git
a/CRM/Utils/API/AbstractFieldCoder.php
b/CRM/Utils/API/AbstractFieldCoder.php
index 77129407aadba5f8effd0e27c6cb43f26a379234..8846c6bd85c2fbaa0123007d996a439efdd6f0ae 100644
(file)
--- a/
CRM/Utils/API/AbstractFieldCoder.php
+++ b/
CRM/Utils/API/AbstractFieldCoder.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
3
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-30,12
+30,16
@@
* of all fields (except for some black-listed skip-fields).
*
* @package CRM
* of all fields (except for some black-listed skip-fields).
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
require_once 'api/Wrapper.php';
* $Id$
*
*/
require_once 'api/Wrapper.php';
+
+/**
+ * Class CRM_Utils_API_AbstractFieldCoder
+ */
abstract class CRM_Utils_API_AbstractFieldCoder implements API_Wrapper {
/**
abstract class CRM_Utils_API_AbstractFieldCoder implements API_Wrapper {
/**
@@
-81,6
+85,11
@@
abstract class CRM_Utils_API_AbstractFieldCoder implements API_Wrapper {
*/
public abstract function encodeInput(&$values);
*/
public abstract function encodeInput(&$values);
+ /**
+ * @param $values
+ *
+ * @return mixed
+ */
public abstract function decodeOutput(&$values);
/**
public abstract function decodeOutput(&$values);
/**
@@
-127,6
+136,8
@@
abstract class CRM_Utils_API_AbstractFieldCoder implements API_Wrapper {
}
/**
}
/**
+ * @param $key
+ *
* @return bool
*/
protected function isApiControlField($key) {
* @return bool
*/
protected function isApiControlField($key) {