Closed (fixed)
Project:
Patterns
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2009 at 20:58 UTC
Updated:
25 Mar 2010 at 17:00 UTC
Here are some example uses of the included patch:
Call a function from a specified file
<call_php_func>
<function>test_func</function>
<arguments>
<argument>arg1</argument>
<argument>arg2</argument>
</arguments>
<filepath>/path/to/file/file.inc</filepath>
</call_php_func>
Call a function from an include file from a module
<call_php_func>
<function>test_func</function>
<arguments>
<argument>arg1</argument>
<argument>arg2</argument>
</arguments>
<type>inc</type>
<module>my_module</module>
<name>include_name</name>
</call_php_func>
Call a function defined in a module (no need for include)
<call_php_func><function>test_func</function></call_php_func>
| Comment | File | Size | Author |
|---|---|---|---|
| patterns_call_php_func.patch | 5.11 KB | andrewlevine |
Comments
Comment #1
vaish commentedPatch committed with one small correction. Id for build op should be 'form id', not 'action name' as it was used in this patch. This caused build op to never be executed.
Thanks.