public static function current($full = false)
    {
        if (empty(static::$_current)) {
            return '';
        } elseif ($full === false) {
            return static::$_current;
        }

        return static::$_modes[static::$_current];
    }
public static function current($full = false)
    {
        if (empty(static::$_current)) {
            return '';
        } elseif ($full === false) {
            return static::$_current;
        }

        return static::$_modes[static::$_current];
    }
public static function current ( $ full = false ) { if ( empty ( static :: $ _current ) ) { return '' ; } elseif ( $ full === false ) { return static :: $ _current ; } return static :: $ _modes [ static :: $ _current ] ; }
Gets the in use view-mode information.

You can get either, slug only or full information as an array.

@param bool $full Set to true to get full information as an array,
or set to false (by default) to get slug name only
@return array|string
Gets the in use view - mode information .