Html
class Html extends Widget
Виджет "Html"
Traits
Используется в классах, которым необходимо работать с БД.
Properties
$application | from Widget | ||
$widgetName | from Widget | ||
$widgetAlias | from Widget | ||
$widgetTitle | from Widget | ||
$widgetDescrib | from Widget | ||
$widgetDisabled | from Widget | ||
$widgetProtected | from Widget | ||
static | $name | from Widget |
Methods
static Connection
getDbConnection()
Возвращает активное соединение с БД в рамках приложения
from DbConnection
static void
configSet(string $key, miced $value)
Сохраняет пару ключ/значение в БД
from DbConnection
Details
in DbConnection at line 22
final static Connection
getDbConnection()
Возвращает активное соединение с БД в рамках приложения
in DbConnection at line 35
static void
configSet(string $key, miced $value)
Сохраняет пару ключ/значение в БД
in DbConnection at line 47
static mixed
configGet(string $key)
Возвращает значение связанное с ключем из БД
in DbConnection at line 60
static mixed
configGetAll()
Возвращает все ключи/значения из БД
in DbConnection at line 78
static void
configUnset(string $key)
Удаляет пару ключ/значение из БД
in Widget at line 51
__construct($id, $params = null, $uid = null)
in Widget at line 80
getUniqueId()
in Widget at line 88
setUniqueId($uid)
in Widget at line 93
getAjaxUrl()
in Widget at line 98
isAjax()
in Widget at line 102
getId()
in Widget at line 112
getParams()
in Widget at line 117
setParams($params)
in Widget at line 126
getParam($name, $default = null)
in Widget at line 142
setParam($name, $value)
in Widget at line 151
getHtml()
in Widget at line 162
display()
in Widget at line 166
__toString()
in Widget at line 170
save()
in Widget at line 192
delete()
in Widget at line 201
addToContainer($id)
in Widget at line 210
removeFromContainer($id, $cleanup)
in Widget at line 225
final static
setData($data)
in Widget at line 230
final static
getData($key = null)
in Widget at line 236
final static
getName()
in Widget at line 246
getXml()
Экспорт виджета в XML