protected function buildOptions()
    {
        $created = '';

        foreach($this->getOptions() as $key => $value){

            if ($key === 'class') {
                $value = $this->buildClassString($value);
            }

            $created .= "$key='$value' ";
        }

        return rtrim($created, ' ');
    }
protected function buildOptions()
    {
        $created = '';

        foreach($this->getOptions() as $key => $value){

            if ($key === 'class') {
                $value = $this->buildClassString($value);
            }

            $created .= "$key='$value' ";
        }

        return rtrim($created, ' ');
    }
protected function buildOptions ( ) { $ created = '' ; foreach ( $ this -> getOptions ( ) as $ key => $ value ) { if ( $ key === 'class' ) { $ value = $ this -> buildClassString ( $ value ) ; } $ created .= "$key='$value' " ; } return rtrim ( $ created , ' ' ) ; }
build options string

@return string
build options string