Lines Matching refs:type
563 * Get the extension type(s)
565 * @return array The type(s) as array of strings
611 * The type of extension installation
799 foreach (PluginController::PLUGIN_TYPES as $type) {
800 if (file_exists($path . $type . '.php')) {
801 $plugin = plugin_load($type, $this->base);
805 if ($dh = @opendir($path . $type . '/')) {
809 $plugin = plugin_load($type, $this->base . '_' . substr($cp, 0, -4));
1043 if ($item['type'] == 'template') {
1075 if ($item['type'] == 'template') {
1080 'type' => $item['type'],
1117 * @param string $default_type - type used if no info.txt available
1143 $type = explode('.', $f, 2);
1144 $info['type'] = $type[0];
1166 // does this look like a template or should we use the default type?
1168 $info['type'] = 'template';
1170 $info['type'] = $default_type;
1187 * Determines the compression type from the file extension
1228 * Determine the archive type of the given file
1230 * Reads the first magic bytes of the given file for content type guessing,
1296 if ($extension['type'] == 'template') {