public static function list_templates($component, $search, $themename = '') {
        $params = self::validate_parameters(self::list_templates_parameters(),
                                            array(
                                                'component' => $component,
                                                'search' => $search,
                                                'themename' => $themename,
                                            ));

        return api::list_templates($component, $search, $themename);
    }
public static function list_templates($component, $search, $themename = '') {
        $params = self::validate_parameters(self::list_templates_parameters(),
                                            array(
                                                'component' => $component,
                                                'search' => $search,
                                                'themename' => $themename,
                                            ));

        return api::list_templates($component, $search, $themename);
    }
public static function list_templates ( $ component , $ search , $ themename = '' ) { $ params = self :: validate_parameters ( self :: list_templates_parameters ( ) , array ( 'component' => $ component , 'search' => $ search , 'themename' => $ themename , ) ) ; return api :: list_templates ( $ component , $ search , $ themename ) ; }
Loads the list of templates.
@param string $component Limit the search to a component.
@param string $search The search string.
@param string $themename The name of theme
@return array[string]
Loads the list of templates .