id; } function getSlug() { return $this->slug; } function getOptions() { return $this->options; } /** * Set type * * @param string $type * * @return CustomField */ public function setType($type) { $this->type = $type; return $this; } /** * Get type * * @return string */ public function getType() { return $this->type; } /** * Set active * * @param boolean $active * * @return CustomField */ public function setActive($active) { $this->active = $active; return $this; } /** * Get active * * @return boolean */ public function getActive() { return $this->active; } /** * Get customFieldGroup * * @return CustomFieldsGroup */ public function getCustomFieldsGroup() { return $this->customFieldGroup; } /** * Set customFieldGroup * * @param \Chill\CustomFieldsBundle\Entity\CustomFieldsGroup $customFieldGroup * * @return CustomField */ public function setCustomFieldsGroup(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup $customFieldGroup = null) { $this->customFieldGroup = $customFieldGroup; return $this; } /** * Set name * * @param array $name * * @return CustomField */ public function setName($name) { $this->name = $name; return $this; } /** * Get name * * @return array */ public function getName() { return $this->name; } /** * Set order * * @param float $order * * @return CustomField */ public function setOrdering($order) { $this->ordering = $order; return $this; } /** * Get order * * @return float */ public function getOrdering() { return $this->ordering; } /** * Set options * * @param array $options * * @return CustomField */ public function setOptions(array $options) { $this->options = $options; return $this; } public function setSlug($slug) { $this->slug = $slug; return $this; } }