public function getJob($jobID = NULL, $postID = NULL) { // $this->logger->trace( "[ jobID :: $jobID ][ postID :: $postID ]." ); if (NULL === $jobID && NULL === $postID) { return WordPress_AjaxProxy::CALLBACK_RETURN_ERROR; } if (!empty($jobID)) { return $this->jobService->getByJobID($jobID); } return $this->jobService->getByPostID($postID); }