Triggers: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 100: Line 100:


==== entry() ====  
==== entry() ====  
: Get the entry of the Event. For example, if script is triggered by an Update Entry event, this method will return the entry being updated.
: Get the entry of the Event. For example, if script is triggered by an Update Entry event, this function will return the entry being updated.
   
   
: This method is available to all Events and Phases, with the exception of "Creating a file > Opening an Entry Edit card for add"; for this action, use the method entryDefault().
: This function is available to all Events and Phases, with the exception of "Creating a file > Opening an Entry Edit card for add"; for this action, use the function entryDefault().


:; Result: [[#Object entry|'''Entry object''']] — the current entry
:; Result: [[#Object entry|'''Entry object''']] — the current entry