public function GetElement($name)
    {
        $element = $this->Elements()->GetElement($name);
        if (!$element)
        {
            throw new \Exception(Trans('Core.Form.Error.ElementNotFound.Name_{0}', $name));
        }
        return $element;
    }
public function GetElement($name)
    {
        $element = $this->Elements()->GetElement($name);
        if (!$element)
        {
            throw new \Exception(Trans('Core.Form.Error.ElementNotFound.Name_{0}', $name));
        }
        return $element;
    }
public function GetElement ( $ name ) { $ element = $ this -> Elements ( ) -> GetElement ( $ name ) ; if ( ! $ element ) { throw new \ Exception ( Trans ( 'Core.Form.Error.ElementNotFound.Name_{0}' , $ name ) ) ; } return $ element ; }
Gets the element with the given name
@param string $name
@return IFormElement
Gets the element with the given name