Home
last modified time | relevance | path

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

1234567891011

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Utils/
H A DUtfString.php30 * @param int $num
35 public static function code2utf($num, $lo = true) argument
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 >> 1
[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.php43 list($junk, $num) = array_pad(explode(':', $num, 2), 2, '');
61 if (!is_numeric($num)) $num = 50;
65 return array($type, $num, $namespaces, $flags);
71 list($type, $num, $namespaces, $flags) = $data;
85 $cloud = $helper->getSearchWordArray($num);
99 $cloud = $this->_getWordCloud($num, $min, $max);
229 function _getWordCloud($num, &$min, &$max) { argument
254 return $this->_sortCloud($cloud, $num, $min, $max);
280 return $this->_sortCloud($cloud, $num, $min, $max);
286 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/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/blog/syntax/
H A Dblog.php29 list($ns, $num) = array_pad(explode('?', $match, 2), 2, null);
31 if (!is_numeric($num)) {
33 $num = $ns;
36 $num = 5;
45 return array($ns, $num, $flags, $refine);
51 list($ns, $num, $flags, $refine) = $data;
90 $isMore = count($entries) > ($first + $num);
91 $entries = array_slice($entries, $first, $num);
146 if ($pagingcontrols) $renderer->doc .= $this->_browseEntriesLinks($isMore, $first, $num);
164 * @param $num
167 _browseEntriesLinks($more, $first, $num) global() 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/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/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/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/odt/ODT/
H A DODTHeading.php82 $num = '';
83 while($doc->headerExists($title.$num)){
84 ($num) ? $num++ : $num = 1;
86 $title = $title.$num;
/plugin/quickstats/
H A Dsyntax.php366 $num = 0;
367 else $num = "&nbsp;";
383 if($numbers) $num++;
385 if($depth && $num > $depth) continue;
398 $num = $js . $num . '</a>';
467 $num=0;
470 $num++;
471 $renderer->doc .= $this->row($browser, $val,$num);
499 $num = 0;
506 $num++;
[all …]
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/Type/
H A DBitStringType.php107 $num = count($pieces);
109 if ($num === 1 && strlen($pieces[0]) !== 8) {
111 } elseif ($num !== 0 && strlen($pieces[$num - 1]) !== 8) {
112 $pieces[$num - 1] = str_pad($pieces[$num - 1], 8, '0', STR_PAD_RIGHT);
/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/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/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/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.php90 function getLinkbacks($ns, $num = NULL) {
98 if ((!$num) || (!is_numeric($num))) {
99 $num = $conf['recent'];
122 if ($count >= $num) {
86 getLinkbacks($ns, $num = NULL) global() argument

1234567891011