Permalink
Browse files

cleanup

  • Loading branch information...
juergmessmer committed Nov 6, 2012
1 parent 6710501 commit e606e1b86996f00a8888baf30bb9d5ec1b72a0f8
Showing with 4 additions and 3 deletions.
  1. +4 −3 modules/widget/tag_list/TagListWidgetModule.php
@@ -3,6 +3,7 @@
* @package modules.widget
*/
class TagListWidgetModule extends WidgetModule {
private $oListWidget;
public $oDelegateProxy;
@@ -11,18 +12,18 @@ public function __construct() {
$this->oDelegateProxy = new CriteriaListWidgetDelegate($this, "Tag", 'name');
$this->oListWidget->setDelegate($this->oDelegateProxy);
}
public function doWidget() {
$aTagAttributes = array('class' => 'tag_list');
$oListTag = new TagWriter('table', $aTagAttributes);
$this->oListWidget->setListTag($oListTag);
return $this->oListWidget->doWidget();
}
public function getColumnIdentifiers() {
return array('id', 'name', 'tag_instance_count', 'delete');
}
public function getMetadataForColumn($sColumnIdentifier) {
$aResult = array('is_sortable' => false);
switch($sColumnIdentifier) {

0 comments on commit e606e1b

Please sign in to comment.