+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* This interface defines methods that need to be implemented
* by every scheduled job (cron task) in CiviCRM.
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
/**
- * Class constructor
+ * Class constructor.
*
- * @param void
+ * @return void
*/
public function __construct() {
$config = CRM_Core_Config::singleton();
}
/**
- * Class destructor
+ * Class destructor.
*/
public function __destruct() {
}
}
/**
- * Retrieves specific job from the database by id
+ * Retrieves specific job from the database by id.
* and creates ScheduledJob object.
*
* @param int $id
/**
* @param string $message
*
- * @return array|null
+ * @return void
* collection of permissions, null if none
*/
public function logEntry($message) {
$message = $apiResult['is_error'] ? ', Error message: ' . $msg : " (" . $vals . ")";
return $status . $message;
}
+
}
/**