isMulti()) throw new StructException('PageColumns can not be multi value types!'); parent::__construct($sort, $type, 0, true, $table); } public function getColref() { throw new StructException('Accessing the colref of a PageColumn makes no sense'); } /** * @return string */ public function getColName() { $col = 'pid'; if($this->table) $col = 'data_'.$this->table.'.'.$col; return $col; } }