1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-30 01:49:58 +02:00

Various updates primarily related to functions API and profiler support.

This commit is contained in:
Ryan Cramer
2016-10-28 05:41:45 -04:00
parent 5542b77440
commit b4f2dda5fa
17 changed files with 1216 additions and 85 deletions

View File

@@ -1,4 +1,4 @@
<?php
<?php
/**
* ProcessWire PhpStorm Meta
*
@@ -14,64 +14,64 @@ namespace PHPSTORM_META {
$STATIC_METHOD_TYPES = [
\wire('') => [
'' == '@',
'config' instanceof Config,
'wire' instanceof ProcessWire,
'log' instanceof WireLog,
'notices' instanceof Notices,
'sanitizer' instanceof Sanitizer,
'database' instanceof WireDatabasePDO,
'db' instanceof DatabaseMysqli,
'cache' instanceof MarkupCache,
'modules' instanceof Modules,
'procache' instanceof ProCache,
'fieldtypes' instanceof Fieldtypes,
'fields' instanceof Fields,
'fieldgroups' instanceof Fieldgroups,
'templates' instanceof Templates,
'pages' instanceof Pages,
'permissions' instanceof Permissions,
'roles' instanceof Roles,
'users' instanceof Users,
'user' instanceof User,
'session' instanceof Session,
'input' instanceof WireInput,
'languages' instanceof Languages,
'page' instanceof Page,
'hooks' instanceof WireHooks,
'files' instanceof WireFileTools,
'datetime' instanceof WireDateTime,
'mail' instanceof WireMailTools
'config' instanceof \ProcessWire\Config,
'wire' instanceof \ProcessWire\ProcessWire,
'log' instanceof \ProcessWire\WireLog,
'notices' instanceof \ProcessWire\Notices,
'sanitizer' instanceof \ProcessWire\Sanitizer,
'database' instanceof \ProcessWire\WireDatabasePDO,
'db' instanceof \ProcessWire\DatabaseMysqli,
'cache' instanceof \ProcessWire\MarkupCache,
'modules' instanceof \ProcessWire\Modules,
'procache' instanceof \ProCache,
'fieldtypes' instanceof \ProcessWire\Fieldtypes,
'fields' instanceof \ProcessWire\Fields,
'fieldgroups' instanceof \ProcessWire\Fieldgroups,
'templates' instanceof \ProcessWire\Templates,
'pages' instanceof \ProcessWire\Pages,
'permissions' instanceof \ProcessWire\Permissions,
'roles' instanceof \ProcessWire\Roles,
'users' instanceof \ProcessWire\Users,
'user' instanceof \ProcessWire\User,
'session' instanceof \ProcessWire\Session,
'input' instanceof \ProcessWire\WireInput,
'languages' instanceof \ProcessWire\Languages,
'page' instanceof \ProcessWire\Page,
'hooks' instanceof \ProcessWire\WireHooks,
'files' instanceof \ProcessWire\WireFileTools,
'datetime' instanceof \ProcessWire\WireDateTime,
'mail' instanceof \ProcessWire\WireMailTools
],
\Wire::wire('') => [
// this one does not appear to work, leaving in case someone knows how to make it work
'' == '@',
'config' instanceof Config,
'wire' instanceof ProcessWire,
'log' instanceof WireLog,
'notices' instanceof Notices,
'sanitizer' instanceof Sanitizer,
'database' instanceof WireDatabasePDO,
'db' instanceof DatabaseMysqli,
'cache' instanceof MarkupCache,
'modules' instanceof Modules,
'procache' instanceof ProCache,
'fieldtypes' instanceof Fieldtypes,
'fields' instanceof Fields,
'fieldgroups' instanceof Fieldgroups,
'templates' instanceof Templates,
'pages' instanceof Pages,
'permissions' instanceof Permissions,
'roles' instanceof Roles,
'users' instanceof Users,
'user' instanceof User,
'session' instanceof Session,
'input' instanceof WireInput,
'languages' instanceof Languages,
'page' instanceof Page,
'hooks' instanceof WireHooks,
'files' instanceof WireFileTools,
'datetime' instanceof WireDateTime,
'mail' instanceof WireMailTools
'config' instanceof \ProcessWire\Config,
'wire' instanceof \ProcessWire\ProcessWire,
'log' instanceof \ProcessWire\WireLog,
'notices' instanceof \ProcessWire\Notices,
'sanitizer' instanceof \ProcessWire\Sanitizer,
'database' instanceof \ProcessWire\WireDatabasePDO,
'db' instanceof \ProcessWire\DatabaseMysqli,
'cache' instanceof \ProcessWire\MarkupCache,
'modules' instanceof \ProcessWire\Modules,
'procache' instanceof \ProCache,
'fieldtypes' instanceof \ProcessWire\Fieldtypes,
'fields' instanceof \ProcessWire\Fields,
'fieldgroups' instanceof \ProcessWire\Fieldgroups,
'templates' instanceof \ProcessWire\Templates,
'pages' instanceof \ProcessWire\Pages,
'permissions' instanceof \ProcessWire\Permissions,
'roles' instanceof \ProcessWire\Roles,
'users' instanceof \ProcessWire\Users,
'user' instanceof \ProcessWire\User,
'session' instanceof \ProcessWire\Session,
'input' instanceof \ProcessWire\WireInput,
'languages' instanceof \ProcessWire\Languages,
'page' instanceof \ProcessWire\Page,
'hooks' instanceof \ProcessWire\WireHooks,
'files' instanceof \ProcessWire\WireFileTools,
'datetime' instanceof \ProcessWire\WireDateTime,
'mail' instanceof \ProcessWire\WireMailTools
]
];
}