src/Helpers/UI.php
public function cssClass($type)
    {
        $framework = $this->getFramework();
        $classes = $this->getClasses($framework);

        if (property_exists($classes, $type)) {
            return $classes->$type;
        }

        return '';
    }
public function cssClass($type)
    {
        $framework = $this->getFramework();
        $classes = $this->getClasses($framework);

        if (property_exists($classes, $type)) {
            return $classes->$type;
        }

        return '';
    }
public function cssClass ( $ type ) { $ framework = $ this -> getFramework ( ) ; $ classes = $ this -> getClasses ( $ framework ) ; if ( property_exists ( $ classes , $ type ) ) { return $ classes -> $ type ; } return '' ; }
Get the css class for a given object type.

@param string $type Object type.

@return string
Get the css class for a given object type .