function init() { parent::init(); $this->active = array('content', 'content.site.index'); $this->widget = Field::widgets(); $first[0] = __('please select'); $this->widget = $first + $this->widget; }
function init() { parent::init(); $this->active = array('system', 'core.modules.index'); $this->_base = base_path() . 'modules/'; foreach ($this->_core_modules as $m) { $load = Modules::find()->where(array('name' => $m))->one(); if ($load) { continue; } $this->load_module($m, true); } }
function init() { parent::init(); $this->imagecache = array('resize' => array('width' => '', 'height' => '', 'keepar' => "true", 'pad' => "true"), 'crop' => array('x1' => '', 'y1' => '', 'x2' => '', 'y2' => ''), 'crop_resize' => array('width' => '', 'height' => ''), 'rotate' => array('degrees' => ''), 'flip' => array('direction' => array('vertical', 'horizontal', 'both')), 'watermark' => array('filename' => 'file', 'position' => array(1, 2, 3, 4, 5, 6, 7, 8, 9), 'padding' => ''), 'border' => array('size' => '', 'color' => 'color'), 'mask' => array('maskimage' => 'mask.ext'), 'rounded' => array('radius' => '', 'sides' => 'tl tr bl br', 'antialias' => ''), 'grayscale' => array('grayscale')); $this->active = array('system', 'image.admin.index'); }
function init() { parent::init(); $this->active = array('extend', 'comment.site.index'); }
function init() { parent::init(); $this->active = array('system', 'auth.config.index'); }
function init() { parent::init(); $this->active = array('system', 'i18n.site.index'); }
function init() { parent::init(); $this->active = array('auth'); }
function init() { parent::init(); $this->active = array('content', 'content.node.index'); }
function init() { parent::init(); $this->active = array('auth', 'auth.group.index'); }