Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/template/twigstarter/vendor/twig/twig/src/Cache/
DFilesystemCache.php43 public function load($key) argument
45 if (file_exists($key)) {
46 @include_once $key;
50 public function write($key, $content) argument
52 $dir = \dirname($key);
64 $tmpFile = tempnam($dir, basename($key));
65 if (false !== @file_put_contents($tmpFile, $content) && @rename($tmpFile, $key)) {
66 @chmod($key, 0666 & ~umask());
71 @opcache_invalidate($key, true);
73 apc_compile_file($key);
[all …]
DCacheInterface.php38 * @param string $key The cache key
41 public function write($key, $content); argument
46 * @param string $key The cache key
48 public function load($key); argument
53 * @param string $key The cache key
57 public function getTimestamp($key); argument
/template/strap/ComboStrap/Web/
H A DUrl.php205 foreach ($_REQUEST as $key => $value) {
209 if ($key !== "config") {
211 …LogUtility::warning("The key ($key) is an array of an array and was not taken into account in the …
216 if ($key == "do") {
218 $url->addQueryParameter($key, $subkey);
221 $url->addQueryParameter($key, $subval);
232 if (strpos($key, "amp;") === 0) {
237 …$message = "The url in src has a bad encoding (the attribute ($key) has a amp; prefix. Infinite ca…
248 if (in_array($key, ['u', 'p', 'http_credentials', 'r'])) {
251 $url->addQueryParameter($key, $value);
[all …]
/template/strap/ComboStrap/
H A DArrayUtility.php26 foreach ($toPrint as $key => $value) {
28 $content .= '<li>' . $key . ' : ';
32 if (preg_match('/date|created|modified/i', $key) && is_numeric($value)) {
36 $content .= '<li>' . $key . ' : ' . $stringValue . '</li>';
51 foreach ($array as $key => &$value) {
52 if (preg_match('/' . $pattern . '/i', $key)) {
53 unset($array[$key]);
61 public static function addIfNotSet(array &$array, $key, $value) argument
63 if (!isset($array[$key])) {
64 $array[$key] = $value;
[all …]
H A DTagAttributes.php291 foreach ($componentAttributes as $key => $value) {
293 unset($this->componentAttributesCaseInsensitive[$key]);
296 if ($key === StyleAttribute::STYLE_ATTRIBUTE) {
297 unset($this->componentAttributesCaseInsensitive[$key]);
651 foreach ($originalArray as $key => $value) {
659 if (isset($tempHtmlArray[$key])) {
664 if (in_array($key, self::HTML_ATTRIBUTES) || strpos($key, 'data-') === 0) {
665 $tempHtmlArray[$key] = $value;
668 if (!in_array($key, [
679 $message = "The component attribute ($key) is unknown or does not apply ";
[all …]
H A DCall.php161 private $key; variable in ComboStrap\\Call
167 public function __construct(&$call, $key = "") argument
170 $this->key = $key;
609 function &addAttribute($key, $value) argument
613 $this->call[1][1][PluginUtility::ATTRIBUTES][$key] = $value;
615 return $this->call[1][1][PluginUtility::ATTRIBUTES][$key];
648 $name = $this->key;
681 function &getAttribute($key, $default = null) argument
684 if (isset($attributes[$key])) {
685 return $attributes[$key];
[all …]
H A DTemplate.php53 public function setProperty($key, $value): Template argument
55 $this->_data[$key] = $value;
123 foreach ($firstExpressionMatches as $key => $match) {
125 $returnedMatch[] = $secondExpressionMatches[$key];
139 foreach ($properties as $key => $val) {
140 $this->setProperty($key, $val);
H A DLinkMarkup.php386 foreach ($queryParameters as $key => $value) {
388 $key = urlencode($key);
389 if (in_array($key, self::EMAIL_VALID_PARAMETERS)) {
390 $uri .= "$key=$value";
635 foreach ($this->getMarkupRef()->getUrl()->getQueryProperties() as $key => $value) {
636 if (!in_array($key, self::PROTECTED_URL_PROPERTY)) {
637 $this->getMarkupRef()->getUrl()->deleteQueryParameter($key);
639 $this->stylingAttributes->addComponentAttributeValue($key, $value);
641 $this->stylingAttributes->addEmptyComponentAttributeValue($key);
648 foreach ($this->getMarkupRef()->getUrl()->getQueryProperties() as $key => $value) {
[all …]
/template/strap/vendor/antlr/antlr4-php-runtime/src/Utils/
H A DMap.php33 public function contains(Hashable $key) : bool argument
35 $hash = $this->equivalence->hash($key);
42 if ($this->equivalence->equivalent($key, $entryKey)) {
53 public function get(Hashable $key) argument
55 $hash = $this->equivalence->hash($key);
62 if ($this->equivalence->equivalent($key, $entryKey)) {
73 public function put(Hashable $key, $value) : void argument
75 $hash = $this->equivalence->hash($key);
82 if ($this->equivalence->equivalent($key, $entryKey)) {
83 $this->table[$hash][$index] = [$key, $value];
[all …]
/template/mikio/_test/
H A Dgeneral.test.php79 foreach ($conf as $key => $value) {
80 if(in_array($key, $conf_existing_keys, true)) {
85 $key,
87 'Key $meta[\'' . $key . '\'] missing in conf/metadata.php'
91 foreach ($meta as $key => $value) {
92 if(in_array($key, $meta_existing_keys, true)) {
97 $key,
99 'Key $conf[\'' . $key . '\'] missing in conf/default.php'
143 foreach ($conf as $key => $value) {
144 if(in_array($key, $conf_existing_keys, true)) {
[all …]
/template/bootstrap3/
DEventHandlers.php229 foreach ($event->data->_content as $key => $item) {
260 …$event->data->_content[$key]['_legend'] = (($title_icon) ? iconify("mdi:$title_icon") : '') . ' ' …
265 $event->data->_content[$key]['class'] = " $button_class";
266 …$event->data->_content[$key]['value'] = (($button_icon) ? iconify("mdi:$button_icon") : '') . ' ' …
281 foreach ($event->data->_content as $key => $item) {
284 $event->data->_content[$key]['class'] = ' btn btn-danger';
285 …$event->data->_content[$key]['value'] = iconify('mdi:close') . ' ' . $event->data->_content[$key][…
289 …$event->data->_content[$key]['value'] = iconify('mdi:refresh') . ' ' . $event->data->_content[$key
293 …$event->data->_content[$key]['value'] = iconify('mdi:arrow-left') . ' ' . $event->data->_content[$
308 foreach ($event->data->_content as $key => $item) {
[all …]
/template/strap/resources/library/combo/dist/
H A Dcombo.min.js1key,r)}}function o(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function i(t,e,n){return e in t?O… property
/template/strap/ComboStrap/TagAttribute/
H A DStyleAttribute.php35 foreach ($styles as $key => $value) {
36 $rule .= " $key:$value;" . DOKU_LF;
93 [$key, $value] = preg_split("/:/", $stylingDeclaration, 2);
94 $stylingDeclarationAsArray[$key] = $value;
105 foreach ($actualQuery as $key => $value) {
106 $expectedValue = $expectedQuery[$key];
108 throw new ExceptionNotEquals("The expected style does not have the $key property");
111 …throw new ExceptionNotEquals("The style $key property does not have the same value ($value vs $exp…
113 unset($expectedQuery[$key]);
115 foreach ($expectedQuery as $key => $value) {
[all …]
/template/strap/ComboStrap/Api/
H A DMetaManagerHandler.php338 foreach ($persistentMetadata as $key => $value) {
341 if (isset($postMeta[$key])) {
342 $postMetaValue = $postMeta[$key];
343 unset($postMeta[$key]);
347 $metadata = MetadataSystem::getForName($key);
355 … $messages[] = Message::createInfoMessage("The metadata ($key) $managedMetaMessageSuffix");
358 if (in_array($key, Metadata::NOT_MODIFIABLE_PERSISTENT_METADATA)) {
359 …$messages[] = Message::createInfoMessage("The metadata ($key) is a internal metadata, you can't de…
362 unset($actualMeta[MetadataDokuWikiStore::CURRENT_METADATA][$key]);
363 unset($actualMeta[MetadataDokuWikiStore::PERSISTENT_DOKUWIKI_KEY][$key]);
[all …]
/template/strap/vendor/php-webdriver/webdriver/lib/Remote/
H A DRemoteKeyboard.php54 * @param string $key
57 public function pressKey($key) argument
65 'actions' => [['type' => 'keyDown', 'value' => $key]],
71 'value' => [(string) $key],
82 * @param string $key
85 public function releaseKey($key) argument
93 'actions' => [['type' => 'keyUp', 'value' => $key]],
99 'value' => [(string) $key],
/template/strap/vendor/php-webdriver/webdriver/lib/Interactions/Internal/
H A DWebDriverSingleKeyAction.php29 protected $key; variable in Facebook\\WebDriver\\Interactions\\Internal\\WebDriverSingleKeyAction
32 * @param string $key
39 $key = '' argument
43 if (!in_array($key, self::MODIFIER_KEYS, true)) {
47 $key
51 $this->key = $key;
/template/strap/vendor/php-webdriver/webdriver/lib/Firefox/
H A DFirefoxProfile.php72 * @param string $key
77 public function setPreference($key, $value) argument
94 $this->preferences[$key] = $value;
100 * @param mixed $key
103 public function getPreference($key) argument
105 if (array_key_exists($key, $this->preferences)) {
106 return $this->preferences[$key];
146 foreach ($this->preferences as $key => $value) {
147 $content .= sprintf("user_pref(\"%s\", %s);\n", $key, $value);
202 foreach ($ns as $key => $value) {
[all …]
/template/strap/vendor/symfony/yaml/
H A DInline.php142 foreach ($value as $key => $val) {
143 … $output[] = sprintf('%s: %s', self::dump($key, $flags), self::dump($val, $flags));
216 foreach ($value as $key => $val) {
217 if ($key !== $expectedKey++) {
245 foreach ($value as $key => $val) {
246 $output[] = sprintf('%s: %s', self::dump($key, $flags), self::dump($val, $flags));
441 $key = self::parseScalar($mapping, $flags, [':', ' '], $i, false);
447 if ('!php/const' === $key) {
448 $key .= ' '.self::parseScalar($mapping, $flags, [':'], $i, false);
449 $key = self::evaluateScalar($key, $flags);
[all …]
/template/bootstrap3/_test/
Dgeneral.test.php62 foreach ($conf as $key => $value) {
64 $key,
66 'Key $meta[\'' . $key . '\'] missing in conf/metadata.php'
70 foreach ($meta as $key => $value) {
72 $key,
74 'Key $conf[\'' . $key . '\'] missing in conf/default.php'
/template/bootstrap3/tpl/
Dfunctions.php29 foreach ($array as $key => $value) {
30 if (substr($key, -$propertyLength) === $property) {
38 array_walk($object, function (&$value, $key) use ($new_value, $property) {
39 if (substr($key, -strlen($property)) === $property) {
64 foreach ($attrs as $key => $value) {
65 $attributes .= ' ' . $key . '="' . hsc($value) . '"';
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DArrayExpression.php46 public function hasElement(AbstractExpression $key) argument
51 if ((string) $key === (string) $pair['key']) {
59 public function addElement(AbstractExpression $value, AbstractExpression $key = null) argument
61 if (null === $key) {
62 $key = new ConstantExpression(++$this->index, $value->getTemplateLine());
65 array_push($this->nodes, $key, $value);
/template/strap/vendor/php-webdriver/webdriver/lib/
H A DWebDriverKeyboard.php19 * @param string $key
22 public function pressKey($key); argument
28 * @param string $key
31 public function releaseKey($key); argument
/template/strap/action/
H A Dcss.php139 foreach ($links as $key => &$link) {
149 unset($links[$key]);
198 foreach ($keys as $key) {
199 if (ApiRouter::hasRequestParameter($key)) {
200 $foundKeys[] = $key;
211 $event->data->key .= implode('.', $foundKeys);
212 $event->data->cache = getCacheName($event->data->key, $event->data->ext);
H A Dpageprotection.php186 foreach ($pageItems as $key => $pageItem) {
199 unset($event->data["items"][$key]);
204 unset($event->data["items"][$key]);
210 $event->data["items"][$key]->url = $urlAfterRewrite;
254 foreach ($pagesToBeAdded as $key => $data) {
264 unset($pagesToBeAdded[$key]);
271 unset($pagesToBeAdded[$key]);
345 foreach ($event->data['meta'] as $key => $meta) {
351 $event->data['meta'][$key]["content"] = "noindex,$follow";
/template/mikio/
H A Dcss.php20 foreach ($arr2 as $key => $value) {
21 if (isset($arr1[$key]) && is_array($arr1[$key]) && is_array($value)) {
22 $arr1[$key] = arrayDeepMerge($arr1[$key], $value);
24 $arr1[$key] = $value;

12345678910>>...12