public static function get_templates_for_class($classname)
    {
        $classes = ClassInfo::ancestry($classname);
        $classes = array_reverse($classes);
        $remove_classes = self::config()->classes_to_remove;
        $return = array();

        array_push($classes, "Catalogue", "Page");

        foreach ($classes as $class) {
            if (!in_array($class, $remove_classes)) {
                $return[] = $class;
            }
        }
        
        return $return;
    }
public static function get_templates_for_class($classname)
    {
        $classes = ClassInfo::ancestry($classname);
        $classes = array_reverse($classes);
        $remove_classes = self::config()->classes_to_remove;
        $return = array();

        array_push($classes, "Catalogue", "Page");

        foreach ($classes as $class) {
            if (!in_array($class, $remove_classes)) {
                $return[] = $class;
            }
        }
        
        return $return;
    }
public static function get_templates_for_class ( $ classname ) { $ classes = ClassInfo :: ancestry ( $ classname ) ; $ classes = array_reverse ( $ classes ) ; $ remove_classes = self :: config ( ) -> classes_to_remove ; $ return = array ( ) ; array_push ( $ classes , "Catalogue" , "Page" ) ; foreach ( $ classes as $ class ) { if ( ! in_array ( $ class , $ remove_classes ) ) { $ return [ ] = $ class ; } } return $ return ; }
Get a list of templates for rendering

@param $classname ClassName to find tempaltes for
@return array Array of classnames
Get a list of templates for rendering