Home Reference Source Repository
public class | source

OlapicCategoryEntity

Extends:

OlapicEntity → OlapicCategoryEntity

This represents the Olapic categories in DevKit. This type of entity only stores information and doesn't have related content like users or media.

Constructor Summary

Public Constructor
public

The class constructor that receives the category information.

Member Summary

Public Members
public

An alias/name for the entity.

public get

A shortcut method to get access to the categories handler object.

Inherited Summary

From class OlapicEntity
public get

A quick shortcut for the entities so they can access their own entities handler.

public

An alias/name for the entity, for debug purposes.

public

The entity information.

public

get(path: string): *

Access the entity data using a path-like format.

public

A utility method that returns the entity name/alias.

Public Constructors

public constructor(data: Object) source

The class constructor that receives the category information.

Override:

OlapicEntity#constructor

Params:

NameTypeAttributeDescription
data Object

All the information for the category.

Public Members

public alias: String source

An alias/name for the entity.

Override:

OlapicEntity#alias

public get handler: OlapicCategoriesHandler: * source

A shortcut method to get access to the categories handler object.

Override:

OlapicEntity#handler

Return:

OlapicCategoriesHandler

the handler object for this specific type of entity.