public function setReverseOption(ListSorter_Option $option) { $this->reverseoption = $option; if (!$option->isReversable()) { if ($this->getID() === $option->getID()) { $option->setID((string) $option . "_rev"); } $option->setReverseOption($this); } return $this; }