This topic is locked

function inside BUILT-IN EVENTs functions OF phpRunner

5/14/2008 6:40:46 AM
PHPRunner General questions
R
rockrockers23 author

hey guys... i somehow used already to ALL the Built-in FUnctions in phpRunner.... but..

PROBLEM :


i have a lot of repeated php code and validation inside BeforeADD AND EDIT EVENTS.....

QUESTION:

how can i CREATE and CALL a FUNCTION INSIDE the built-in EVENT FUNCTION OF phpRunner.?

so that i can only write codes once.. and use it by simply calling the functions during BEFORE AND AFTER EVENTS..
can i do that in phprunner...??.i mean i want to create a function within the phpRunner project not destroying codes generated nor using other applications.

S
steveh 5/14/2008

You should be able to define these functions in the user header files and call them from your events.

R
rockrockers23 author 5/14/2008

hey Steve... how am i going to do that...?

Plss help.. thnx...