Cond = FRFactory::GetFRElement($Options->C, $this); $this->Tr = FRFactory::GetFRElement($Options->Tr, $this); $this->Fa = FRFactory::GetFRElement($Options->Fa, $this); } public function Parse() { if ($this->Cond->Parse()) return $this->Tr->Parse(); else return $this->Fa->Parse(); } }