Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 1052) sorted by relevance

12345678910>>...43

/plugin/translate/
DList_of_ISO_639-1_codes.txt4 $a=array(
5 array("aa", "aar", "-", "aar", "Afar", "Afaraf", ""),
6 array("ab", "abk", "-", "abk", "Abkhazian", "Аҧсуа", ""),
7 array("ae", "ave", "-", "ave", "Avestan", "avesta", "ancient"),
8 array("af", "afr", "-", "afr", "Afrikaans", "Afrikaans", ""),
9 array("ak", "aka", "-", "aka + 2", "Akan", "Akan", "macrolanguage, Twi is [tw/twi], Fanti is [fat]"…
10 array("am", "amh", "-", "amh", "Amharic", "አማርኛ", ""),
11 array("an", "arg", "-", "arg", "Aragonese", "Aragonés", ""),
12 array("ar", "ara", "-", "ara + 30", "Arabic", "العربية", "macrolanguage, Standard Arabic is [arb]"),
13 array("as", "asm", "-", "asm", "Assamese", "অসমীয়া", ""),
[all …]
/plugin/matrixnotifierwas/vendor/rappasoft/laravel-helpers/src/
Dhelpers.php13 * @param array $array
16 function append_config(array $array) argument
20 foreach ($array as $key => $value) {
24 $array[$start] = array_pull($array, $key);
28 return $array;
36 * @param array $array
41 function array_add($array, $key, $value) argument
43 if (is_null(get($array, $key))) {
44 set($array, $key, $value);
47 return $array;
[all …]
/plugin/noticeboard/noticeboard/classes/
DNoticeList.php71 $array = unserialize(io_readFile($fileNoticeboards, false));
72 if(array_key_exists($id,$array)){
88 $array[strtolower($notice->getId())] = $this->noticeboardId;
89 io_saveFile($fileNoticeboards, serialize($array));
91 $array = unserialize(io_readFile($fileNoticeboards, false));
92 if(!array_key_exists($notice->getId(),$array)){
93 $array[strtolower($notice->getId())] = $this->noticeboardId;
94 io_saveFile($fileNoticeboards, serialize($array));
106 $array = $this->list->getList();
107 $array[$this->list->getPointer()-1] = $notice;
[all …]
/plugin/noticeboard/classes/
DNoticeList.php71 $array = unserialize(io_readFile($fileNoticeboards, false));
72 if(array_key_exists($id,$array)){
88 $array[strtolower($notice->getId())] = $this->noticeboardId;
89 io_saveFile($fileNoticeboards, serialize($array));
91 $array = unserialize(io_readFile($fileNoticeboards, false));
92 if(!array_key_exists($notice->getId(),$array)){
93 $array[strtolower($notice->getId())] = $this->noticeboardId;
94 io_saveFile($fileNoticeboards, serialize($array));
106 $array = $this->list->getList();
107 $array[$this->list->getPointer()-1] = $notice;
[all …]
/plugin/html2pdf/html2pdf/html2ps/
Dutils_array.php11 function expand_to_with_flags($size, $array, $flags) { argument
13 if (count($array) == 0) { return $array; };
16 if (array_sum($array) > $size) {
17 return $array;
21 for ($i=0; $i < count($array); $i++) {
22 if (!$flags[$i]) { $size -= $array[$i]; };
28 if ($flags[$i]) { $sum += $array[$i]; };
37 $array[0] += $size;
38 return $array;
46 if ($flags[$i]) { $array[$i] *= $koeff; };
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/
Dstructure.txt28 in the root of the array or the special arrays described below in
32 from the root ['tags_html'] array, as this is the only location
40 into one array, you can call
43 identical to ['tags'] and ['tags_html'] except the array is one
44 dimension shorter (no tag type array keys). For example, artist is:
62 array() {
66 ['error']=>array() // if present, contains one or more fatal error messages
67 …['warning']=>array() // if present, contains one or more non-fatal warning messages
85 …['tags']=>array() // array of all metainformation tags present in file ('id3v1'…
86 ['audio']=>array() {
[all …]
/plugin/matrixnotifierwas/vendor/rappasoft/laravel-helpers/
Dreadme.md80 * @param array $array
81 * @return array
83 function append_config(array $array)
91 * Add an element to an array using "dot" notation if it doesn't exist.
93 * @param array $array
96 * @return array
98 function array_add($array, $key, $value)
106 * Build a new array using a callback.
108 * @param array $array
110 * @return array
[all …]
/plugin/oauthauthsch/
DDotAccess.php21 public static function get($array, $key, $default = null) argument
23 if (!static::accessible($array)) {
27 return $array;
29 if (static::exists($array, $key)) {
30 return $array[$key];
33 return $array[$key] ?? $default;
36 if (static::accessible($array) && static::exists($array, $segment)) {
37 $array = $array[$segment];
42 return $array;
63 protected static function exists($array, $key) argument
[all …]
/plugin/oauthosm/
DDotAccess.php21 public static function get($array, $key, $default = null) argument
23 if (!static::accessible($array)) {
27 return $array;
29 if (static::exists($array, $key)) {
30 return $array[$key];
33 return $array[$key] ?? $default;
36 if (static::accessible($array) && static::exists($array, $segment)) {
37 $array = $array[$segment];
42 return $array;
63 protected static function exists($array, $key) argument
[all …]
/plugin/findologicxmlexport/vendor/sebastian/recursion-context/src/
DContext.php83 * @param array $array
87 private function addArray(array &$array) argument
89 $key = $this->containsArray($array);
96 $this->arrays[] = &$array;
98 if (!isset($array[PHP_INT_MAX]) && !isset($array[PHP_INT_MAX - 1])) {
99 $array[] = $key;
100 $array[] = $this->objects;
104 } while (isset($array[$key]));
106 $array[$key] = $key;
110 } while (isset($array[$key]));
[all …]
/plugin/oauthgeneric/
H A DDotAccess.php21 public static function get($array, $key, $default = null) argument
25 if (!static::accessible($array)) {
29 return $array;
31 if (static::exists($array, $key)) {
32 return $array[$key];
35 return $array[$key] ?? $default;
38 if (static::accessible($array) && static::exists($array, $segment)) {
39 $array = $array[$segment];
44 return $array;
65 protected static function exists($array, $key) argument
[all …]
/plugin/gtime/gtlib/util/
DGTUtil.php327 public static function lpad(array &$array, $length, $value) { argument
328 while (count($array) < $length) {
329 array_unshift($array, $value);
342 public static function rpad(array &$array, $length, $value) { argument
343 while (count($array) < $length) {
344 array_push($array, $value);
399 public static function fromArray(array $array = null) { argument
403 if (empty($array)) {
407 for ($i = 0; $i < count($array); $i++) {
408 $result .= $array[$i];
[all …]
/plugin/combo/ComboStrap/
H A DArrayUtility.php46 * @param array $array
49 public static function filterArrayByKey(array &$array, $pattern) argument
51 foreach ($array as $key => &$value) {
53 unset($array[$key]);
61 public static function addIfNotSet(array &$array, $key, $value) argument
63 if (!isset($array[$key])) {
64 $array[$key] = $value;
74 public static function array_key_last(&$array) argument
77 end($array);
78 $key = key($array);
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
Dphp_json_objects.asciidoc38 the empty object is explicitly an object, not an array. To define this query in
43 $params['body'] = array(
44 'query' => array(
45 'match' => array(
49 'highlight' => array(
50 'fields' => array(
61 correctly output an empty object, instead of an empty array. This verbose
68 Another common pattern in {es} DSL is an array of objects. For example, consider
83 <1> "sort" contains an array of JSON objects.
87 actually going on. To construct an array of objects, you actually need an array
[all …]
/plugin/bibtex/OSBib/format/bibtexParse/
DPARSEPAGE.php37 if(preg_match("/(\d+|[ivx]+)/i", $item, $array))
38 return array($array[1], FALSE);
46 $array = preg_split("/--|-/", $item);
47 if(sizeof($array) > 1)
49 if(is_numeric(trim($array[0])))
50 $start = trim($array[0]);
52 $start = strtolower(trim($array[0]));
53 if(is_numeric(trim($array[1])))
54 $end = trim($array[1]);
56 $end = strtolower(trim($array[1]));
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Utils/
DArrays.php8 public static function get($array, $key, $default = null) argument
10 if (is_array($array) && array_key_exists($key, $array)) {
11 return $array[$key];
31 * @param array $array
34 public static function allUniqueSortedCombinations($array) argument
36 $input = array_unique($array);
63 * @param array $array
67 public static function combinations($array, $k) argument
69 $n = count($array);
76 $combination[] = $array[$index];
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfReader/DataStructure/
DRectangle.php50 * @param PdfArray|mixed $array
57 public static function byPdfArray($array, PdfParser $parser) argument
59 $array = PdfArray::ensure(PdfType::resolve($array, $parser), 4)->value;
60 $ax = PdfNumeric::ensure(PdfType::resolve($array[0], $parser))->value;
61 $ay = PdfNumeric::ensure(PdfType::resolve($array[1], $parser))->value;
62 $bx = PdfNumeric::ensure(PdfType::resolve($array[2], $parser))->value;
63 $by = PdfNumeric::ensure(PdfType::resolve($array[3], $parser))->value;
166 $array = new PdfArray();
167 $array->value[] = PdfNumeric::create($this->llx);
168 $array->value[] = PdfNumeric::create($this->lly);
[all …]
/plugin/asciidocjs/node_modules/lodash/
D_shuffleSelf.js11 function shuffleSelf(array, size) { argument
13 length = array.length,
19 value = array[rand];
21 array[rand] = array[index];
22 array[index] = value;
24 array.length = size;
25 return array;
Dlodash.js505 function arrayAggregator(array, setter, iteratee, accumulator) { argument
507 length = array == null ? 0 : array.length;
510 var value = array[index];
511 setter(accumulator, value, iteratee(value), array);
525 function arrayEach(array, iteratee) { argument
527 length = array == null ? 0 : array.length;
530 if (iteratee(array[index], index, array) === false) {
534 return array;
546 function arrayEachRight(array, iteratee) { argument
547 var length = array == null ? 0 : array.length;
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/doc/cookbook/
Darrays.rst8 to configure its behavior, but if we try to serialize directly an array
10 array "type"
27 …$serializer->serialize([1, 2], SerializationContext::create()->setInitialType('array')); // [1, 2]
28 …$serializer->serialize([1 => 2], SerializationContext::create()->setInitialType('array')); // {"1…
29 …$serializer->serialize(['a', 'b'], SerializationContext::create()->setInitialType('array')); // […
30 …$serializer->serialize(['c' => 'd'], SerializationContext::create()->setInitialType('array')); // …
32 // typehint as strict array, keys will be always discarded
33 …$serializer->serialize([], SerializationContext::create()->setInitialType('array<integer>')); // …
34 …$serializer->serialize([1, 2], SerializationContext::create()->setInitialType('array<integer>')); …
35 …$serializer->serialize(['a', 'b'], SerializationContext::create()->setInitialType('array<integer>'…
[all …]
/plugin/sequencediagram/bower_components/lodash/
Dlodash.js491 function arrayAggregator(array, setter, iteratee, accumulator) { argument
493 length = array == null ? 0 : array.length;
496 var value = array[index];
497 setter(accumulator, value, iteratee(value), array);
511 function arrayEach(array, iteratee) { argument
513 length = array == null ? 0 : array.length;
516 if (iteratee(array[index], index, array) === false) {
520 return array;
532 function arrayEachRight(array, iteratee) { argument
533 var length = array == null ? 0 : array.length;
[all …]
/plugin/sequencediagram/bower_components/lodash/dist/
Dlodash.js491 function arrayAggregator(array, setter, iteratee, accumulator) { argument
493 length = array == null ? 0 : array.length;
496 var value = array[index];
497 setter(accumulator, value, iteratee(value), array);
511 function arrayEach(array, iteratee) { argument
513 length = array == null ? 0 : array.length;
516 if (iteratee(array[index], index, array) === false) {
520 return array;
532 function arrayEachRight(array, iteratee) { argument
533 var length = array == null ? 0 : array.length;
[all …]
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Util/
DExportUtil.php58 $array = array();
74 $array[$key] = $val;
84 unset($array['__storage']);
86 unset($array['storage']);
90 unset($array['__key']);
94 $array[spl_object_hash($val)] = array(
101 return $array;
161 $array = $value;
165 if (count($array) > 0) {
166 foreach ($array as $k => $v) {
[all …]
/plugin/elasticsearch/vendor/ruflin/elastica/src/Aggregation/
DAbstractSimpleAggregation.php41 $array = parent::toArray();
45 if (isset($array[$baseName]['script']) && \is_array($array[$baseName]['script'])) {
46 $script = $array[$baseName]['script'];
48 unset($array[$baseName]['script']);
50 $array[$baseName] = \array_merge($array[$baseName], $script);
53 return $array;
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Extension/
DArray.php41 * @param array|Traversable $array An array
45 function twig_shuffle_filter($array) argument
47 if ($array instanceof Traversable) {
48 $array = iterator_to_array($array, false);
51 shuffle($array);
53 return $array;

12345678910>>...43