当前位置: 首页>>代码示例>>PHP>>正文


PHP AdminForm::startUp方法代码示例

本文整理汇总了PHP中AdminForm::startUp方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminForm::startUp方法的具体用法?PHP AdminForm::startUp怎么用?PHP AdminForm::startUp使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AdminForm的用法示例。


在下文中一共展示了AdminForm::startUp方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: startUp

 public function startUp()
 {
     $folderList = array(false => __('kein Kategorie')) + $this->controller->Folder->listAll('name', array('conditions' => array('id > 1')));
     $this->config = array('MediaFile' => array('fields' => array('folder_id' => array('mandatory' => false, 'type' => 'DropDown', 'label' => __('Kategorie (optional)'), 'options' => $folderList))), array('type' => 'file', 'name' => 'file', 'label' => false), array('type' => 'submit', 'value' => __('Hochladen')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:6,代码来源:AdminMediaFileForm.php

示例2: startUp

 public function startUp()
 {
     $this->config = array('NodeText' => array('fields' => array('headline' => array('label' => __('Überschrift'), 'mandatory' => false), 'subline' => array('label' => __('Unter-Überschrift'), 'mandatory' => false), 'text' => array('mandatory' => false, 'label' => __('Text/Beschreibung')), 'excerpt' => array('label' => __('Auszug/Zusammenfassung'), 'mandatory' => false), 'url' => array('label' => __('URL'), 'mandatory' => false), 'tags' => array('mandatory' => false, 'label' => __('Tags (SEO)'), 'type' => 'text'), 'language_id' => array('type' => 'hidden'))), array('type' => 'submit', 'value' => __('Speichern')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminNodeTextForm.php

示例3: startUp

 public function startUp()
 {
     $this->config = array(array('type' => 'text', 'name' => 'q', 'label' => false, 'placeholder' => __('Suchbegriff'), 'value' => coalesce(@$this->controller->params['q'], false)));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminSearchForm.php

示例4: startUp

 public function startUp()
 {
     $this->config = array('MediaText' => array('fields' => array('title' => array('mandatory' => false, 'label' => __('Überschrift')), 'text' => array('mandatory' => false, 'label' => __('Text/Beschreibung')), 'language_id' => array('type' => 'hidden'))), array('type' => 'submit', 'value' => __('Speichern')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminMediaTextForm.php

示例5: startUp

 public function startUp()
 {
     $this->config = array('Language' => array('fields' => array('id', 'status' => array('type' => 'DropDown', 'options' => Status::$list), 'name', 'locale')), array('type' => 'submit', 'value' => __('Speichern')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminLanguageForm.php

示例6: startUp

 public function startUp()
 {
     $this->config = array('UserGroup' => array('fields' => array('name' => array('type' => 'text'), 'description' => array('type' => 'textarea', 'mandatory' => false, 'label' => __('Beschreibung')))), array('name' => 'permission_id[]', 'label' => __('Zugriffsrechte'), 'type' => 'DropDown', 'options' => $this->controller->Permission->listAll('name'), 'multiple' => true, 'mandatory' => false), array('type' => 'submit', 'value' => __('Speichern')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminUserGroupForm.php

示例7: startUp

 public function startUp()
 {
     $this->config = array('Folder' => array('fields' => array('name')), array('type' => 'submit', 'value' => __('Speichern')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminFolderForm.php

示例8: startUp

 public function startUp()
 {
     $this->config = array(array('type' => 'email', 'placeholder' => __('E-Mail'), 'label' => false), array('type' => 'password', 'label' => false, 'placeholder' => __('Passwort')), array('type' => 'checkbox', 'name' => 'permanent', 'checked' => true, 'label' => __('Eingeloggt bleiben')), array('type' => 'submit', 'value' => __('Einloggen')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminLoginForm.php

示例9: startUp

 public function startUp()
 {
     $this->config = array('User' => array('fields' => array('name', 'user_group_id' => array('type' => 'DropDown', 'label' => __('Benutzergruppe'), 'options' => $this->controller->UserGroup->listAll('UserGroup.name', array('depth' => 0))), 'email', 'password' => array('mandatory' => false, 'value' => '', 'label' => __('Passwort')), 'description' => array('mandatory' => false, 'label' => __('Beschreibung')), 'locale' => array('label' => __('Sprache'), 'type' => 'DropDown', 'options' => array('de_DE' => 'Deutsch', 'en_GB' => 'English')))), array('type' => 'submit', 'value' => __('Speichern')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminUserForm.php

示例10: startUp

 public function startUp()
 {
     $this->config = array('BlogPost' => array('fields' => array('headline' => array('label' => __('Titel'), 'mandatory' => true), 'uri' => array('label' => __('URI'), 'mandatory' => false), 'text' => array('label' => false), 'tags' => array('mandatory' => false, 'type' => 'textarea', 'rows' => 2, 'label' => __('Tags (SEO')), 'status' => array('type' => 'DropDown', 'options' => Status::$list, 'value' => Status::PUBLISHED), 'language_id' => array('type' => 'DropDown', 'label' => __('Sprache'), 'options' => $this->controller->Language->listAll('name', array('order' => array('name' => DBquery::ORDER_ASC)))), 'user_id' => array('type' => 'DropDown', 'label' => __('Autor'), 'options' => $this->controller->User->listAll('User.name', array('order' => array('User.name ASC'))), 'value' => $this->controller->UserLogin->User->id), 'published' => array('type' => 'DateTime', 'label' => __('Veröffentlichungsdatum')))), array('name' => 'allowComments', 'type' => 'checkbox', 'label' => __('Kommentare erlauben'), 'checked' => 'checked'), array('name' => 'sticky', 'type' => 'checkbox', 'label' => __('Eintrag oben halten (sticky)')), array('type' => 'submit', 'value' => __('Speichern')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminBlogPostForm.php

示例11: startUp

 public function startUp()
 {
     $this->config = array('Comment' => array('fields' => array('name', 'email' => array('mandatory' => false, 'label' => __('E-Mail')), 'url' => array('mandatory' => false), 'text')), array('type' => 'submit', 'name' => 'submit', 'value' => __('Speichern')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminCommentForm.php

示例12: startUp

 public function startUp()
 {
     $this->config = array('NodeText' => array('fields' => array('headline' => array('mandatory' => false, 'label' => __('Überschrift')), 'subline' => array('mandatory' => false, 'label' => __('Unter-Überschrift')), 'text' => array('mandatory' => false, 'label' => __('Text/Beschreibung')), 'excerpt' => array('mandatory' => false, 'label' => __('Auszug/Zusammenfassung')), 'tags' => array('mandatory' => false, 'type' => 'textarea', 'rows' => 2, 'label' => __('Tags (SEO)')))), 'Node' => array('fields' => array('user_id' => array('type' => 'DropDown', 'options' => $this->controller->User->listAll('User.name', array('order' => array('User.name' => DBQuery::ORDER_ASC))), 'value' => $this->controller->UserLogin->User->id, 'label' => __('Autor')), 'published' => array('type' => 'Date', 'label' => __('Datum'), 'value' => time()), 'status' => array('type' => 'DropDown', 'options' => Status::$list, 'value' => Status::PUBLISHED), 'template' => array('type' => 'DropDown', 'options' => $this->templateNames(), 'value' => 'view'))), array('type' => 'checkbox', 'name' => 'allowRSS', 'label' => __('In RSS Feed integrieren')), array('type' => 'checkbox', 'name' => 'allowComments', 'label' => __('Kommentare erlauben')), array('type' => 'submit', 'value' => __('Speichern')));
     return parent::startUp();
 }
开发者ID:Ephigenia,项目名称:harrison,代码行数:5,代码来源:AdminNodeForm.php


注:本文中的AdminForm::startUp方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。