/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/ |
H A D | constant.rst | 1 ``constant`` 5 constant now accepts object instances as the second argument. 8 Using ``constant`` with the ``defined`` test was added in Twig 1.28. 10 ``constant`` returns the constant value for a given string: 14 {{ some_date|date(constant('DATE_W3C')) }} 15 {{ constant('Namespace\\Classname::CONSTANT_NAME') }} 21 {{ constant('RSS', date) }} 23 Use the ``defined`` test to check if a constant is defined: 27 {% if constant('SOME_CONST') is defined %}
|
H A D | index.rst | 9 constant
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | height.php | 16 if (!is_null($hc1->constant)) { return $hc1; }; 20 if (!is_null($hc2->constant)) { return $hc2; }; 47 var $constant; variable in HCConstraint 52 if (!is_null($this->constant)) { 141 $constant = null; 143 $constant = array($value->getPercentage(), true); 145 $constant = array($value->getPoints(), false); 178 function HCConstraint($constant, $min, $max) { argument 179 $this->constant = $constant; 201 if (!is_null($this->constant)) { [all …]
|
H A D | filter.pre.height-constraint.class.php | 23 if (is_null($parent_hc->constant) && 24 $hc->constant[1]) { 25 $hc->constant = null;
|
H A D | box.button.php | 83 if (!is_null($hc->constant)) { 84 $hc->constant[0] -= $this->get_padding_top() + $this->get_padding_bottom();
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/tests/ |
H A D | constant.rst | 1 ``constant`` 5 constant now accepts object instances as the second argument. 7 ``constant`` checks if a variable has the exact same value as a constant. You 12 {% if post.status is constant('Post::PUBLISHED') %} 20 {% if post.status is constant('PUBLISHED', post) %}
|
H A D | index.rst | 7 constant
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/ |
H A D | constant.test | 4 {{ 8 is constant('E_NOTICE') ? 'ok' : 'no' }} 5 {{ 'bar' is constant('TwigTestFoo::BAR_NAME') ? 'ok' : 'no' }} 6 {{ value is constant('TwigTestFoo::BAR_NAME') ? 'ok' : 'no' }} 7 {{ 2 is constant('ARRAY_AS_PROPS', object) ? 'ok' : 'no' }}
|
H A D | defined_for_constants.test | 4 {{ constant('DATE_W3C') is defined ? 'ok' : 'ko' }} 5 {{ constant('ARRAY_AS_PROPS', object) is defined ? 'ok' : 'ko' }} 6 {{ constant('FOOBAR') is not defined ? 'ok' : 'ko' }} 7 {{ constant('FOOBAR', object) is not defined ? 'ok' : 'ko' }}
|
/plugin/findologicxmlexport/vendor/hoa/protocol/Test/Unit/Node/ |
H A D | Library.php | 56 $this->constant->WITH_COMPOSER = false, 69 $this->constant->WITH_COMPOSER = false, 82 $this->constant->WITH_COMPOSER = true, 95 $this->constant->WITH_COMPOSER = true, 115 $this->constant->WITH_COMPOSER = true, 131 $this->constant->WITH_COMPOSER = true,
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/ |
H A D | constant.test | 2 "constant" function 4 {{ constant('DATE_W3C') == expect ? 'true' : 'false' }} 5 {{ constant('ARRAY_AS_PROPS', object) }}
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/ |
H A D | json_encode.rst | 18 data|json_encode(constant('JSON_PRETTY_PRINT')) }}``. 20 ``{{ data|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_HEX_QUOT') }}``
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | Salsa20.php | 218 $constant = 'expand 16-byte k'; 221 $constant = 'expand 32-byte k'; 224 $this->p1 = substr($constant, 0, 4) . 226 substr($constant, 4, 4) . 229 $this->p2 = substr($constant, 8, 4) . 231 substr($constant, 12, 4);
|
/plugin/findologicxmlexport/vendor/hoa/math/ |
H A D | Arithmetic.pp | 52 %token constant [A-Z_]+[A-Z0-9_]* 70 | constant() 78 constant: 79 <constant>
|
/plugin/authgooglesheets/vendor/symfony/polyfill-php72/ |
H A D | README.md | 19 - [`PHP_FLOAT_*`](https://php.net/reserved.constants#constant.php-float-dig) 20 - [`PHP_OS_FAMILY`](https://php.net/reserved.constants#constant.php-os-family)
|
/plugin/combo/ComboStrap/ |
H A D | Iso8601Date.php | 193 public static function getInternationalFormatter($constant): int argument 195 $constantNormalized = trim(strtolower($constant)); 218 throw new ExceptionNotFound("The constant ($constant) is not a valid constant", self::CANONICAL);
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/ |
H A D | CoreExtension.php | 1610 * @param string $constant The name of the constant 1615 function twig_constant($constant, $object = null) argument 1618 $constant = \get_class($object).'::'.$constant; 1621 return \constant($constant); 1627 * @param string $constant The name of the constant 1632 function twig_constant_is_defined($constant, $object = null) argument 1635 $constant = \get_class($object).'::'.$constant; 1638 return \defined($constant);
|
/plugin/api/ |
H A D | README.md | 39 As they are defined as constant inside DokuWiki, you can't update them on the fly. 48 See https://www.dokuwiki.org/config:basedir The DOKU_BASE constant.
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/ |
H A D | ASN1.php | 624 $constant = null; 630 $constant = $child['cast']; 633 $constant = $child['constant']; 636 if (isset($constant) && isset($temp['constant'])) { 638 … $maymatch = $constant == $temp['constant'] && $childClass == $tempClass; 699 $constant = null; 702 $constant = $child['cast']; 705 $constant = $child['constant']; 708 if (isset($constant) && isset($temp['constant'])) { 710 … $maymatch = $constant == $temp['constant'] && $childClass == $tempClass;
|
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Regression/GitHub/ |
H A D | 2158.phpt | 2 …o run tests in separate processes if a file included into main process contains constant definition
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/ |
H A D | JS.php | 535 'code' => constant($value), 602 'code' => constant($value), 640 'code' => constant($value), 840 $finalTokens[($newStackPtr - 1)]['code'] = constant('T_LNUMBER'); 843 $finalTokens[($newStackPtr - 1)]['code'] = constant('T_DNUMBER');
|
/plugin/bibtex/OSBib/format/bibtexParse/ |
H A D | bib.bib | 19 constant based on quantized hall resistance",
|
/plugin/combo/vendor/symfony/polyfill-php80/ |
H A D | README.md | 10 - `FILTER_VALIDATE_BOOL` constant
|
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/ |
H A D | Utils.php | 44 if ($errorBitSet & constant($errorConstant)) {
|
/plugin/jquery-syntax/jquery-syntax/bright/ |
H A D | jquery.syntax.core.css | 17 …iner.syntax-theme-bright .syntax .string, .syntax-container.syntax-theme-bright .syntax .constant {
|