public function setParentId($o_parentId) { $this->o_parentId = (int) $o_parentId; $this->o_parent = null; return $this; }