isMulti()) throw new StructException('RowColumns can not be multi value types!'); Column::__construct($sort, $type, 0, true, $table); } /** * @return string always '%rowid%' */ public function getLabel() { return '%rowid%'; } /** * @param bool $enforceSingleColumn ignored * @return string */ public function getColName($enforceSingleColumn = true) { return 'rid'; } /** * @return string preconfigured label */ public function getTranslatedLabel() { /** @var \helper_plugin_struct_config $helper */ $helper = plugin_load('helper', 'struct_config'); return $helper->getLang('rowlabel'); } }