/** * Alias for setProgress() * * @param string $task_id Task ID * @param int $percent * @param string $msg * @return mixed * @throws CException */ public function workerSetTaskProgress($task_id, $percent, $msg = '') { try { return $this->_worker->setTaskProgress($task_id, $percent, $msg); } catch (Exception $e) { Yii::log('Error in IronWorker: ' . $e->getMessage(), 'error', 'ext.yiiron'); throw new CException($e->getMessage()); } }