private static function prepareClasses($result)
    {
        $classes = array();

        foreach (deserialize($result->customClasses, true) as $class) {
            $classes[$class['column']] = $class['class'];
        }

        return $classes;
    }
private static function prepareClasses($result)
    {
        $classes = array();

        foreach (deserialize($result->customClasses, true) as $class) {
            $classes[$class['column']] = $class['class'];
        }

        return $classes;
    }
private static function prepareClasses ( $ result ) { $ classes = array ( ) ; foreach ( deserialize ( $ result -> customClasses , true ) as $ class ) { $ classes [ $ class [ 'column' ] ] = $ class [ 'class' ] ; } return $ classes ; }
Prepare the css classes.

@param \Database\Result $result The database result.

@return array
Prepare the css classes .