Example #1
0
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "Role", "role_key");
     $oListWidget->setDelegate($this->oDelegateProxy);
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "Language", 'language_id', 'asc');
     $oListWidget->setDelegate($this->oDelegateProxy);
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $oDelegateProxy = new CriteriaListWidgetDelegate($this, "Group", "name");
     $oListWidget->setDelegate($oDelegateProxy);
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "Translation", 'string_key');
     $oListWidget->setDelegate($this->oDelegateProxy);
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, 'DocumentationPart', 'sort');
     $oListWidget->setDelegate($this->oDelegateProxy);
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "DocumentType", 'extension');
     $oListWidget->setDelegate($this->oDelegateProxy);
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "Journal", "name", "asc");
     $oListWidget->setDelegate($this->oDelegateProxy);
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "Subscriber", 'created_at', 'desc');
     $oListWidget->setDelegate($this->oDelegateProxy);
     return $oListWidget;
 }
Example #9
0
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "Tag", 'name');
     $oListWidget->setDelegate($this->oDelegateProxy);
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "LinkCategory", 'name');
     $oListWidget->setDelegate($this->oDelegateProxy);
     $this->oExternallyManagedInputFilter = WidgetModule::getWidget('externally_managed_input', true);
     $this->oDelegateProxy->setInternallyManagedOnly(true);
     return $oListWidget;
 }
Example #11
0
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "User", 'full_name');
     $oListWidget->setDelegate($this->oDelegateProxy);
     $oListWidget->setSetting('row_model_drag_and_drop_identifier', 'id');
     $this->oDelegateProxy->setUserKind(CriteriaListWidgetDelegate::SELECT_ALL);
     $this->oUserKindFilter = WidgetModule::getWidget('user_kind_input', null, $this->oDelegateProxy->getUserKind());
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "Newsletter", 'updated_at', 'desc');
     $oListWidget->setDelegate($this->oDelegateProxy);
     if (!LanguageInputWidgetModule::isMonolingual()) {
         $this->oLanguageFilter = WidgetModule::getWidget('language_input', null, true);
     }
     return $oListWidget;
 }
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "JournalEntry", "publish_at", "desc");
     $oListWidget->setDelegate($this->oDelegateProxy);
     $oListWidget->setSetting('row_model_drag_and_drop_identifier', 'id');
     $this->oTagFilter = WidgetModule::getWidget('tag_input', null, true);
     $this->oTagFilter->setSetting('model_name', 'JournalEntry');
     return $oListWidget;
 }
Example #14
0
 protected function createListWidget()
 {
     $oListWidget = new ListWidgetModule();
     $this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "Link", "name_truncated", "asc");
     $oListWidget->setDelegate($this->oDelegateProxy);
     $oListWidget->setSetting('row_model_drag_and_drop_identifier', 'id');
     if (!LanguageInputWidgetModule::isMonolingual()) {
         $this->oLanguageFilter = WidgetModule::getWidget('language_input', null, true);
     }
     $this->oTagFilter = WidgetModule::getWidget('tag_input', null, true);
     $this->oTagFilter->setSetting('model_name', 'Link');
     return $oListWidget;
 }
Example #15
0
 public static function testWidget()
 {
     $oResult = new ListWidgetModule(null, new TestListWidgetDelegate(4, 300));
     $oResult->setSetting('page_size', 12);
     return $oResult;
 }