本文整理汇总了PHP中AdminPage::initInternal方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminPage::initInternal方法的具体用法?PHP AdminPage::initInternal怎么用?PHP AdminPage::initInternal使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AdminPage
的用法示例。
在下文中一共展示了AdminPage::initInternal方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: initInternal
protected function initInternal()
{
parent::initInternal();
$this->ui->loadFromXML($this->ui_xml);
$this->initComments();
$this->initCommentReplicator();
}
示例2: initInternal
protected function initInternal()
{
parent::initInternal();
$this->ui->loadFromXML($this->ui_xml);
$this->id = SiteApplication::initVar('id');
$this->initTag();
}
示例3: initInternal
protected function initInternal()
{
parent::initInternal();
$this->ui->loadFromXML($this->ui_xml);
$button = $this->ui->getWidget('submit_button');
$camera_time_zone = $this->app->config->pinhole->camera_time_zone;
$time_zone = $camera_time_zone === null ? $this->app->default_time_zone->getName() : $camera_time_zone;
$this->ui->getWidget('photo_time_zone')->value = $time_zone;
$this->ui->getWidget('camera_time_zone')->value = $time_zone;
$this->ui->getWidget('private_field')->visible = $this->app->config->pinhole->enable_private_photos;
$this->config_ui_map = array('camera_time_zone' => 'photo_time_zone', 'set_pending' => 'set_pending', 'set_private_photos' => 'private', 'set_content_by_meta_data' => 'set_content_by_meta_data', 'set_tags_by_meta_data' => 'set_tags_by_meta_data', 'auto_rotate' => 'auto_rotate');
foreach ($this->config_ui_map as $config_name => $id) {
$value = $this->app->config->pinhole->{$config_name};
if ($value !== null) {
$this->ui->getWidget($id)->value = $value;
}
}
}
示例4: initInternal
protected function initInternal()
{
parent::initInternal();
// relocate to photo index page
$this->app->relocate('Photo');
}
示例5: initInternal
protected function initInternal()
{
parent::initInternal();
$this->post_id = SiteApplication::initVar('post_id', null, SiteApplication::VAR_GET);
$this->form_unique_id = SiteApplication::initVar('form_unique_id', null, SiteApplication::VAR_GET);
}
示例6: initInternal
protected function initInternal()
{
parent::initInternal();
$this->initReport();
}