protected static function get_arguments($class)
    {
        if (isset(self::$arguments[$class])) {
            return self::$arguments[$class];
        } else {
            if ($staticFields = Config::inst()->get($class, 'translatable_fields', Config::FIRST_SET)) {
                if (is_array($staticFields) && !empty($staticFields)) {
                    return $staticFields;
                }
            }
        }

        return null;
    }
protected static function get_arguments($class)
    {
        if (isset(self::$arguments[$class])) {
            return self::$arguments[$class];
        } else {
            if ($staticFields = Config::inst()->get($class, 'translatable_fields', Config::FIRST_SET)) {
                if (is_array($staticFields) && !empty($staticFields)) {
                    return $staticFields;
                }
            }
        }

        return null;
    }
protected static function get_arguments ( $ class ) { if ( isset ( self :: $ arguments [ $ class ] ) ) { return self :: $ arguments [ $ class ] ; } else { if ( $ staticFields = Config :: inst ( ) -> get ( $ class , 'translatable_fields' , Config :: FIRST_SET ) ) { if ( is_array ( $ staticFields ) && ! empty ( $ staticFields ) ) { return $ staticFields ; } } } return null ; }
Get the custom arguments for a given class. Either directly from how the extension
was defined, or lookup the 'translatable_fields' static variable

@param string $class
@return array|null
Get the custom arguments for a given class . Either directly from how the extension was defined or lookup the translatable_fields static variable