Skip to content

Commit 2db7b19

Browse files
committed
Merge branch 'master' of https://github.com/phpMv/phpMv-UI
2 parents 9c1cba3 + b1ec619 commit 2db7b19

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,3 +291,14 @@ Add the **JsUtils** component loading in the initialize method of the base contr
291291

292292
the jquery object in controller will be accessible on
293293
`$this->JsUtils->jquery`
294+
295+
## Code completion in IDE
296+
297+
With most IDEs (such as Eclipse or phpStorm), to get code completion on the `$jquery` instance, you must add the following property in the controller documentation:
298+
```php
299+
/**
300+
* @property Ajax\JsUtils $jquery
301+
*/
302+
class MyController{
303+
}
304+
```

0 commit comments

Comments
 (0)