<?php
/**
* Inheritance: no
* Variants: no
*
* Fields Summary:
* - enabled [checkbox]
* - anchor [checkbox]
* - include_in_menu [checkbox]
* - layer_category_only [checkbox]
* - search_exclude [checkbox]
* - exclude_from_category_filter [checkbox]
* - ubongo_exclude [checkbox]
* - additional_category [checkbox]
* - is_outlet_parent [checkbox]
* - new_in [checkbox]
* - sale [checkbox]
* - outlet [checkbox]
* - action [checkbox]
* - display_mode [select]
* - name [input]
* - seo_page_title [input]
* - seo_heading [input]
* - touchpoint_id [input]
* - default_sort_by [select]
* - description [textarea]
* - meta_title [input]
* - meta_keywords [input]
* - meta_description [input]
* - google_id [input]
* - zsdev_robots [input]
* - zsdev_canonical [input]
* - zsdev_include_in_sitemap [select]
* - zsdev_robots_pagination [input]
* - zsdev_canonical_pagination [input]
* - zsdev_include_in_sitemap_pagination [select]
* - zsdev_images_include_in_sitemap [select]
* - site [manyToOneRelation]
* - attribute_set [select]
* - special_title [input]
* - special_url [input]
* - shipping_level [select]
* - shipping_time [select]
* - image [image]
* - thumbnail [image]
*/
namespace Pimcore\Model\DataObject;
use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
use Pimcore\Model\DataObject\PreGetValueHookInterface;
/**
* @method static \Pimcore\Model\DataObject\Category\Listing getList(array $config = [])
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByEnabled($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByAnchor($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByInclude_in_menu($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByLayer_category_only($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySearch_exclude($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByExclude_from_category_filter($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByUbongo_exclude($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByAdditional_category($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByIs_outlet_parent($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByNew_in($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySale($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByOutlet($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByAction($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByDisplay_mode($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByName($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySeo_page_title($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySeo_heading($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByTouchpoint_id($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByDefault_sort_by($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByDescription($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByMeta_title($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByMeta_keywords($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByMeta_description($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByGoogle_id($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_robots($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_canonical($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_include_in_sitemap($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_robots_pagination($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_canonical_pagination($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_include_in_sitemap_pagination($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_images_include_in_sitemap($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySite($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByAttribute_set($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySpecial_title($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySpecial_url($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByShipping_level($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByShipping_time($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByImage($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByThumbnail($value, $limit = 0, $offset = 0, $objectTypes = null)
*/
class Category extends Concrete
{
protected $o_classId = "5";
protected $o_className = "Category";
protected $enabled;
protected $anchor;
protected $include_in_menu;
protected $layer_category_only;
protected $search_exclude;
protected $exclude_from_category_filter;
protected $ubongo_exclude;
protected $additional_category;
protected $is_outlet_parent;
protected $new_in;
protected $sale;
protected $outlet;
protected $action;
protected $display_mode;
protected $name;
protected $seo_page_title;
protected $seo_heading;
protected $touchpoint_id;
protected $default_sort_by;
protected $description;
protected $meta_title;
protected $meta_keywords;
protected $meta_description;
protected $google_id;
protected $zsdev_robots;
protected $zsdev_canonical;
protected $zsdev_include_in_sitemap;
protected $zsdev_robots_pagination;
protected $zsdev_canonical_pagination;
protected $zsdev_include_in_sitemap_pagination;
protected $zsdev_images_include_in_sitemap;
protected $site;
protected $attribute_set;
protected $special_title;
protected $special_url;
protected $shipping_level;
protected $shipping_time;
protected $image;
protected $thumbnail;
/**
* @param array $values
* @return \Pimcore\Model\DataObject\Category
*/
public static function create($values = array()) {
$object = new static();
$object->setValues($values);
return $object;
}
/**
* Get enabled - Enabled
* @return bool|null
*/
public function getEnabled()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("enabled");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->enabled;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set enabled - Enabled
* @param bool|null $enabled
* @return \Pimcore\Model\DataObject\Category
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
return $this;
}
/**
* Get anchor - anchor
* @return bool|null
*/
public function getAnchor()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("anchor");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->anchor;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set anchor - anchor
* @param bool|null $anchor
* @return \Pimcore\Model\DataObject\Category
*/
public function setAnchor($anchor)
{
$this->anchor = $anchor;
return $this;
}
/**
* Get include_in_menu - Uključi na meniu
* @return bool|null
*/
public function getInclude_in_menu()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("include_in_menu");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->include_in_menu;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set include_in_menu - Uključi na meniu
* @param bool|null $include_in_menu
* @return \Pimcore\Model\DataObject\Category
*/
public function setInclude_in_menu($include_in_menu)
{
$this->include_in_menu = $include_in_menu;
return $this;
}
/**
* Get layer_category_only - Only Subcategories
* @return bool|null
*/
public function getLayer_category_only()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("layer_category_only");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->layer_category_only;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set layer_category_only - Only Subcategories
* @param bool|null $layer_category_only
* @return \Pimcore\Model\DataObject\Category
*/
public function setLayer_category_only($layer_category_only)
{
$this->layer_category_only = $layer_category_only;
return $this;
}
/**
* Get search_exclude - Ne koristi na searchu
* @return bool|null
*/
public function getSearch_exclude()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("search_exclude");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->search_exclude;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set search_exclude - Ne koristi na searchu
* @param bool|null $search_exclude
* @return \Pimcore\Model\DataObject\Category
*/
public function setSearch_exclude($search_exclude)
{
$this->search_exclude = $search_exclude;
return $this;
}
/**
* Get exclude_from_category_filter - Exclude from category filter
* @return bool|null
*/
public function getExclude_from_category_filter()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("exclude_from_category_filter");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->exclude_from_category_filter;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set exclude_from_category_filter - Exclude from category filter
* @param bool|null $exclude_from_category_filter
* @return \Pimcore\Model\DataObject\Category
*/
public function setExclude_from_category_filter($exclude_from_category_filter)
{
$this->exclude_from_category_filter = $exclude_from_category_filter;
return $this;
}
/**
* Get ubongo_exclude - Ubongo exclude
* @return bool|null
*/
public function getUbongo_exclude()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("ubongo_exclude");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->ubongo_exclude;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set ubongo_exclude - Ubongo exclude
* @param bool|null $ubongo_exclude
* @return \Pimcore\Model\DataObject\Category
*/
public function setUbongo_exclude($ubongo_exclude)
{
$this->ubongo_exclude = $ubongo_exclude;
return $this;
}
/**
* Get additional_category - Additional category
* @return bool|null
*/
public function getAdditional_category()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("additional_category");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->additional_category;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set additional_category - Additional category
* @param bool|null $additional_category
* @return \Pimcore\Model\DataObject\Category
*/
public function setAdditional_category($additional_category)
{
$this->additional_category = $additional_category;
return $this;
}
/**
* Get is_outlet_parent - Outlet parent
* @return bool|null
*/
public function getIs_outlet_parent()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("is_outlet_parent");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->is_outlet_parent;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set is_outlet_parent - Outlet parent
* @param bool|null $is_outlet_parent
* @return \Pimcore\Model\DataObject\Category
*/
public function setIs_outlet_parent($is_outlet_parent)
{
$this->is_outlet_parent = $is_outlet_parent;
return $this;
}
/**
* Get new_in - New in
* @return bool|null
*/
public function getNew_in()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("new_in");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->new_in;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set new_in - New in
* @param bool|null $new_in
* @return \Pimcore\Model\DataObject\Category
*/
public function setNew_in($new_in)
{
$this->new_in = $new_in;
return $this;
}
/**
* Get sale - Sale
* @return bool|null
*/
public function getSale()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("sale");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->sale;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set sale - Sale
* @param bool|null $sale
* @return \Pimcore\Model\DataObject\Category
*/
public function setSale($sale)
{
$this->sale = $sale;
return $this;
}
/**
* Get outlet - Outlet
* @return bool|null
*/
public function getOutlet()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("outlet");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->outlet;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set outlet - Outlet
* @param bool|null $outlet
* @return \Pimcore\Model\DataObject\Category
*/
public function setOutlet($outlet)
{
$this->outlet = $outlet;
return $this;
}
/**
* Get action - Action
* @return bool|null
*/
public function getAction()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("action");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->action;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set action - Action
* @param bool|null $action
* @return \Pimcore\Model\DataObject\Category
*/
public function setAction($action)
{
$this->action = $action;
return $this;
}
/**
* Get display_mode - Display mode
* @return string|null
*/
public function getDisplay_mode()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("display_mode");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->display_mode;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set display_mode - Display mode
* @param string|null $display_mode
* @return \Pimcore\Model\DataObject\Category
*/
public function setDisplay_mode($display_mode)
{
$this->display_mode = $display_mode;
return $this;
}
/**
* Get name - Ime
* @return string|null
*/
public function getName()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("name");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->name;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set name - Ime
* @param string|null $name
* @return \Pimcore\Model\DataObject\Category
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get seo_page_title - SEO Page Title
* @return string|null
*/
public function getSeo_page_title()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("seo_page_title");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->seo_page_title;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set seo_page_title - SEO Page Title
* @param string|null $seo_page_title
* @return \Pimcore\Model\DataObject\Category
*/
public function setSeo_page_title($seo_page_title)
{
$this->seo_page_title = $seo_page_title;
return $this;
}
/**
* Get seo_heading - SEO H1 heading
* @return string|null
*/
public function getSeo_heading()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("seo_heading");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->seo_heading;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set seo_heading - SEO H1 heading
* @param string|null $seo_heading
* @return \Pimcore\Model\DataObject\Category
*/
public function setSeo_heading($seo_heading)
{
$this->seo_heading = $seo_heading;
return $this;
}
/**
* Get touchpoint_id - Touchpoint id
* @return string|null
*/
public function getTouchpoint_id()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("touchpoint_id");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->touchpoint_id;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set touchpoint_id - Touchpoint id
* @param string|null $touchpoint_id
* @return \Pimcore\Model\DataObject\Category
*/
public function setTouchpoint_id($touchpoint_id)
{
$this->touchpoint_id = $touchpoint_id;
return $this;
}
/**
* Get default_sort_by - Difoltno sortiranje po
* @return string|null
*/
public function getDefault_sort_by()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("default_sort_by");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->default_sort_by;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set default_sort_by - Difoltno sortiranje po
* @param string|null $default_sort_by
* @return \Pimcore\Model\DataObject\Category
*/
public function setDefault_sort_by($default_sort_by)
{
$this->default_sort_by = $default_sort_by;
return $this;
}
/**
* Get description - Opis
* @return string|null
*/
public function getDescription()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("description");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->description;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set description - Opis
* @param string|null $description
* @return \Pimcore\Model\DataObject\Category
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get meta_title - Meta title
* @return string|null
*/
public function getMeta_title()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("meta_title");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->meta_title;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set meta_title - Meta title
* @param string|null $meta_title
* @return \Pimcore\Model\DataObject\Category
*/
public function setMeta_title($meta_title)
{
$this->meta_title = $meta_title;
return $this;
}
/**
* Get meta_keywords - Meta keywords
* @return string|null
*/
public function getMeta_keywords()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("meta_keywords");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->meta_keywords;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set meta_keywords - Meta keywords
* @param string|null $meta_keywords
* @return \Pimcore\Model\DataObject\Category
*/
public function setMeta_keywords($meta_keywords)
{
$this->meta_keywords = $meta_keywords;
return $this;
}
/**
* Get meta_description - Meta description
* @return string|null
*/
public function getMeta_description()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("meta_description");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->meta_description;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set meta_description - Meta description
* @param string|null $meta_description
* @return \Pimcore\Model\DataObject\Category
*/
public function setMeta_description($meta_description)
{
$this->meta_description = $meta_description;
return $this;
}
/**
* Get google_id - Google ID
* @return string|null
*/
public function getGoogle_id()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("google_id");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->google_id;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set google_id - Google ID
* @param string|null $google_id
* @return \Pimcore\Model\DataObject\Category
*/
public function setGoogle_id($google_id)
{
$this->google_id = $google_id;
return $this;
}
/**
* Get zsdev_robots - Robots
* @return string|null
*/
public function getZsdev_robots()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("zsdev_robots");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->zsdev_robots;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set zsdev_robots - Robots
* @param string|null $zsdev_robots
* @return \Pimcore\Model\DataObject\Category
*/
public function setZsdev_robots($zsdev_robots)
{
$this->zsdev_robots = $zsdev_robots;
return $this;
}
/**
* Get zsdev_canonical - Canonical
* @return string|null
*/
public function getZsdev_canonical()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("zsdev_canonical");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->zsdev_canonical;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set zsdev_canonical - Canonical
* @param string|null $zsdev_canonical
* @return \Pimcore\Model\DataObject\Category
*/
public function setZsdev_canonical($zsdev_canonical)
{
$this->zsdev_canonical = $zsdev_canonical;
return $this;
}
/**
* Get zsdev_include_in_sitemap - Include in sitemap
* @return string|null
*/
public function getZsdev_include_in_sitemap()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("zsdev_include_in_sitemap");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->zsdev_include_in_sitemap;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set zsdev_include_in_sitemap - Include in sitemap
* @param string|null $zsdev_include_in_sitemap
* @return \Pimcore\Model\DataObject\Category
*/
public function setZsdev_include_in_sitemap($zsdev_include_in_sitemap)
{
$this->zsdev_include_in_sitemap = $zsdev_include_in_sitemap;
return $this;
}
/**
* Get zsdev_robots_pagination - Robots (pagination)
* @return string|null
*/
public function getZsdev_robots_pagination()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("zsdev_robots_pagination");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->zsdev_robots_pagination;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set zsdev_robots_pagination - Robots (pagination)
* @param string|null $zsdev_robots_pagination
* @return \Pimcore\Model\DataObject\Category
*/
public function setZsdev_robots_pagination($zsdev_robots_pagination)
{
$this->zsdev_robots_pagination = $zsdev_robots_pagination;
return $this;
}
/**
* Get zsdev_canonical_pagination - Canonical (pagination)
* @return string|null
*/
public function getZsdev_canonical_pagination()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("zsdev_canonical_pagination");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->zsdev_canonical_pagination;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set zsdev_canonical_pagination - Canonical (pagination)
* @param string|null $zsdev_canonical_pagination
* @return \Pimcore\Model\DataObject\Category
*/
public function setZsdev_canonical_pagination($zsdev_canonical_pagination)
{
$this->zsdev_canonical_pagination = $zsdev_canonical_pagination;
return $this;
}
/**
* Get zsdev_include_in_sitemap_pagination - Include in sitemap (pagination)
* @return string|null
*/
public function getZsdev_include_in_sitemap_pagination()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("zsdev_include_in_sitemap_pagination");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->zsdev_include_in_sitemap_pagination;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set zsdev_include_in_sitemap_pagination - Include in sitemap (pagination)
* @param string|null $zsdev_include_in_sitemap_pagination
* @return \Pimcore\Model\DataObject\Category
*/
public function setZsdev_include_in_sitemap_pagination($zsdev_include_in_sitemap_pagination)
{
$this->zsdev_include_in_sitemap_pagination = $zsdev_include_in_sitemap_pagination;
return $this;
}
/**
* Get zsdev_images_include_in_sitemap - Include images in sitemap
* @return string|null
*/
public function getZsdev_images_include_in_sitemap()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("zsdev_images_include_in_sitemap");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->zsdev_images_include_in_sitemap;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set zsdev_images_include_in_sitemap - Include images in sitemap
* @param string|null $zsdev_images_include_in_sitemap
* @return \Pimcore\Model\DataObject\Category
*/
public function setZsdev_images_include_in_sitemap($zsdev_images_include_in_sitemap)
{
$this->zsdev_images_include_in_sitemap = $zsdev_images_include_in_sitemap;
return $this;
}
/**
* Get site - Site
* @return \Pimcore\Model\DataObject\Site|null
*/
public function getSite()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("site");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->getClass()->getFieldDefinition("site")->preGetData($this);
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set site - Site
* @param \Pimcore\Model\DataObject\Site|null $site
* @return \Pimcore\Model\DataObject\Category
*/
public function setSite($site)
{
/** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
$fd = $this->getClass()->getFieldDefinition("site");
$hideUnpublished = \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
\Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
$currentData = $this->getSite();
\Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
$isEqual = $fd->isEqual($currentData, $site);
if (!$isEqual) {
$this->markFieldDirty("site", true);
}
$this->site = $fd->preSetData($this, $site);
return $this;
}
/**
* Get attribute_set - Attribute set
* @return string|null
*/
public function getAttribute_set()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("attribute_set");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->attribute_set;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set attribute_set - Attribute set
* @param string|null $attribute_set
* @return \Pimcore\Model\DataObject\Category
*/
public function setAttribute_set($attribute_set)
{
$this->attribute_set = $attribute_set;
return $this;
}
/**
* Get special_title - Special title
* @return string|null
*/
public function getSpecial_title()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("special_title");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->special_title;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set special_title - Special title
* @param string|null $special_title
* @return \Pimcore\Model\DataObject\Category
*/
public function setSpecial_title($special_title)
{
$this->special_title = $special_title;
return $this;
}
/**
* Get special_url - Special URL
* @return string|null
*/
public function getSpecial_url()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("special_url");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->special_url;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set special_url - Special URL
* @param string|null $special_url
* @return \Pimcore\Model\DataObject\Category
*/
public function setSpecial_url($special_url)
{
$this->special_url = $special_url;
return $this;
}
/**
* Get shipping_level - Shipping level
* @return string|null
*/
public function getShipping_level()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("shipping_level");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->shipping_level;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set shipping_level - Shipping level
* @param string|null $shipping_level
* @return \Pimcore\Model\DataObject\Category
*/
public function setShipping_level($shipping_level)
{
$this->shipping_level = $shipping_level;
return $this;
}
/**
* Get shipping_time - Shipping time
* @return string|null
*/
public function getShipping_time()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("shipping_time");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->shipping_time;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set shipping_time - Shipping time
* @param string|null $shipping_time
* @return \Pimcore\Model\DataObject\Category
*/
public function setShipping_time($shipping_time)
{
$this->shipping_time = $shipping_time;
return $this;
}
/**
* Get image - Glavna slika
* @return \Pimcore\Model\Asset\Image|null
*/
public function getImage()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("image");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->image;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set image - Glavna slika
* @param \Pimcore\Model\Asset\Image|null $image
* @return \Pimcore\Model\DataObject\Category
*/
public function setImage($image)
{
$this->image = $image;
return $this;
}
/**
* Get thumbnail - Thumbnail
* @return \Pimcore\Model\Asset\Image|null
*/
public function getThumbnail()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("thumbnail");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->thumbnail;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set thumbnail - Thumbnail
* @param \Pimcore\Model\Asset\Image|null $thumbnail
* @return \Pimcore\Model\DataObject\Category
*/
public function setThumbnail($thumbnail)
{
$this->thumbnail = $thumbnail;
return $this;
}
}