Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 3996) sorted by relevance

12345678910>>...160

/plugin/odt/ODT/
DODTUnits.php31 * @param int $value The length value string, e.g. '1cm'.
34 static public function stripDigits ($value) { argument
35 return ltrim ($value, '-.0123456789');
41 * @param string|int $value The length value string, e.g. '1cm'.
44 static public function getDigits ($value) { argument
46 $length = strlen ((string)$value);
48 if ( is_numeric ($value [$index]) === false &&
49 $value [$index] != '.' &&
50 $value [$index] != '-' ) {
53 $digits .= $value [$index];
[all …]
DODTExport.php34 $value = '<' . '?xml version="1.0" encoding="UTF-8"?' . ">\n";
35 $value .= '<office:document-content ';
36 $value .= 'xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" ';
37 $value .= 'xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" ';
38 $value .= 'xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" ';
39 $value .= 'xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" ';
40 $value .= 'xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" ';
41 $value .= 'xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" ';
42 $value .= 'xmlns:xlink="http://www.w3.org/1999/xlink" ';
43 $value .= 'xmlns:dc="http://purl.org/dc/elements/1.1/" ';
[all …]
/plugin/findologicxmlexport/vendor/webmozart/assert/src/
DAssert.php189 public static function string($value, $message = '') argument
191 if (!is_string($value)) {
194 static::typeToString($value)
199 public static function stringNotEmpty($value, $message = '') argument
201 static::string($value, $message);
202 static::notEq($value, '', $message);
205 public static function integer($value, $message = '') argument
207 if (!is_int($value)) {
210 static::typeToString($value)
215 public static function integerish($value, $message = '') argument
[all …]
/plugin/ryubin/syntax/
Dryubin.php82 list($xml,$value)=explode('=',$param,2);
88 if ($value == $mode) $data['playmode'] = $value;
91 …case 'fov': $value = intval($value); if ($value > 19 && $value < 131) $data['fov'] =…
92 …case 'yaw': $value = intval($value); if ($value > -181 && $value < 181) $data['yaw']…
93 …case 'pitch': $value = intval($value); if ($value > -181 && $value < 181) $data['pitch…
94 …case 'view_mode': $value = intval($value); if ($value > 0 && $value < 4) $data['view_mode'…
95 …case 'hv_ratio': if (is_numeric($value) && $value >= 0.1 && $value <= 10.0) $data['hv_rat…
96 case 'lock_nadirs': if ($value == 'yes') $data['lock_nadirs'] = $value; break;
97 … case 'lock_vertical': if ($value == 'yes') $data['lock_vertical'] = $value; break;
98 case 'lock_fov': if ($value == 'yes') $data['lock_fov'] = $value; break;
[all …]
/plugin/asciidocjs/node_modules/clean-css/lib/optimizer/
Dvalidator.js348 function isColor(value) { argument
349 return value != 'auto' &&
351 isKeyword('color')(value) ||
352 isHexColor(value) ||
353 isColorFunction(value) ||
354 isNamedEntity(value)
358 function isColorFunction(value) { argument
359 return isRgbColor(value) || isHslColor(value);
362 function isDynamicUnit(value) { argument
363 return calcRegex.test(value);
[all …]
/plugin/asciidocjs/node_modules/clean-css/lib/optimizer/level-2/
Dbreak-up.js23 return function (value) { argument
24 return value[1] == 'invert' || validator.isColor(value[1]) || validator.isPrefixed(value[1]);
29 return function (value) { argument
30 …return value[1] != 'inherit' && validator.isStyleKeyword(value[1]) && !validator.isColorFunction(v…
59 return function (value) { argument
60 return value[1] != 'inherit' &&
61 …(validator.isWidth(value[1]) || validator.isUnit(value[1]) && !validator.isDynamicUnit(value[1])) …
62 !validator.isStyleKeyword(value[1]) &&
63 !validator.isColorFunction(value[1]);
77 var values = property.value;
[all …]
/plugin/icalevents/vendor/sabre/vobject/lib/
DParameter.php43 protected $value; variable in Sabre\\VObject\\Parameter
51 * @param string $value
53 function __construct(Document $root, $name, $value = null) { argument
59 $this->name = static::guessParameterNameByValue($value);
67 $this->name = strtoupper($value);
69 $this->setValue($value);
81 * @param string $value
85 static function guessParameterNameByValue($value) { argument
86 switch (strtoupper($value)) {
179 * @param string|array $value
[all …]
/plugin/webdav/vendor/sabre/vobject/lib/
DParameter.php43 protected $value; variable in Sabre\\VObject\\Parameter
51 * @param string $value
53 public function __construct(Document $root, $name, $value = null) argument
59 $this->name = static::guessParameterNameByValue($value);
67 $this->name = strtoupper($value);
69 $this->setValue($value);
80 * @param string $value
84 public static function guessParameterNameByValue($value) argument
86 switch (strtoupper($value)) {
178 * @param string|array $value
[all …]
/plugin/findologicxmlexport/vendor/sebastian/exporter/src/
DExporter.php41 * @param mixed $value
45 public function export($value, $indentation = 0) argument
47 return $this->recursiveExport($value, $indentation);
67 foreach ($array as $key => $value) {
68 if (is_array($value)) {
82 $result[] = $exporter->shortenedExport($value);
98 * @param mixed $value
102 public function shortenedExport($value) argument
104 if (is_string($value)) {
105 $string = $this->export($value);
[all …]
/plugin/davcard/vendor/sabre/vobject/lib/
DParameter.php43 protected $value; variable in Sabre\\VObject\\Parameter
51 * @param string $value
53 public function __construct(Document $root, $name, $value = null) { argument
59 $this->name = static::guessParameterNameByValue($value);
67 $this->name = strtoupper($value);
69 $this->setValue($value);
81 * @param string $value
84 public static function guessParameterNameByValue($value) { argument
85 switch(strtoupper($value)) {
178 * @param string|array $value
[all …]
/plugin/webdavclient/vendor/sabre/vobject/lib/
DParameter.php43 protected $value; variable in Sabre\\VObject\\Parameter
51 * @param string $value
53 public function __construct(Document $root, $name, $value = null) { argument
59 $this->name = static::guessParameterNameByValue($value);
67 $this->name = strtoupper($value);
69 $this->setValue($value);
81 * @param string $value
84 public static function guessParameterNameByValue($value) { argument
85 switch(strtoupper($value)) {
178 * @param string|array $value
[all …]
/plugin/davcal/vendor/sabre/vobject/lib/
H A DParameter.php43 protected $value; variable in Sabre\\VObject\\Parameter
51 * @param string $value
53 public function __construct(Document $root, $name, $value = null) { argument
59 $this->name = static::guessParameterNameByValue($value);
67 $this->name = strtoupper($value);
69 $this->setValue($value);
81 * @param string $value
84 public static function guessParameterNameByValue($value) { argument
85 switch(strtoupper($value)) {
178 * @param string|array $value
[all …]
/plugin/asciidocjs/node_modules/clean-css/lib/optimizer/level-1/
Doptimize.js43 function isLocal(value){ argument
44 return LOCAL_PREFIX_PATTERN.test(value);
47 function isNegative(value) { argument
48 return value && value[1][0] == '-' && parseFloat(value[1]) < 0;
51 function isQuoted(value) { argument
52 return QUOTED_PATTERN.test(value);
55 function isUrl(value) { argument
56 return URL_PREFIX_PATTERN.test(value);
59 function normalizeUrl(value) { argument
60 return value
[all …]
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
DBinaryWriter.php53 * @param int $value
56 public function writeSInt8($value) argument
58 return pack('c', $value);
63 * @param int $value
66 public function writeUInt8($value) argument
68 return pack('C', $value);
73 * @param int $value
76 public function writeUInt32($value) argument
78 return pack($this->isLittleEndian() ? 'V' : 'N', $value);
83 * @param float $value
[all …]
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Util/
DExportUtil.php36 * @param mixed $value
40 public static function export($value, $indentation = 0) argument
42 return self::recursiveExport($value, $indentation);
49 * @param mixed $value
52 public static function toArray($value) argument
54 if (!is_object($value)) {
55 return (array) $value;
60 foreach ((array) $value as $key => $val) {
80 if ($value instanceof \SplObjectStorage) {
93 foreach ($value as $key => $val) {
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
DBCMath.php74 $this->value = '0';
90 $len = (strlen($this->value) + 3) & 0xFFFFFFFC;
92 $x = str_pad($this->value, $len, chr(0), STR_PAD_LEFT);
94 $this->value = '0';
96 $this->value = bcmul($this->value, '4294967296', 0); // 4294967296 == 2**32
97 $this->value = bcadd(
98 $this->value,
107 $this->value = '-' . $this->value;
111 $x = (strlen($this->value) & 1) ? '0' . $this->value : $this->value;
113 $this->value = $this->is_negative ? '-' . $temp->value : $temp->value;
[all …]
DGMP.php74 $this->value = $x;
78 $this->value = gmp_init(0);
93 $this->value = gmp_import($this->value);
95 $this->value = -$this->value;
99 $temp = $this->is_negative ? '-0x' . $this->value : '0x' . $this->value;
100 $this->value = gmp_init($temp);
103 $this->value = gmp_init(isset($this->value) ? $this->value : '0');
114 return (string)$this->value;
155 if (gmp_cmp($this->value, gmp_init(0)) == 0) {
159 $temp = gmp_export($this->value);
[all …]
/plugin/html2pdf/html2pdf/html2ps/
Dutils_units.php4 function round_units($value) { argument
5 return round($value,2);
21 function units_mul($value, $koeff) { argument
22 if (preg_match("/(pt|pc|px|mm|cm|em|ex)$/",$value)) {
23 $units = substr($value, strlen($value)-2,2);
29 round((double)$value * $koeff,2),
33 function punits2pt($value, $font_size) { argument
34 $value = trim($value);
37 if (substr($value, strlen($value)-1, 1) === "%") {
38 return array((float)$value, true);
[all …]
Dcss.background.position.inc.php28 function build_subvalue($value) { argument
29 if ($value === "left" ||
30 $value === "top") {
34 if ($value === "right" ||
35 $value === "bottom") {
39 if ($value === "center") {
43 if (substr($value, strlen($value)-1,1) === "%") {
44 return array((int)$value, true);
46 return array($value, false);
55 function detect_type($value) { argument
[all …]
/plugin/matrixnotifierwas/vendor/rappasoft/laravel-helpers/src/
Dhelpers.php20 foreach ($array as $key => $value) {
38 * @param mixed $value
41 function array_add($array, $key, $value) argument
44 set($array, $key, $value);
63 foreach ($array as $key => $value) {
64 list($innerKey, $innerValue) = call_user_func($callback, $key, $value);
98 foreach ($array as $key => $value) {
99 if (is_array($value)) {
100 $results = array_merge($results, dot($value, $prepend . $key . '.'));
102 $results[$prepend . $key] = $value;
[all …]
/plugin/asciidocjs/node_modules/nunjucks/src/
Dtests.js10 function callable(value) { argument
11 return typeof value === 'function';
20 function defined(value) { argument
21 return value !== undefined;
42 function escaped(value) { argument
43 return value instanceof SafeString;
66 function even(value) { argument
67 return value % 2 === 0;
79 function falsy(value) { argument
80 return !value;
[all …]
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/
DArgument.php26 * @param mixed $value
30 public static function exact($value) argument
32 return new Token\ExactValueToken($value);
51 * @param mixed $value
55 public static function which($methodName, $value) argument
57 return new Token\ObjectStateToken($methodName, $value);
107 * @param integer $value array elements count
111 public static function size($value) argument
113 return new Token\ArrayCountToken($value);
120 * @param mixed $value exact value or token
[all …]
/plugin/sketchcanvas/phplib/
Dspyc.php237 foreach ($array as $key => $value) {
239 $string .= $this->_yamlize($key,$value,0,$previous_key, $first_key, $array);
254 …private function _yamlize($key,$value,$indent, $previous_key = -1, $first_key = 0, $source_array =… argument
255 if (is_array($value)) {
256 if (empty ($value))
264 $string .= $this->_yamlizeArray($value,$indent);
265 } elseif (!is_array($value)) {
267 $string = $this->_dumpNode($key, $value, $indent, $previous_key, $first_key, $source_array);
283 foreach ($array as $key => $value) {
285 $string .= $this->_yamlize($key, $value, $indent, $previous_key, $first_key, $array);
[all …]
/plugin/twcheckliste/theme_twCheckliste/
Dtw_checklist.php76 foreach ($_POST['checklist_data'] as $key => $value) {
78 $this->buildEbene1($value, $footertext);
196 function checkH1($value) { argument
197 $value = str_replace("UNCHECKED", "", $value);
198 if (stristr($value, 'h1_') != "") {
199 $value = "<h1>" . str_replace("h1_", "", strip_tags($value)) . "</h1>";
200 return $value;
205 function checkH2($value) { argument
207 $value = str_replace("UNCHECKED", "", $value);
208 if (stristr($value, 'h2_') != "") {
[all …]
/plugin/combo/ComboStrap/
H A DDataType.php126 public static function toBoolean($value, $ifNull = null) argument
128 if ($value === null) return $ifNull;
129 return filter_var($value, FILTER_VALIDATE_BOOLEAN);
135 public static function toFloat($value): float argument
137 if (is_float($value)) {
138 return $value;
141 if (!is_numeric($value)) {
142 throw new ExceptionBadArgument("The value ($value) is not a numeric");
145 return floatval($value);
148 public static function toBooleanString(?bool $value): ?string argument
[all …]

12345678910>>...160