<?php/** * Inheritance: no * Variants: no * * Fields Summary: * - headline [textarea] * - intro [textarea] * - text [wysiwyg] */namespace Pimcore\Model\DataObject;use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;use Pimcore\Model\DataObject\PreGetValueHookInterface;/*** @method static \Pimcore\Model\DataObject\Job\Listing getList(array $config = [])* @method static \Pimcore\Model\DataObject\Job\Listing|\Pimcore\Model\DataObject\Job|null getByHeadline($value, $limit = 0, $offset = 0, $objectTypes = null)* @method static \Pimcore\Model\DataObject\Job\Listing|\Pimcore\Model\DataObject\Job|null getByIntro($value, $limit = 0, $offset = 0, $objectTypes = null)* @method static \Pimcore\Model\DataObject\Job\Listing|\Pimcore\Model\DataObject\Job|null getByText($value, $limit = 0, $offset = 0, $objectTypes = null)*/class Job extends Concrete{protected $o_classId = "Job";protected $o_className = "Job";protected $headline;protected $intro;protected $text;/*** @param array $values* @return \Pimcore\Model\DataObject\Job*/public static function create($values = array()) { $object = new static(); $object->setValues($values); return $object;}/*** Get headline - Headline* @return string|null*/public function getHeadline(): ?string{ if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { $preValue = $this->preGetValue("headline"); if ($preValue !== null) { return $preValue; } } $data = $this->headline; if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) { return $data->getPlain(); } return $data;}/*** Set headline - Headline* @param string|null $headline* @return \Pimcore\Model\DataObject\Job*/public function setHeadline(?string $headline){ $this->headline = $headline; return $this;}/*** Get intro - Intro* @return string|null*/public function getIntro(): ?string{ if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { $preValue = $this->preGetValue("intro"); if ($preValue !== null) { return $preValue; } } $data = $this->intro; if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) { return $data->getPlain(); } return $data;}/*** Set intro - Intro* @param string|null $intro* @return \Pimcore\Model\DataObject\Job*/public function setIntro(?string $intro){ $this->intro = $intro; return $this;}/*** Get text - Text* @return string|null*/public function getText(): ?string{ if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { $preValue = $this->preGetValue("text"); if ($preValue !== null) { return $preValue; } } $data = $this->getClass()->getFieldDefinition("text")->preGetData($this); if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) { return $data->getPlain(); } return $data;}/*** Set text - Text* @param string|null $text* @return \Pimcore\Model\DataObject\Job*/public function setText(?string $text){ $this->text = $text; return $this;}}