/** * Sets display order of the department. * * @param int $display_order A positive integer that the helpdesk will use to sort departments when displaying them (ascending). * @return kyDepartment */ public function setDisplayOrder($display_order) { $this->display_order = ky_assure_int($display_order, 0); return $this; }
/** * Sets creator of the knowledgebase article. * * * @param int $creator_id creator of the knowledgebase article. * @return kyKnowledgebaseArticle */ public function setCreatorId($creator_id) { $this->creator_id = ky_assure_int($creator_id); return $this; }
/** * Sets articlesortorder of the knowledgebase category. * * @param int $articlesortorder Sort Order of the knowledgebase category. * @return kyKnowledgebaseCategory */ public function setArticleSortOrder($articlesortorder) { $this->article_sortorder = ky_assure_int($articlesortorder); return $this; }
/** * Sets the priority of this Troubleshooterstep item. * @param $priority * * @return $this */ public function setPriority($priority) { $this->ticket_priorityid = ky_assure_int($priority); return $this; }
/** * Sets the date using timestamp. * * @param int $timestamp Timestamp. * @return kyCustomFieldDate */ public function setTimestamp($timestamp) { $this->timestamp = ky_assure_int($timestamp, 0); $this->raw_value = date('m/d/Y', $this->timestamp); return $this; }