\Category
Synopsis
class Category
extends DataObject
{
- // members
- public static array $db = ;
- public static array $has_one = ;
- public static array $belongs_many_many = ;
- public static array $indexes = ;
- public static array $casting = ;
- public static array $field_labels = ;
- public static string $default_sort = "\"Sort\" ASC";
- public static string $singular_name = 'Category';
- public static string $plural_name = 'Categories';
- private static Array $categories_for_city_and_merchant_page_cache = ;
- // methods
- public void i18n_singular_name()
- public void i18n_plural_name()
- public static DataObjectSet categories_for_city_and_merchant_page()
- public void Link()
- public void getCMSFields()
- public void getFilterFormHTMLTitle()
- public void getCode()
Hierarchy
Extends
- DataObject
Members
private
- $categories_for_city_and_merchant_page_cache
—
Array
keeps the categories for one city and one merchant
public
- $belongs_many_many
- $casting
- $db
- $default_sort
- $field_labels
- $has_one
- $indexes
- $plural_name
- $singular_name
Methods
public
- Link()
- categories_for_city_and_merchant_page() — Returns ALL the categories for one city and one merchant
- getCMSFields()
- getCode()
- getFilterFormHTMLTitle()
- i18n_plural_name()
- i18n_singular_name()