Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 27) 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.php120 $ext->setExtension($extname);
145 $ext->setExtension($extname);
146 if (!$ext->isInstalled()) {
153 $status = $ext->enable();
185 $ext->setExtension($extname);
186 if (!$ext->isInstalled()) {
192 $status = $ext->uninstall();
328 $ext->setExtension($name);
331 if ($ext->isInstalled()) {
343 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,
108 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";
H A DCacheImageMod.php18 * @param string $ext Image extension - no leading dot
21 public function __construct($file, $w, $h, $ext, $crop) argument
25 $fullext .= ".$ext";
/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.php389 * @param string $ext file extension
392 function metaFN($id, $ext) argument
397 $fn = $conf['metadir'] . '/' . utf8_encodeFN($id) . $ext;
407 * @param string $ext extension of media
410 function mediaMetaFN($id, $ext) argument
458 $ext = mimetype($id);
459 $name = substr($id, 0, -1 * strlen($ext[0]) - 1);
470 * @param string $ext The file extension (usually txt)
475 function localeFN($id, $ext = 'txt') argument
483 $file = DOKU_INC . 'inc/lang/en/' . $id . '.' . $ext;
[all …]
H A Dcache.php13 public function __construct($key, $ext) argument
16 parent::__construct($key, $ext);
H A Dmedia.php319 'ext' => $ext),
432 $file['ext'] = $ext;
1896 if ($ext == 'jpg' || $ext == 'jpeg') {
1933 if ($ext == 'jpg' || $ext == 'jpeg') {
1974 if ($ext == 'jpg' || $ext == 'jpeg'){
1977 }elseif($ext == 'png') {
1981 }elseif($ext == 'gif') {
2037 if ($ext == 'jpg' || $ext == 'jpeg'){
2043 }elseif($ext == 'png') {
2049 }elseif($ext == 'gif') {
[all …]
H A DMailer.class.php106 list(, $ext) = explode('/', $mime);
107 $name = count($this->attach).".$ext";
H A Dcommon.php1041 * @param string $ext extension of file being read, default 'txt'
1044 function rawLocale($id, $ext = 'txt') { argument
1045 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 …]
/dokuwiki/vendor/composer/
H A DClassLoader.php490 * @param string $ext
493 private function findFileWithExtension($class, $ext) argument
496 $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
529 $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php2136 foreach ($extensions as $ext) {
2137 if (extension_loaded($ext)) {
2138 $info .= " $ext loaded\n";
2139 switch ($ext) {
2158 $info .= " $ext not loaded\n";
/dokuwiki/inc/parser/
H A Dxhtml.php612 list($ext) = mimetype($filename, false);
613 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
1131 list($ext, $mime) = mimetype($src, false);
1147 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
1213 list($ext, $mime) = mimetype($src, false);
1222 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
1573 list($ext, $mime) = mimetype($src);
1578 } elseif($ext == 'jpg' || $ext == 'jpeg') {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php1414 $ext = array();
1416 $ext[] = 'libsodium';
1420 $ext[] = 'openssl';
1422 $ext[] = 'mcrypt';
1426 $ext[] = 'gmp';
1428 $ext[] = 'bcmath';
1431 if (!empty($ext)) {
1432 $identifier .= ' (' . implode(', ', $ext) . ')';

12