We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Calling method/hook - what data available?

Development and Programming

danieljohnbarnes's avatar
danieljohnbarnes
151 posts
13 years ago
danieljohnbarnes's avatar danieljohnbarnes

I’m building my first extension to help me achieve something where only a hook will do, and am a little confused about what data is available by default and what needs to be fetched:

Hook is:

http://ellislab.com/expressionengine/user-guide/development/extension_hooks/module/comment/index.html#insert-comment-end

Data available is:

$data $comment_moderate $comment_id

Are there any docs telling me what should be available in $data (in the case of each hook)? I can see what’s in comment by printing it, but are there any explicit docs?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.