Home
last modified time | relevance | path

Searched refs:constant (Results 1 – 25 of 163) sorted by relevance

1234567

/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
H A Dconstant.rst1 ``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 Dindex.rst9 constant
/plugin/html2pdf/html2pdf/html2ps/
H A Dheight.php16 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 Dfilter.pre.height-constraint.class.php23 if (is_null($parent_hc->constant) &&
24 $hc->constant[1]) {
25 $hc->constant = null;
H A Dbox.button.php83 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 Dconstant.rst1 ``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 Dindex.rst7 constant
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/
H A Dconstant.test4 {{ 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 Ddefined_for_constants.test4 {{ 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 DLibrary.php56 $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 Dconstant.test2 "constant" function
4 {{ constant('DATE_W3C') == expect ? 'true' : 'false' }}
5 {{ constant('ARRAY_AS_PROPS', object) }}
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Djson_encode.rst18 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 DSalsa20.php218 $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 DArithmetic.pp52 %token constant [A-Z_]+[A-Z0-9_]*
70 | constant()
78 constant:
79 <constant>
/plugin/authgooglesheets/vendor/symfony/polyfill-php72/
H A DREADME.md19 - [`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 DIso8601Date.php193 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 DCoreExtension.php1610 * @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 DREADME.md39 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 DASN1.php624 $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 D2158.phpt2 …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 DJS.php535 '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 Dbib.bib19 constant based on quantized hall resistance",
/plugin/combo/vendor/symfony/polyfill-php80/
H A DREADME.md10 - `FILTER_VALIDATE_BOOL` constant
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DUtils.php44 if ($errorBitSet & constant($errorConstant)) {
/plugin/jquery-syntax/jquery-syntax/bright/
H A Djquery.syntax.core.css17 …iner.syntax-theme-bright .syntax .string, .syntax-container.syntax-theme-bright .syntax .constant {

1234567