/** * @return boolean */ public function getCanSort() { return !$this->isReadonly() && $this->parent->getCanSort(); }