Home
last modified time | relevance | path

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

12345678910>>...31

/plugin/translate/
H A DList_of_ISO_639-1_codes.txt4 $a=array(
5 array("aa", "aar", "-", "aar", "Afar", "Afaraf", ""),
6 array("ab", "abk", "-", "abk", "Abkhazian", "Аҧсуа", ""),
10 array("am", "amh", "-", "amh", "Amharic", "አማርኛ", ""),
23 array("bn", "ben", "-", "ben", "Bengali", "বাংলা", ""),
36 array("da", "dan", "-", "dan", "Danish", "dansk", ""),
40 array("ee", "ewe", "-", "ewe", "Ewe", "Ɛʋɛgbɛ", ""),
72 array("ig", "ibo", "-", "ibo", "Igbo", "Igbo", ""),
164 array("th", "tha", "-", "tha", "Thai", "ไทย", ""),
192 $k = array();
[all …]
/plugin/noticeboard/classes/
H A DNoticeList.php144 array_unshift ($array, array_shift ($array));
166 $array = array();
191 $array = $this->selectCategory($array); //select categories
192 $array = $this->selectTime($array); // select time (future - past - all)
193 $array = $this->sortList($array);
213 $array = $this->selectCategory($array); //select categories
216 $array = $this->sortList($array);
303 if(!$array){
308 $sortArray[$array[$i]->getId()] = $array[$i]->getStartTime();
340 $sortArray[$array[$i]->getId()] = $array[$i]->getName();
[all …]
/plugin/noticeboard/noticeboard/classes/
H A DNoticeList.php144 array_unshift ($array, array_shift ($array));
166 $array = array();
191 $array = $this->selectCategory($array); //select categories
192 $array = $this->selectTime($array); // select time (future - past - all)
193 $array = $this->sortList($array);
213 $array = $this->selectCategory($array); //select categories
216 $array = $this->sortList($array);
303 if(!$array){
308 $sortArray[$array[$i]->getId()] = $array[$i]->getStartTime();
340 $sortArray[$array[$i]->getId()] = $array[$i]->getName();
[all …]
/plugin/html2pdf/html2pdf/html2ps/
H A Dutils_array.php13 if (count($array) == 0) { return $array; };
16 if (array_sum($array) > $size) {
17 return $array;
37 $array[0] += $size;
38 return $array;
49 return $array;
54 if (count($array) == 0) { return $array; };
57 if (array_sum($array) == 0) { return $array; };
61 return $array;
69 $array[$i] *= $koeff;
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/
H A Dstructure.txt40 into one array, you can call
62 array() {
86 ['audio']=>array() {
99 ['video']=>array() {
120 ['audiophile']=>array() {
125 ['radio']=>array() {
171 ['items']=>array() { // array of array of strings containing metainformation
173 ['data']=>array() { // array of one or more Unicode values
174 … ['data_ascii']=>array() { // array of values converted approximately from Unicode to ASCII
754 ['raw']=>array() {
[all …]
/plugin/oauthauthsch/
H A DDotAccess.php23 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;
65 if ($array instanceof \ArrayAccess) {
66 return $array->offsetExists($key);
[all …]
/plugin/oauthgeneric/
H A DDotAccess.php14 * Get an item from an array using "dot" notation.
16 * @param \ArrayAccess|array $array
21 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)
63 exists($array, $key) global() argument
[all...]
/plugin/findologicxmlexport/vendor/sebastian/recursion-context/src/
H A DContext.php83 * @param array $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;
106 $array[$key] = $key;
133 * @param array $array
139 $end = array_slice($array, -2);
161 if (is_array($array)) {
162 array_pop($array);
[all …]
/plugin/combo/ComboStrap/
H A DArrayUtility.php13 * Print recursively an array as an HTML list
14 * @param array $toPrint
16 * @return string - an array as an HTML list or $content if given as variable
18 public static function formatAsHtmlList(array $toPrint, &$content = ""): string
44 * Delete from an array recursively key
46 * @param array $array
49 public static function filterArrayByKey(array &$array, $pattern) argument
51 foreach ($array a
61 addIfNotSet(array& $array, $key, $value) global() argument
74 array_key_last(& $array) global() argument
109 formatAsString(array $array) global() argument
[all...]
/plugin/gtime/gtlib/util/
H A DGTUtil.php328 while (count($array) < $length) {
329 array_unshift($array, $value);
343 while (count($array) < $length) {
344 array_push($array, $value);
403 if (empty($array)) {
408 $result .= $array[$i];
482 if (empty($array)) {
487 $result .= chr($array[$i]);
510 array_slice($array, $position, 2)
532 array_slice($array, $position, 4)
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A 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 o
[all...]
/plugin/bibtex/OSBib/format/bibtexParse/
H A 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/
H A 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];
22 * Returns an array of all k-combinations from an input array of n elements, where k equals 1..n.
25 * Example: array[one, two] will give:
31 * @param array $array
32 * @return array
34 allUniqueSortedCombinations($array) global() argument
67 combinations($array, $k) global() argument
[all...]
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfReader/DataStructure/
H A 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;
145 * Get the rectangle as an array.
147 * @return array
[all...]
/plugin/findologicxmlexport/vendor/jms/serializer/doc/cookbook/
H A 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>')); …
36 …$serializer->serialize(['c' => 'd'], SerializationContext::create()->setInitialType('array<string>…
[all …]
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Extension/
H A 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;
/plugin/elasticsearch/vendor/ruflin/elastica/src/Aggregation/
H A DAbstractSimpleAggregation.php36 public function toArray(): array
41 $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/phpspec/prophecy/src/Prophecy/Util/
H A DExportUtil.php58 $array = array();
74 $array[$key] = $val;
84 unset($array['__storage']);
86 unset($array['storage']);
90 unset($array['__key']);
101 return $array;
161 $array = $value;
165 if (count($array) > 0) {
166 foreach ($array as $k => $v) {
192 $array = self::toArray($value);
[all …]
/plugin/findologicxmlexport/vendor/sebastian/comparator/src/
H A DExceptionComparator.php39 $array = parent::toArray($object);
42 $array['file'],
43 $array['line'],
44 $array['trace'],
45 $array['string'],
46 $array['xdebug_message']
49 return $array;
/plugin/sequencediagram/bower_components/lodash/dist/
H A Dlodash.js6721 array[rand] = array[index];
7127 return (array && array.length)
7168 return (array && array.length)
7424 return (array && array.length) ? array[0] : undefined;
7849 if (!(array && array.length)) {
7892 return array == null ? array : nativeReverse.call(array);
8098 return (array && array.length)
8120 return (array && array.length)
8248 return (array && array.length)
8289 return (array && array.length)
[all …]
/plugin/sequencediagram/bower_components/lodash/
H A Dlodash.js6721 array[rand] = array[index];
7127 return (array && array.length)
7168 return (array && array.length)
7424 return (array && array.length) ? array[0] : undefined;
7849 if (!(array && array.length)) {
7892 return array == null ? array : nativeReverse.call(array);
8098 return (array && array.length)
8120 return (array && array.length)
8248 return (array && array.length)
8289 return (array && array.length)
[all …]
/plugin/freechat/phpfreechat/data/public/js/
H A Dmyprototype.js3 function indexOf(array, object) argument
5 for (var i = 0; i < array.length; i++)
6 if (array[i] == object) return i;
10 function without(array,value) { argument
12 for( var i = 0 ; i < array.length; i++)
14 if (array[i] != value) res.push(array[i]);
/plugin/findologicxmlexport/vendor/sebastian/exporter/src/
H A DExporter.php64 $array = $data;
67 foreach ($array as $key => $value) {
151 $array = array();
167 $array[$key] = $val;
177 unset($array['__storage']);
179 unset($array['storage']);
183 unset($array['__key']);
194 return $array;
254 $array = $value;
258 if (count($array) > 0) {
[all …]
/plugin/autogroup/conf/
H A Dsettings.class.php21 $array = explode("\n", $string);
22 $array = array_map('trim', $array);
23 $array = array_filter($array);
24 $array = array_unique($array);
25 return $array;
31 * @param array $array
34 protected function _from_array($array){ argument
35 return join("\n", (array) $array);
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Extension/
H A DCoreTest.php216 $array = ['a' => 'a1', 'b' => 'b1', 'c' => 'c1'];
217 $keys = array_keys($array);
220 [$keys, $array],
221 [$keys, new CoreTestIterator($array, $keys)],
222 [$keys, new CoreTestIteratorAggregate($array, $keys)],
239 $array = [1, 2, 'a' => 3, 5, 6, 7];
240 $keys = array_keys($array);
243 [true, 1, $array],
244 [true, '3', $array],
249 [false, 4, $array],
[all …]

12345678910>>...31