<?php
namespace Lm\Entity;
use Lm\Entity\Common\Entity;
class Category extends Entity
{
const STATUS_AVAILABLE = 1;
const STATUS_UNAVAILABLE = 0;
/**
* @var array
*/
protected $data;
/**
* @return int
*/
public function getMainCategoryId()
{
return $this->data['main_category_id'];
}
/**
* @return string
*/
public function getMainCategoryName()
{
return $this->data['main_category_name'];
}
/**
* @return string
*/
public function main_category_name()
{
return $this->getMainCategoryName();
}
/**
* @return string
*/
public function getMainTitleTag()
{
return $this->data['main_title_tag'];
}
/**
* @return string
*/
public function getMainDescriptionTag()
{
return $this->data['main_description_tag'];
}
/**
* @return string
*/
public function getMainKeywordTag()
{
return $this->data['main_keyword_tag'];
}
/**
* @return string
*/
public function getMainH1Tag()
{
return $this->data['main_h1_tag'];
}
/**
* @return string
*/
public function getMainH2Tag()
{
return $this->data['main_h2_tag'];
}
/**
* @return string
*/
public function getMainH3Tag()
{
return $this->data['main_h3_tag'];
}
/**
* @return int
*/
public function getMainCategoryStatus()
{
return self::intNullable($this->data['main_category_status']);
}
/**
* @return string
*/
public function getMainCategoryWebname()
{
return $this->data['main_category_webname'];
}
/**
* @return string
*/
public function getMainBreadcrumb()
{
return $this->data['main_breadcrumb'];
}
/**
* @return string
*/
public function getMainTitleText()
{
return $this->data['main_title_text'];
}
/**
* @return string
*/
public function getMainTitleSpText()
{
return $this->data['main_title_sp_text'];
}
/**
* @return string
*/
public function getMainCategoryComment()
{
return $this->data['main_category_comment'];
}
/**
* @return string
*/
public function getMainCategoryFixedHeaderContent()
{
return $this->data['main_category_fixed_header_content'];
}
/**
* @return string
*/
public function getMainLeftmenuup1()
{
return $this->data['main_leftmenuup1'];
}
/**
* @return string
*/
public function getMainLeftmenuup2()
{
return $this->data['main_leftmenuup2'];
}
/**
* @return string
*/
public function getMainLeftmenuup3()
{
return $this->data['main_leftmenuup3'];
}
/**
* @return string
*/
public function getMainLeftmenudown1()
{
return $this->data['main_leftmenudown1'];
}
/**
* @return string
*/
public function getMainLeftmenudown2()
{
return $this->data['main_leftmenudown2'];
}
/**
* @return string
*/
public function getMainLeftmenudown3()
{
return $this->data['main_leftmenudown3'];
}
/**
* @return string
*/
public function getMainLeftmenudown4()
{
return $this->data['main_leftmenudown4'];
}
/**
* @return string
*/
public function getMainLeftmenudown5()
{
return $this->data['main_leftmenudown5'];
}
/**
* @return string
*/
public function getMainLeftmenudown6()
{
return $this->data['main_leftmenudown6'];
}
/**
* @return string
*/
public function getMainLeftmenudown7()
{
return $this->data['main_leftmenudown7'];
}
/**
* @return int
*/
public function getMainCategorySmallFooterFlg()
{
return (int)$this->data['main_category_small_footer_flg'];
}
/**
* @return string
*/
public function getMainCategorySmallFooterContent()
{
return $this->data['main_category_small_footer_content'];
}
/**
* @return string
*/
public function getMainCategoryLargeFooterContent()
{
return $this->data['main_category_large_footer_content'];
}
/**
* @return int
*/
public function getCategoryId()
{
return $this->data['category_id'];
}
/**
* @return int
*/
public function getCategoryStatus()
{
return self::intNullable($this->data['category_status']);
}
/**
* @return string
*/
public function getCategoryName()
{
return $this->data['category_name'];
}
/**
* @return string
*/
public function getCategoryTitleTag()
{
return $this->data['category_title_tag'];
}
/**
* @return string
*/
public function getCategoryDescriptionTag()
{
return $this->data['category_description_tag'];
}
/**
* @return string
*/
public function getCategoryKeywordTag()
{
return $this->data['category_keyword_tag'];
}
/**
* @return string
*/
public function getCategoryH1Tag()
{
return $this->data['category_h1_tag'];
}
/**
* @return string
*/
public function getCategoryH2Tag()
{
return $this->data['category_h2_tag'];
}
/**
* @return string
*/
public function getCategoryH3Tag()
{
return $this->data['category_h3_tag'];
}
/**
* @return string
*/
public function getCategoryWebname()
{
return $this->data['category_webname'];
}
/**
* @return string
*/
public function getCategoryBreadcrumb()
{
return $this->data['category_breadcrumb'];
}
/**
* @return string
*/
public function getCategoryTitleText()
{
return $this->data['category_title_text'];
}
/**
* @return string
*/
public function getCategoryTitleSpText()
{
return $this->data['category_title_sp_text'];
}
/**
* @return string
*/
public function getCategoryComment()
{
return $this->data['category_comment'];
}
/**
* @return int
*/
public function getMainCategoryMainCategory()
{
return $this->data['main_category_main_category'];
}
/**
* @return string
*/
public function getMainCategoryMainCategoryName()
{
return $this->data['main_category_main_category_name'];
}
/**
* @return string
*/
public function getMainCategoryMainCategoryWebname()
{
return $this->data['main_category_main_category_webname'];
}
/**
* @return int
*/
public function getMainCategoryHasMainCategories()
{
return (int)$this->data['main_category_has_main_categories'];
}
}