App\Source\ModelFieldBuilder\AField::toString PHP Method

toString() protected method

protected toString ( $str )
    protected function toString($str)
    {
        if ($this->className) {
            $str = str_replace("#", "# class=\"" . $this->className . "\"", $str);
        }
        if ($this->idName) {
            $str = str_replace("#", "# id=\"" . $this->idName . "\"", $str);
        }
        if ($this->no_show_value) {
            $str = preg_replace("/value=\"(.*)\"/s", "", $str);
        }
        return str_replace("#", "", $str);
    }