IQnection\BigCommerceApp\Model\Category
Synopsis
class Category
extends DataObject
implements
ApiObjectInterface
{
- // members
- private static $entity_class = IQnection\BigCommerceApp\Entities\CategoryEntity::class;
- private static string $table_name = 'BCCategory';
- private static array $extensions = ;
- private static array $db = ;
- private static array $many_many = ;
- private static string $default_sort = 'sort_order ASC';
- private static array $remove_fields = ;
- private static array $readonly_fields = ;
- protected integer $_navigationLevel = 2;
- protected $_level;
- protected $_crumbs;
- // methods
- public void CanDelete()
- public void getFrontEndFields()
- public void onAfterWrite()
- public void getPageLevel()
- public void setNavigationLevel()
- public void getNavigationLevel()
- public void Level()
- public void ApiData()
- public void Parent()
- public void Siblings()
- public void loadApiData()
- public void AllChildren()
- public void Children()
- public void processWebhook()
- public void Pull()
- public void SyncFromApi()
- public void Breadcrumbs()
- public void DropdownTitle()
- public void Link()
- public void AbsoluteLink()
- // Inherited methods from Cacheable
- public static void generateCacheKey()
- public static void cacheInterface()
- public static void toCache()
- public static void fromCache()
- public static void clearCache()
- public static void isCached()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Uses
Implements
Members
private
- $db
- $default_sort
- $entity_class
- $extensions
- $many_many
- $readonly_fields
- $remove_fields
- $table_name
protected
- $_crumbs
- $_level
Methods
public
- AbsoluteLink()
- AllChildren()
- ApiData()
- Breadcrumbs()
- CanDelete()
- Children()
- DropdownTitle()
- Level()
- Link()
- Parent()
- Pull()
- Siblings()
- SyncFromApi()
- getFrontEndFields()
- getPageLevel() — This is here in case categories are used in navigation and you need to know what level it's at
- loadApiData()
- onAfterWrite()
- processWebhook()