| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
}
/**
- * Abstract function definitions
+ * Abstract function definitions.
*/
- abstract function init();
+ abstract protected function init();
/**
* @return mixed
*/
- abstract function fini();
+ abstract protected function fini();
/**
* @param $values
*
* @return mixed
*/
- abstract function mapField(&$values);
+ abstract protected function mapField(&$values);
/**
* @param $values
*
* @return mixed
*/
- abstract function preview(&$values);
+ abstract protected function preview(&$values);
/**
* @param $values
*
* @return mixed
*/
- abstract function summary(&$values);
+ abstract protected function summary(&$values);
/**
* @param $onDuplicate
*
* @return mixed
*/
- abstract function import($onDuplicate, &$values);
+ abstract protected function import($onDuplicate, &$values);
/**
- * Set and validate field values
+ * Set and validate field values.
*
* @param array $elements
* array.
}
/**
- * Format the field values for input to the api
+ * Format the field values for input to the api.
*
* @return array
* (reference) associative array of name/value pairs
* @param string $enclosure
*
* @return void
- * @static
*/
public static function encloseScrub(&$values, $enclosure = "'") {
if (empty($values)) {
}
/**
- * Setter function
+ * Setter function.
*
* @param int $max
*
}
/**
- * Determines the file extension based on error code
+ * Determines the file extension based on error code.
*
* @var $type error code constant
* @return string
- * @static
*/
public static function errorFileName($type) {
$fileName = NULL;
}
/**
- * Determines the file name based on error code
+ * Determines the file name based on error code.
*
* @var $type error code constant
* @return string
- * @static
*/
public static function saveFileName($type) {
$fileName = NULL;