Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 26) sorted by relevance

12

/dokuwiki/bin/
H A Dgittool.php115 foreach($extensions as $ext) {
120 $errors[] = $ext;
123 $succeeded[] = $ext;
125 $errors[] = $ext;
144 foreach($extensions as $ext) {
150 $succeeded[] = $ext;
152 $errors[] = $ext;
158 $errors[] = $ext;
212 * @param string $ext
220 $plugin->setExtension($ext);
[all …]
/dokuwiki/lib/plugins/extension/
H A Dcli.php118 $ext->setExtension($extname);
143 $ext->setExtension($extname);
144 if (!$ext->isInstalled()) {
151 $status = $ext->enable();
183 $ext->setExtension($extname);
184 if (!$ext->isInstalled()) {
190 $status = $ext->uninstall();
312 $ext->setExtension($name);
315 if ($ext->isInstalled()) {
327 if ($ext->isEnabled()) {
[all …]
H A Daction.php45 $ext = $INPUT->str('ext');
46 if (!$ext) {
54 $extension->setExtension($ext);
H A Dadmin.php79 foreach ($installed as $ext => $info) {
133 foreach ($installed as $ext => $info) {
142 foreach ($installed as $ext => $info) {
H A Dscript.js67 ext: extension,
104 ext: $link.data('extid'),
/dokuwiki/inc/Cache/
H A DCache.php16 public $ext = ''; // file ext for cache data, secondary identifier for this item variable in dokuwiki\\Cache\\Cache
32 * @param string $ext file extension
34 public function __construct($key, $ext) argument
37 $this->ext = $ext;
38 $this->cache = getCacheName($key, $ext);
214 if (isset($stats[$this->ext])) {
215 list($ext, $count, $hits) = explode(',', $stats[$this->ext]);
217 $ext = $this->ext;
226 $stats[$this->ext] = "$ext,$count,$hits";
/dokuwiki/inc/File/
H A DMediaFile.php13 protected $ext; variable in dokuwiki\\File\\MediaFile
30 list($this->ext, $this->mime, $this->downloadable) = mimetype($this->path, false);
65 return (string)$this->ext;
75 $ext = $this->getExtension();
76 if ($ext === '') $ext = 'file';
77 return preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
/dokuwiki/inc/
H A Dconfutils.php33 $ext = strrpos($file, '.');
34 if ($ext === false) {
37 $ext = strtolower(substr($file, $ext + 1));
38 if (!isset($mtypes[$ext])){
42 return array($ext, 'application/octet-stream', true);
45 if($mtypes[$ext][0] == '!'){
46 return array($ext, substr($mtypes[$ext],1), true);
48 return array($ext, $mtypes[$ext], false);
H A Dpageutils.php349 * @param string $ext file extension
352 function metaFN($id,$ext){ argument
356 $fn = $conf['metadir'].'/'.utf8_encodeFN($id).$ext;
366 * @param string $ext extension of media
369 function mediaMetaFN($id,$ext){ argument
414 $ext = mimetype($id);
415 $name = substr($id,0, -1*strlen($ext[0])-1);
426 * @param string $ext The file extension (usually txt)
431 function localeFN($id,$ext='txt'){ argument
620 function getCacheName($data,$ext=''){ argument
[all …]
H A Dcache.php13 public function __construct($key, $ext) argument
16 parent::__construct($key, $ext);
H A Dmedia.php313 'ext' => $ext),
426 $file['ext'] = $ext;
2088 if ($ext == 'jpg' || $ext == 'jpeg') {
2125 if ($ext == 'jpg' || $ext == 'jpeg') {
2166 if ($ext == 'jpg' || $ext == 'jpeg'){
2169 }elseif($ext == 'png') {
2173 }elseif($ext == 'gif') {
2229 if ($ext == 'jpg' || $ext == 'jpeg'){
2235 }elseif($ext == 'png') {
2241 }elseif($ext == 'gif') {
[all …]
H A DMailer.class.php104 list(, $ext) = explode('/', $mime);
105 $name = count($this->attach).".$ext";
H A Dcommon.php1045 * @param string $ext extension of file being read, default 'txt'
1048 function rawLocale($id, $ext = 'txt') { argument
1049 return io_readFile(localeFN($id, $ext));
/dokuwiki/inc/Extension/
H A DPluginInterface.php77 * @param string $ext The file extension (usually txt)
80 public function localFN($id, $ext = 'txt'); argument
H A DPluginTrait.php107 public function localFN($id, $ext = 'txt') argument
111 $file = DOKU_CONF . 'plugin_lang/' . $plugin . '/' . $conf['lang'] . '/' . $id . '.' . $ext;
113 $file = DOKU_PLUGIN . $plugin . '/lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
116 $file = DOKU_PLUGIN . $plugin . '/lang/en/' . $id . '.' . $ext;
/dokuwiki/lib/plugins/extension/helper/
H A Drepository.php145 foreach ($result as $ext) {
146 $name = $ext['plugin'];
148 $cache->storeCache(serialize($ext));
H A Dextension.php820 foreach ($installed as $ext => $info) {
821 if ($this->getID() != $ext) $this->setExtension($ext);
1177 $ext = $this->guessArchiveType($file);
1178 if (in_array($ext, array('tar', 'bz', 'gz'))) {
1188 } elseif ($ext == 'zip') {
H A Dlist.php539 * @param array $ext The extensions
542 public function makeLinkList($ext) argument
545 foreach ($ext as $link) {
/dokuwiki/lib/exe/
H A Dcss.php340 foreach (['svg', 'png', 'gif'] as $ext) {
341 $file = 'lib/images/interwiki/' . $iw . '.' . $ext;
378 foreach($exts as $ext){
379 $class = preg_replace('/[^_\-a-z0-9]+/','_',$ext);
381 echo ' background-image: url('.DOKU_BASE.'lib/images/fileicons/svg/'.$ext.'.svg)';
496 $ext = unslash($match[4]);
504 $url = 'data:image/'.$ext.';base64,'.$data;
/dokuwiki/lib/scripts/
H A Dmedia.js13 ext: false, property in dw_mediamanager
236 if ({img: 1, swf: 1}[dw_mediamanager.ext] === 1) {
242 if (dw_mediamanager.link === "3" && dw_mediamanager.ext === 'img') {
254 if (dw_mediamanager.ext === 'swf') {
713 var $link, id, dot, ext; variable
729 dw_mediamanager.ext = false;
737 ext = id.substr(dot);
749 if (ext === '.swf') {
750 dw_mediamanager.ext = 'swf';
756 dw_mediamanager.ext = 'img';
[all …]
H A Dfileuploader.js452 var ext = (-1 !== fileName.indexOf('.')) ? fileName.replace(/.*[.]/, '').toLowerCase() : ''; variable
458 if (allowed[i].toLowerCase() == ext){ return true;}
/dokuwiki/vendor/composer/
H A DClassLoader.php404 private function findFileWithExtension($class, $ext) argument
407 $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
440 $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DMisc.php2226 foreach ($extensions as $ext)
2228 if (extension_loaded($ext))
2230 $info .= " $ext loaded\n";
2231 switch ($ext)
2253 $info .= " $ext not loaded\n";
/dokuwiki/inc/parser/
H A Dxhtml.php664 list($ext) = mimetype($filename, false);
665 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
1181 list($ext, $mime) = mimetype($src, false);
1197 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
1264 list($ext, $mime) = mimetype($src, false);
1273 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
1628 list($ext, $mime) = mimetype($src);
1633 } elseif($ext == 'jpg' || $ext == 'jpeg') {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php1317 $ext = array();
1319 $ext[] = 'libsodium';
1323 $ext[] = 'openssl';
1325 $ext[] = 'mcrypt';
1329 $ext[] = 'gmp';
1331 $ext[] = 'bcmath';
1334 if (!empty($ext)) {
1335 $identifier .= ' (' . implode(', ', $ext) . ')';

12