Recommend this page to a friend! |
Classes of Eduardo Luz | PHP Action Class | doc/README.md | Download |
|
DownloadActionIntroductionThis class intends to make programatic and dynamic functions calls. How to useTo use the The URI patterns you can use are: | Type | Example | | --------------- | ---------------------- | | Simple function | 'mySampleFunction()' | | Class method | '\namespace\MyClass::functionName()' | | REST call* | 'POST;https://user!password@my_domain.com:8081/api/v99/xpto?v1=1&v2=2#xpto' |
Simple functionMake a call to a global function. Example
Class methodInstantiate a class object, and execute the assigned method. ConstructorIf your class have a constructor method, and require any parameter, you can suply it on 3rd parameter of
On above the case, the values Examples
Will display:
|