Date: | 2009-01-03 15:04:08 (15 years 11 months ago) |
---|---|
Author: | Loic d'Anterroches |
Branch: | develop, master |
Commit: | 5bd706559eb5989c50209a2c535b3c11bc905163 |
Parents: |
6dfaa8c63a048e9f0c9371a3f62aedfcc718fc5b |
Message: | Added the ability to pass static parameters to a precondition
function. For example, you can now put: public $view_precond = array(('Pluf_Precondition::hasPerm', 'MyApp.my-perm')); This will run the hasPerm method with the request object as first parameter and the string 'MyApp.my-perm' as second parameter. |
Changes: |
|
File differences
src/Pluf/Dispatcher.php | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|