\Stigma

This class allow cast abstract stigmatization of random objects placed in random scopes.

Synopsis

class Stigma {
  • // constants
  • const ICON_EXT = '.png';
  • const ICON_PATH = 'skins/stigma/';
  • const CONFIG_PATH = 'config/stigma/';
  • const CUSTOM_CONFIG_PATH = 'content/documents/mystigma/confs/';
  • const CUSTOM_ICON_PATH = 'content/documents/mystigma/icons/';
  • const CONFIG_EXT = '.ini';
  • const TABLE_DATASOURCE = 'stigma';
  • const DELIMITER = '|';
  • const RENDERER_PREFIX = 'renderer';
  • const ROUTE_SCOPE = 'stscope';
  • const ROUTE_ITEMID = 'stitemid';
  • const ROUTE_STATE = 'stchstate';
  • const ROUTE_ICONSIZE = 'stis';
}

Constants

Name Value
ICON_EXT '.png'
ICON_PATH 'skins/stigma/'
CONFIG_PATH 'config/stigma/'
CUSTOM_CONFIG_PATH 'content/documents/mystigma/confs/'
CUSTOM_ICON_PATH 'content/documents/mystigma/icons/'
CONFIG_EXT '.ini'
TABLE_DATASOURCE 'stigma'
DELIMITER '|'
RENDERER_PREFIX 'renderer'
ROUTE_SCOPE 'stscope'
ROUTE_ITEMID 'stitemid'
ROUTE_STATE 'stchstate'
ROUTE_ICONSIZE 'stis'

Members

protected

  • $activeClass — string
    Configurable active-state class
  • $allStigmas — array
    Contains all of available stigmas from database as itemid=>data
  • $animatedbool
    Stigma content update animation
  • $baseClass — string
    Configurable base-state controls class
  • $baseUrl — string
    Contains controller callbacks URL
  • $customLogging — string
    System custom logging flag/table name. Disabled if empty.
  • $icons — array
    Contains available stigma type icons as state=>iconname
  • $myLogin — string
    Contains current administrator login
  • $renderer — string
    Stigma controller renderer type: iconic, selector, textlink, etc...
  • $scope — string
    Contains current instance stigma-scope
  • $states — array
    Contains all of states available in current scope as state=>name
  • $stigmaDb
    Database abstraction layer placeholder
  • $systemLogging — string
    System weblogs logging flag/parameter name. Disabled if empty.
  • $taskmanLogging — string
    Taskman logging flag/parameter name. Disabled if empty.
  • $type — string
    Contains current instance type: checklist or radiolist

Methods

protected

public