$this->qrid = $this->queue->getName();
}
+ /**
+ * @return array
+ */
function __sleep() {
// exclude taskCtx
return array('title', 'queue', 'errorMode', 'isMinimal', 'onEnd', 'onEndUrl', 'pathPrefix', 'qrid', 'buttons');
}
}
+ /**
+ * @param $item
+ */
protected function releaseErrorItem($item) {
switch ($this->errorMode) {
case self::ERROR_CONTINUE:
return $result;
}
+ /**
+ * @return CRM_Queue_TaskContext
+ */
protected function getTaskContext() {
if (!is_object($this->taskCtx)) {
$this->taskCtx = new CRM_Queue_TaskContext();