mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-25 11:40:00 +00:00
Used quotes for code
This commit is contained in:
parent
0335663a4d
commit
a9ee0c5407
@ -18,12 +18,11 @@ the upload-button. Once uploaded, the contents of the package (your files) will
|
|||||||
|
|
||||||
Adding rules
|
Adding rules
|
||||||
------------
|
------------
|
||||||
If you want to write a rule have a look a the library/rules folder.
|
If you want to write a rule have a look a the `administrator/components/com_jedchecker/library/rules` folder.
|
||||||
|
|
||||||
You just need to add a new file with your rule. Example:
|
You just need to add a new file with your rule, for example `yourrule.php`.
|
||||||
yourrule.php
|
|
||||||
|
|
||||||
"yourrule.php" needs to have a class jedcheckerRulesYourrule and that class needs to have a
|
The file `yourrule.php` needs to have a class `jedcheckerRulesYourrule` and that class needs to have a
|
||||||
function that accepts the basedir as parameter. This is all - the component will automatically call
|
function that accepts the basedir as parameter. This is all - the component will automatically call
|
||||||
your rule check function.
|
your rule check function.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user