Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 210) sorted by relevance

123456789

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Utils/
H A DUtfString.php30 * @param int $num
38 if ($num < 128) {
40 return chr($num);
42 return '&#' . $num . ';';
44 if ($num < 2048) {
45 return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
47 if ($num < 65536) {
48 return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
50 if ($num < 2097152) {
51 …return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . …
[all …]
/plugin/stars2/
H A Dsyntax.php109 $num=explode('/',$num); // Strip size
110 if (!isset($num[1]))
111 $num[1] = $num[0];
113 if ($num[0]>$num[1])
114 $num[1]=$num[0];
116 if ($num[1]>10)
118 $num[0] = 10 * $num[0] / $num[1];
119 $num[1] = 10;
124 $renderer->doc .= $this->_Stars_static($num);
126 $renderer->doc .= $this->_Stars_dynamic($num);
[all …]
/plugin/swiftmail/Swift/Plugin/
H A DBandwidthMonitor.php59 public function addBytesIn($num) argument
61 $num = abs((int)$num);
62 $this->setBytesIn($this->getBytesIn() + $num);
68 public function addBytesOut($num) argument
70 $num = abs((int)$num);
71 $this->setBytesOut($this->getBytesOut() + $num);
94 public function setBytesIn($num) argument
96 $this->in = abs((int)$num);
103 public function setBytesOut($num) argument
105 $this->out = abs((int)$num);
/plugin/discussion/
H A Dhelper.php62 * @param null|int $num
65 function td($id, $num = null) { argument
68 if (!isset($num)) {
72 $num = $comments['number'];
76 if ($num == 0) {
78 } elseif ($num == 1) {
93 * @param null|int $num
146 if (is_numeric($num)) $result = array_slice($result, 0, $num);
156 * @param int|null $num
165 if ((!$num) || (!is_numeric($num))) $num = $conf['recent'];
[all …]
/plugin/fullindex/
H A Daction.php167 $num = $this->_getMetaTag($id.":".$conf['start'], 'identifier');
170 $num = $this->_getMetaTag($id, 'identifier');
178 'num' => $num,
189 function _setSortIndex($id, $lvl, $type, $num, $title) { argument
197 $this->_addToSortIndex($id, $num, $title);
201 $this->_addToSortIndex($id, $num, $title);
212 $temp = trim($num.$title);
236 function _addToSortIndex($id, $num, $title){ argument
237 $newIndex = trim($num.$title);
308 function _cleanForSort($num) { argument
[all …]
/plugin/cloud/
H A Dsyntax.php39 list($num, $ns) = explode('>', $match, 2);
40 list($junk, $num) = explode(':', $num, 2);
55 if (!is_numeric($num)) $num = 50;
59 return array($type, $num, $namespaces, $flags);
65 list($type, $num, $namespaces, $flags) = $data;
79 $cloud = $helper->getSearchWordArray($num);
214 function _getWordCloud($num, &$min, &$max) { argument
239 return $this->_sortCloud($cloud, $num, $min, $max);
265 return $this->_sortCloud($cloud, $num, $min, $max);
271 function _sortCloud($cloud, $num, &$min, &$max) { argument
[all …]
/plugin/bibtex/OSBib/
H A DUTF8.php198 function code2utf8($num){ argument
199 if($num<128)return chr($num);
200 if($num<2048)return chr(($num>>6)+192).chr(($num&63)+128);
201 if($num<65536)return chr(($num>>12)+224).chr((($num>>6)&63)+128).chr(($num&63)+128);
202 …if($num<2097152)return chr(($num>>18)+240).chr((($num>>12)&63)+128).chr((($num>>6)&63)+128). chr((…
/plugin/blog/syntax/
H A Dblog.php29 list($ns, $num) = explode('?', $match, 2);
31 if (!is_numeric($num)) {
33 $num = $ns;
36 $num = 5;
45 return array($ns, $num, $flags, $refine);
49 list($ns, $num, $flags, $refine) = $data;
88 $isMore = count($entries) > ($first + $num);
89 $entries = array_slice($entries, $first, $num);
165 function _browseEntriesLinks($more, $first, $num) { argument
169 $last = $first+$num;
[all …]
/plugin/html2pdf/html2pdf/html2ps/
H A Dcss.list-style-type.inc.php49 function format_number($type,$num) { argument
62 return $num;
64 return sprintf("%02d",$num);
66 return chr(ord('a')+($num-1) % 26);
68 return chr(ord('A')+($num-1) % 26);
70 return strtolower(arabic_to_roman($num));
72 return arabic_to_roman($num);
H A Dutils_number.php4 function arabic_to_roman($num) { argument
9 while ($num) {
10 while ($num >= $arabic[$i]) {
11 $num -= $arabic[$i];
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
H A Dcollections.js12 _.each([1, 2, 3], function(num){ answers.push(num * this.multiplier); }, {multiplier: 5}); argument
16 _.each([1, 2, 3], function(num){ answers.push(num); }); argument
145 var doubled = _.map([1, 2, 3], function(num){ return num * 2; }); argument
151 doubled = _([1, 2, 3]).map(function(num){ return num * 2; }); argument
175 var sum = _.reduce([1, 2, 3], function(memo, num){ return memo + num; }, 0); argument
182 sum = _([1, 2, 3]).reduce(function(memo, num){ return memo + num; }, 0); argument
185 sum = _.reduce([1, 2, 3], function(memo, num){ return memo + num; }); argument
274 var result = _.find([1, 2, 3], function(num){ return num * 2 === 4; }); argument
304 var isEven = function(num){ return num % 2 === 0; }; argument
554 var neg = _.max([1, 2, 3], function(num){ return -num; }); argument
[all …]
/plugin/feed/
H A Dfeed.php17 $num = $INPUT->int('num'); variable
46 $cache = getCacheName($plugin . $fn . $ns . $num . $other . $type . $INPUT->server->str('REMOTE_USE…
98 feed_getPages($rss, $po, $ns, $num, $fn);
116 * @param int $num
123 function feed_getPages($rss, $po, $ns, $num, $fn) argument
127 if ((!$num) || (!is_numeric($num))) $num = $conf['recent'];
130 $pages = $po->$fn($ns, $num);
/plugin/miniblog/syntax/
H A Dentry.php46 $num = 5; // display 5 entries per page
49 $page = $num*$INPUT->int('page', 0); // index of first entry in current page
50 $less = (($page > 0) ? max(0, ($page-$num)/$num) : -1); // previous page
51 $more = ((count($entries) > $page+$num) ? ($page+$num)/$num : -1); // next page
52 $entries = array_slice($entries, $page, $num);
/plugin/numbering/
H A Daction.php37 global $num;
38 $num = 0;
47 global $num;
48 …*?\"#', 'value = "" data-db="'. $matches[1] . '" id="' .'bureau_nmbr_' . $num . '"',$matches[2…
49 …2]. '&nbsp;&nbsp;<img src="' . NUMBERING_ICON . '" id = "bureau_num_' . $num .'" class = "number…
50 $num++;
63 $num = $this->format_number() ;
65 echo "$num";
/plugin/quickstats/
H A Dsyntax.php362 $num = 0;
363 else $num = "&nbsp;";
379 if($numbers) $num++;
381 if($depth && $num > $depth) continue;
394 $num = $js . $num . '</a>';
463 $num=0;
466 $num++;
467 $renderer->doc .= $this->row($browser, $val,$num);
495 $num = 0;
502 $num++;
[all …]
/plugin/function/functions/
H A DhelloWorld.php6 $num=(int)$params['num'];
7 $dataout .= ' The '.($num+1).' parameters were the number '.$num .' preceded by <br />';
9 if ($val != $num) $dataout.=$val.'<br />';
/plugin/galleryv1.5/
H A Dscript.js146 var num = self._imgs.length;
162 _genOpener : function(num) argument
166 self._show(num);
391 var num = self._open + by;
393 if(num < 0) num = self._imgs.length - 1;
394 if(num >= self._imgs.length) num = 0;
399 self._show(num);
401 _show : function(num) argument
405 if (num < 0 || num >= self._imgs.length) return;
430 self._preload_neighbors(num);
[all …]
/plugin/odt/ODT/
H A DODTHeading.php82 $num = '';
83 while($doc->headerExists($title.$num)){
84 ($num) ? $num++ : $num = 1;
86 $title = $title.$num;
/plugin/approve/action/
H A Dmigration.php202 $num = 100;
203 while (count($revs = $changelog->getRevisions($first, $num)) > 0) {
211 $first += $num;
229 $num = 100;
230 while (count($revs = $changelog->getRevisions($first, $num)) > 0) {
237 $first += $num;
258 $num = 100;
259 while (count($revs = $changelog->getRevisions($first, $num)) > 0) {
264 $first += $num;
/plugin/epub/scripts/utils/
H A Dent_ini.php5 list($char,$num,$name) = preg_split('/\s+/',$ent);
6 $entities[$name]=$num;
11 list($num,$name) = preg_split('/\s+/',$ent);
12 $entities[$name]=$num;
/plugin/top/
H A Dhelper.php76 * @param int $num
79 public function best($lang, $month, $num = 10) { argument
87 $res = $sqlite->query($sql, $num);
90 $res = $sqlite->query($sql, $lang, $num);
93 $res = $sqlite->query($sql, intval($month), $num);
96 $res = $sqlite->query($sql, $lang, intval($month), $num);
/plugin/rating/
H A Dhelper.php103 * @param int $num
106 public function best($lang, $startdate, $num = 10) { argument
114 $res = $sqlite->query($sql, $num);
117 $res = $sqlite->query($sql, $lang, $num);
120 $res = $sqlite->query($sql, $startdate, $num);
123 $res = $sqlite->query($sql, $lang, $startdate, $num);
/plugin/editor/
H A Dhelper.php29 function getEditor($ns = '', $num = NULL, $user = '') { argument
37 if ((!$num) || (!is_numeric($num))) $num = $conf['recent'];
71 if ($count >= $num) break;
/plugin/linkback/
H A Dhelper.php92 function getLinkbacks($ns, $num = NULL) { argument
99 if ((!$num) || (!is_numeric($num)))
100 $num = $conf['recent'];
120 if ($count >= $num)
/plugin/bookcreator/syntax/
H A Dbookmanager.php77 $num = 10;
85 $num = (int) $param1;
92 $num = (int)$param2;
95 $num = (int) $param2;
99 return array($type, $num, $order);
113 list($type, $num, $order) = $data;
154 …->renderSelectionslist($renderer, $bookmanager = false, $this->getConf('book_page'), $order, $num);
167 * @param int $num number of listed items, 0=all items
172 public function renderSelectionslist($renderer, $bookmanager, $bmpage, $order, $num = 0) { argument
173 $result = $this->getlist($order, $num);

123456789