NextDom\Managers\WidgetManager
Class WidgetManager
Synopsis
class WidgetManager
extends BaseManager
{
- // constants
- const CLASS_NAME = Widget::class;
- const DB_CLASS_NAME = '`widget`';
- // Inherited constants from BaseManager
- const CLASS_NAME = '';
- const DB_CLASS_NAME = '``';
- // Inherited members from BaseManager
- protected static $baseSQL;
- protected static $prefixedBaseSQL;
- // methods
- public static array all()
- public static Widget|null byId()
- public static Widget|null byTypeSubtypeAndName()
- public static array|mixed|null listType()
- public static void listTemplate()
- public static void loadConfig()
- public static void replacement()
- public static array availableWidget()
- // Inherited methods from BaseManager
- protected static string getBaseSQL()
- protected static string getPrefixedBaseSQL()
- // Inherited methods from CommonManager
- public static mixed byId()
- protected static mixed|null getAll()
- public static int getCount()
- protected static mixed|null getAllOrdered()
- protected static mixed|null getOneByClauses()
- protected static mixed|null getMultipleByClauses()
- protected static mixed|null searchOneByClauses()
- protected static mixed|null searchMultipleByClauses()
Hierarchy
Constants
Name | Value |
---|---|
CLASS_NAME | Widget::class |
DB_CLASS_NAME | '`widget`' |
CLASS_NAME | '' |
DB_CLASS_NAME | '``' |
Members
protected
- $baseSQL — array
- $prefixedBaseSQL — array
Methods
public
- all()
- availableWidget() — Check if widget is available
- byId()
- byTypeSubtypeAndName()
- listTemplate()
- listType()
- loadConfig()
- replacement()
Inherited from NextDom\Managers\Parents\BaseManager
protected
- getBaseSQL() — Get base of Select SQL
- getPrefixedBaseSQL() — Get prefixed base of Select SQL
Inherited from NextDom\Managers\Parents\CommonManager
protected
- getAll() — Get all objects
- getAllOrdered() — Get all object sorted on column
- getMultipleByClauses() — Get one multiple filtered with clauses
- getOneByClauses() — Get one object filtered with clauses
- searchMultipleByClauses() — Search one multiple filtered with clauses
- searchOneByClauses() — Search one object filtered with clauses
public
- byId() — Get one object by his id
- getCount() — Get count(*).