Home
last modified time | relevance | path

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

12345678910>>...27

/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/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/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.asciidoc39 $params['body'] = array(
40 'query' => array(
41 'match' => array(
45 'highlight' => array(
79 an array of arrays:
83 $params['body'] = array(
84 'query' => array(
90 array('time' => array('order' => 'desc')), <2>
91 array('popularity' => array('order' => 'desc')) <3>
96 <1> This array encodes the `"sort" : []` array
[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 …]
H A DTemplateUtility.php119 * @param array $array - the data array
122 … renderInstructionsTemplateFromDataArray(array $namespaceTemplateInstructions, array $array): array argument
128 $instructions[] = $newCall->renderFromData($array)->toCallArray();
146 * @param array $array
149 public static function renderStringTemplateFromDataArray($pageTemplate, array $array): string argument
154 foreach ($array as $key => $val) {
170 $array = $page->getMetadataForRendering();
174 $array["id"] = $page->getId();
181 $array[$metaKey] = $metaValue;
184 return $array;
/plugin/geophp/geoPHP/lib/adapters/
H A DGeoJSON.class.php57 private function arrayToPoint($array) { argument
58 if (!empty($array)) {
59 return new Point($array[0], $array[1]);
66 private function arrayToLineString($array) { argument
68 foreach ($array as $comp_array) {
74 private function arrayToPolygon($array) { argument
76 foreach ($array as $comp_array) {
82 private function arrayToMultiPoint($array) { argument
84 foreach ($array as $comp_array) {
92 foreach ($array as $comp_array) {
[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];
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/
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;
166 $array = new PdfArray();
167 $array->value[] = PdfNumeric::create($this->llx);
168 $array->value[] = PdfNumeric::create($this->lly);
169 $array->value[] = PdfNumeric::create($this->urx);
170 $array->value[] = PdfNumeric::create($this->ury);
[all …]
/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/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/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/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Aggregation/
H A DAbstractSimpleAggregation.php43 $array = parent::toArray();
47 if (isset($array[$baseName]['script']) && \is_array($array[$baseName]['script'])) {
48 $script = $array[$baseName]['script'];
50 unset($array[$baseName]['script']);
52 $array[$baseName] = \array_merge($array[$baseName], $script);
55 return $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 …]
/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/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/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/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/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]);

12345678910>>...27