protected function getElementClass()
    {
        if (!$this->elementClass) {
            $name = $this->elementName ?: $this->formatName($this->column);

            $this->elementClass = (array) str_replace(['[', ']'], '_', $name);
        }

        return $this->elementClass;
    }
protected function getElementClass()
    {
        if (!$this->elementClass) {
            $name = $this->elementName ?: $this->formatName($this->column);

            $this->elementClass = (array) str_replace(['[', ']'], '_', $name);
        }

        return $this->elementClass;
    }
protected function getElementClass ( ) { if ( ! $ this -> elementClass ) { $ name = $ this -> elementName ? : $ this -> formatName ( $ this -> column ) ; $ this -> elementClass = ( array ) str_replace ( [ '[' , ']' ] , '_' , $ name ) ; } return $ this -> elementClass ; }
Get element class.

@return array
Get element class .