Home
last modified time | relevance | path

Searched refs:functions (Results 1 – 25 of 438) sorted by relevance

12345678910>>...18

/plugin/findologicxmlexport/vendor/phpunit/php-token-stream/tests/Token/
DFunctionTest.php18 private $functions; variable in PHP_Token_FunctionTest
26 $this->functions[] = $token;
36 $this->assertEquals([], $this->functions[0]->getArguments());
39 ['$baz' => 'Baz'], $this->functions[1]->getArguments()
43 ['$foobar' => 'Foobar'], $this->functions[2]->getArguments()
47 ['$barfoo' => 'Barfoo'], $this->functions[3]->getArguments()
50 $this->assertEquals([], $this->functions[4]->getArguments());
52 $this->assertEquals(['$x' => null, '$y' => null], $this->functions[5]->getArguments());
60 $this->assertEquals('foo', $this->functions[0]->getName());
61 $this->assertEquals('bar', $this->functions[1]->getName());
[all …]
DClosureTest.php18 private $functions; variable in PHP_Token_ClosureTest
26 $this->functions[] = $token;
36 $this->assertEquals(['$foo' => null, '$bar' => null], $this->functions[0]->getArguments());
37 $this->assertEquals(['$foo' => 'Foo', '$bar' => null], $this->functions[1]->getArguments());
38 …$this->assertEquals(['$foo' => null, '$bar' => null, '$baz' => null], $this->functions[2]->getArgu…
39 …$this->assertEquals(['$foo' => 'Foo', '$bar' => null, '$baz' => null], $this->functions[3]->getArg…
40 $this->assertEquals([], $this->functions[4]->getArguments());
41 $this->assertEquals([], $this->functions[5]->getArguments());
49 $this->assertEquals('anonymousFunction:2#5', $this->functions[0]->getName());
50 $this->assertEquals('anonymousFunction:3#27', $this->functions[1]->getName());
[all …]
/plugin/siteexport/action/
Dajax.php36 public $functions = null; variable in action_plugin_siteexport_ajax
94 $this->functions->debug->message("========================================", null, 1);
95 $this->functions->debug->message("Starting export from URL call", null, 1);
96 $this->functions->debug->message("----------------------------------------", null, 1);
103 $_REQUEST['sectok'] = $this->functions->getSecurityToken();
120 if ( count($data) == 0 && !$this->functions->settings->hasValidCacheFile ) {
133 … $this->functions->debug->message("----------------------------------------", null, 1);
134 … $this->functions->debug->message("Errors during export from URL call", null, 1);
135 … $this->functions->debug->message("========================================", null, 1);
136 print $this->functions->debug->runtimeErrors;
[all …]
Dsendfile.php38 $functions = new siteexport_functions();
39 $functions->debug->message("Starting to send a file from siteexporter", null, 2);
40 $filewriter = new siteexport_zipfilewriter($functions);
41 $functions->settings->pattern = $_REQUEST['siteexport'];
47 $event->data['file'] = $functions->getCacheFileNameForPattern();
49 …$functions->debug->message("fetching cached file from pattern '{$functions->settings->pattern}' wi…
50 $functions->debug->message("Event Data Before:", $event->data, 3);
52 …$functions->checkIfCacheFileExistsForFileWithPattern($event->data['file'], $_REQUEST['siteexport']…
59 $functions->debug->message("Event Data After:", $event->data, 3);
/plugin/siteexport/inc/
Dfilewriter.php12 private $functions = null; variable in siteexport_zipfilewriter
14 public function __construct($functions = null) argument
16 $this->functions = $functions;
19 $this->pdfGenerator = new siteexport_pdfgenerator($functions);
37 …$tmpFile = tempnam($this->functions->settings->tmpDir, 'siteexport__') ?: $this->functions->settin…
66 …$this->functions->debug->message("Weird, the NAME for the ZIP started with a '/'. This may result …
72 …$this->functions->debug->message("Trying to create PDF from File '$FILE' with name '$NAME' for ZIP…
76 …if ($this->functions->debug->debugLevel() <= 1) { // 2011-01-12 Write HTML to ZIP for Debug purpose
81 …$this->functions->debug->runtimeException("Create PDF from File '$FILE' with name '$NAME' went wro…
96 if (empty($ZIPFILE)) $ZIPFILE = $this->functions->settings->zipFile;
[all …]
Dpdfgenerator.php10 private $functions; variable in siteexport_pdfgenerator
12 public function __construct($functions = null) argument
14 $this->functions = $functions;
21 if (!preg_match("/" . $this->functions->settings->fileType . "$/", $NAME)) {
22 …$this->functions->debug->message("Filetype " . $this->functions->settings->fileType . " did not ma…
26 $mpdf = new siteexportPDF($this->functions->debug);
29 $this->functions->debug->message("Could not instantiate MPDF", null, 4);
36 $this->functions->debug->message("Filecontent had no HTML starting tag", null, 4);
41 $this->functions->debug->message("Arranging HTML", null, 2);
43 $this->functions->debug->message("Done arranging HTML:", $html, 1);
[all …]
Djavahelp.php8 private $functions = null; variable in siteexport_javahelp
17 * @param siteexport_functions $functions
20 public function __construct($functions, $filewriter, $NS) argument
23 $this->functions = $functions;
35 $toc = new siteexport_toc($this->functions, $this->NS);
46 $this->functions->debug->message("Setting up translation:", array(
63 $this->functions->debug->message("HelpSetPre-Name: {$hsPrename}", null, 3);
64 $this->functions->debug->message("Translation-Root: {$translationRoot}", null, 3);
65 $this->functions->debug->message("HSFiles:", $translationHSFiles, 1);
72 if (!empty($lang) && !$this->functions->settings->TOCMapWithoutTranslation)
[all …]
Dsettings.php45 * @param siteexport_functions $functions
47 public function __construct($functions) { argument
50 $functions->debug->setDebugFile($this->getConf('debugFile'));
53 $functions->debug->setDebugLevel($debugLevel);
56 $functions->debug->setDebugLevel($this->getConf('debugLevel'));
59 … $functions->debug->isAJAX = $this->getConf('ignoreAJAXError') ? false : $functions->debug->isAJAX;
66 $this->pattern = $functions->requestParametersToCacheHash($params);
82 … $this->downloadZipFile = $functions->getSpecialExportFileName($this->origZipFile, $this->pattern);
90 $this->namespace = $functions->getNamespaceFromID( $INPUT->str('ns'), $PAGE );
97 …if (empty($this->namespace)) { $this->namespace = $functions->getNamespaceFromID(getNS($ID), $pg);…
[all …]
Dtoc.php10 private $functions = null; variable in siteexport_toc
14 public function __construct($functions, $NS) argument
18 $this->functions = $functions;
89 …$elem['url'] = $this->functions->getSiteName($elem['id'], true); // Override - we need a clean name
98 $this->functions->debug->message("EXISTS previously not set.", $elem, 1);
102 …$elem['mapID'] = intval($elem['exists']) == 1 ? $this->functions->getMapID($elem['id'], $elem['anc…
105 $elem['tags'] = array_map(array($this->functions, 'cleanId'), $elem['tags']);
118 $elem['name'] = $this->functions->getSiteTitle($elem['id']);
137 $this->functions->debug->message("This will be the TOC elements data:", $elem, 1);
190 $targetID = $this->functions->cleanID($item['name']);
[all …]
Dhttpproxy.php35 * @param siteexport_functions $functions
37 public function __construct($functions) { argument
43 if ($functions->getConf('useProxy')) {
48 $this->debugClass = $functions->debug;
49 $this->settings = $functions->settings;
63 …$this->_debug("Trying other Authentication (config):", $functions->authenticate() && $this->authen…
76 $this->headers['X-Site-Exporter'] = $functions->getSecurityToken();
/plugin/translator/
Dadmin.php13 var $functions = null; // Helper variable in admin_plugin_translator
33 if ( !$this->functions->checkDatabase() ) {
34 $this->functions = null;
87 $this->functions->_handleRequest($fn);
118 $this->functions->_exportManager($this);
128 $categories = array_keys($this->functions->_getCategories());
143 $this->functions->_revertManager($this, $this->revertableUpload);
148 $categories = $this->functions->_getCategories();
156 foreach ( $this->functions->_getAvailableVersions($category['CategoryID']) as $Version ) {
174 $categories = $this->functions->_getCategories();
[all …]
Daction.php18 var $functions = null; // Helper variable in action_plugin_translator
47 if ( !$functions =& plugin_load('helper', 'translator') ) {
52 $functions->init_database();
56 $functions->_handleRequest($_REQUEST['fn']);
64 if ( ($CategoryArray = $functions->_getCategoryFromName($Category)) === false ) {
68 …if ( $Language != 'export all' && !in_array( $Language, $functions->_getAvailableLanguages($Catego…
69 …msg($functions->_messageReplacer('CategoryNotSupportedInLanguage', array($Category, $Language)), -…
75 else { $Language = $functions->_getAvailableLanguages($CategoryID, $Version); }
86 $data = $functions->_getTranslation($CategoryID, $Version, $exportLang);
101 $functions->_sendLanguageFile(array_values($data), $fileName);
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/
DAsseticExtension.php20 protected $functions; variable in Assetic\\Extension\\Twig\\AsseticExtension
23 …public function __construct(AssetFactory $factory, $functions = array(), ValueSupplierInterface $v… argument
26 $this->functions = array();
29 foreach ($functions as $function => $options) {
31 $this->functions[$options] = array('filter' => $options);
33 $this->functions[$function] = $options + array('filter' => $function);
49 $functions = array();
50 foreach ($this->functions as $function => $filter) {
51 $functions[] = new AsseticFilterFunction($function);
54 return $functions;
[all …]
/plugin/asciidocjs/node_modules/pug-runtime/
Dbuild.js10 function build(functions) { argument
12 functions = functions.filter(function (fn) {
15 for (var i = 0; i < functions.length; i++) {
16 if (fns.indexOf(functions[i]) === -1) {
17 fns.push(functions[i]);
18 functions.push.apply(functions, dependencies[functions[i]]);
/plugin/translator/syntax/
Dlabel.php20 var $functions = null; variable in syntax_plugin_translator_label
88 if ( empty($this->functions) && !$this->functions =& plugin_load('helper', 'translator') ) {
93 $this->functions->init_database();
100 $this->category = $this->functions->_getCategoryFromName($this->category);
129 $this->functions->database->prepare("$SQL;");
130 $this->functions->database->execute($EXECUTE);
132 if ( $this->functions->database->num_rows() > 0 ) {
133 …$data = array(); $this->functions->database->bind_assoc($data); $this->functions->database->fetch(…
Dtranslator.php20 var $functions = null; variable in syntax_plugin_translator_translator
68 if ( !$this->functions =& plugin_load('helper', 'translator') ) {
74 $this->functions->init_database();
78 $this->languages = $this->functions->_getLanguages();
87 if ( count($this->functions->revertableUpload) > 0 ) {
88 $renderer->doc .= $this->functions->_revertManager($this, $this->functions->revertableUpload);
124 list($categories, $changeCategory, $changeVersion) = $this->functions->_getChangerJS(false);
142 $this->functions->database->prepare("SELECT CategoryID, Name, FileName FROM tblCategory;");
143 $this->functions->database->execute();
145 if ( $this->functions->database->num_rows() == 0 ) {
[all …]
/plugin/svgimg2/
Daction.php18 var $functions = null; variable in action_plugin_svgimg
35 if (!$functions=& plugin_load('helper', 'svgimg')) return false;
46 $data['background'] = $functions->_calc_bgcolor($_REQUEST['bgc']);
49 $cacheFile = $functions->_get_cache_file($data, $ext);
54 if ( $functions->create_svg_image( $data, $ext, $cacheFile) ) {
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudFunctions/
DListFunctionsResponse.php37 public function setFunctions($functions) argument
39 $this->functions = $functions;
46 return $this->functions;
/plugin/findologicxmlexport/vendor/twig/twig/src/NodeVisitor/
DSandboxNodeVisitor.php38 protected $functions; variable in Twig\\NodeVisitor\\SandboxNodeVisitor
48 $this->functions = [];
63 …if ($node instanceof FunctionExpression && !isset($this->functions[$node->getAttribute('name')])) {
64 $this->functions[$node->getAttribute('name')] = $node;
68 if ($node instanceof RangeBinary && !isset($this->functions['range'])) {
69 $this->functions['range'] = $node;
105 …d', new Node([new CheckSecurityNode($this->filters, $this->tags, $this->functions), $node->getNode…
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
DCheckSecurityNode.php36 $tags = $filters = $functions = [];
51 ->write('$functions = ')->repr(array_filter($functions))->raw(";\n\n")
58 ->write(!$functions ? "[]\n" : "['".implode("', '", array_keys($functions))."']\n")
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
DStagingExtension.php28 protected $functions = []; variable in Twig\\Extension\\StagingExtension
37 if (isset($this->functions[$name])) {
41 $this->functions[$name] = $function;
46 return $this->functions;
/plugin/findologicxmlexport/vendor/sebastian/global-state/src/
DSnapshot.php64 private $functions = array(); variable in SebastianBergmann\\GlobalState\\Snapshot
210 public function functions() function in SebastianBergmann\\GlobalState\\Snapshot
212 return $this->functions;
256 $functions = get_defined_functions();
258 $this->functions = $functions['user'];
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Node/
DFile.php53 private $functions = []; variable in SebastianBergmann\\CodeCoverage\\Node\\File
196 return $this->functions;
366 return count($this->functions);
379 foreach ($this->functions as $function) {
651 $functions = $tokens->getFunctions();
656 foreach ($functions as $functionName => $function) {
657 $this->functions[$functionName] = [
669 $this->startLines[$function['startLine']] = &$this->functions[$functionName];
670 $this->endLines[$function['endLine']] = &$this->functions[$functionName];
DDirectory.php48 private $functions; variable in SebastianBergmann\\CodeCoverage\\Node\\Directory
268 if ($this->functions === null) {
269 $this->functions = [];
272 $this->functions = array_merge(
273 $this->functions,
279 return $this->functions;
/plugin/findologicxmlexport/vendor/twig/twig/src/Sandbox/
DSecurityPolicy.php63 public function setAllowedFunctions(array $functions) argument
65 $this->allowedFunctions = $functions;
68 public function checkSecurity($tags, $filters, $functions) argument
82 foreach ($functions as $function) {

12345678910>>...18