* zin: refactor
This commit is contained in:
@@ -5,14 +5,9 @@ class pagebase extends wg
|
||||
{
|
||||
static $tag = 'html';
|
||||
|
||||
static $defineProps = array
|
||||
(
|
||||
'metas' => array('type' => 'string|array', 'default' => array('<meta charset="utf-8">', '<meta http-equiv="X-UA-Compatible" content="IE=edge">', '<meta name="viewport" content="width=device-width, initial-scale=1">', '<meta name="renderer" content="webkit">')),
|
||||
'title' => array('type' => 'string'),
|
||||
'bodyProps' => array('type' => 'array', 'optional' => true),
|
||||
'zui' => array('type' => 'bool', 'default' => false),
|
||||
'display' => array('type' => 'bool', 'default' => true)
|
||||
);
|
||||
static $defineProps = 'metas?: string|array, title?: string, bodyProps?: array, zui?: bool, display?: bool';
|
||||
|
||||
static $defaultProps = array('zui' => false, 'display' => true, 'metas' => array('<meta charset="utf-8">', '<meta http-equiv="X-UA-Compatible" content="IE=edge">', '<meta name="viewport" content="width=device-width, initial-scale=1">', '<meta name="renderer" content="webkit">'));
|
||||
|
||||
protected function created()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user