Lines Matching refs:key
35 foreach ($styles as $key => $value) {
36 $rule .= " $key:$value;" . DOKU_LF;
44 * @param array $array of property as key and value
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 $expectedValue)");
113 unset($expectedQuery[$key]);
115 foreach ($expectedQuery as $key => $value) {
116 throw new ExceptionNotEquals("The expected styles has an extra property ($key=$value)");