getLang('othercolumn'); } } //eventually also possible, if you have only one column and not a css class per cell: public function th() { return $this->getLang('yourcolumn'); } /** * Returns the cell data for the Pagelist Plugin * * @param string $id page id * @param string $column column name as set in addColumn() * @param string $class by reference, class set to td of the table. Replaces that default the column name is set as class * @return string escaped html content for cell of table */ public function td($id, $column=null, &$class = null) { $class .= 'special'; if($column == 'yourcolumn') { $content = '...'; } else { $content = '...'; } return hsc($content); } //eventually also possible, if you have only one column and not a class per cell:: public function td($id) { $content = '...'; return hsc($content); } }