Hook special

From Sohowiki
(Difference between revisions)
Jump to: navigation, search
m
m (Reverted edit of Bocz, changed back to last version by 216.107.76.114)
Line 23: Line 23:
  
 
[[Category:Plugins]]
 
[[Category:Plugins]]
 
 
 
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
 
[http://www.casinos-go.com/online-casino-tips/free-online-casino-slot.html free online casino slot]
 
[http://www.casino-theory.com/online-casino-bonus/index.html online casino bonus]
 
[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash]
 
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
 
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
 
[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash]
 
[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash]
 
[http://www.gambling-online-theory.com/casinos-portal/best-casinos-online.html best casinos online]
 
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
 

Revision as of 16:45, 29 November 2006

Overview

Syntax 
hook_special(target special hook, data array)
Description
Utilizes special hook built-in to make it easier for your plugin to tie into a certain commonly-utilized areas of the product (like adding a button for your plugin to the main menu).

Available special hooks

page_editor_object

Used to add a draggable icon object for your plugin to the Page Editor.

Note: This only a part of what is involved in adding your plugin to the Page Editor. For more detailed information see Plugging-in to the Page Editor.

$data = array(); 
$data['draggable_object_image'] = "eng-icon_scroll.gif"; 
$data['draggable_object_id'] = "scroll_obj"; 
$data['properties_dialog_id'] = "scrollProps"; 
$data['mod_folder'] = $plugin_folder; 
$data['properties_dialog_file'] = $plugin_folder."/scroll_props.php"; 
$data['place_object_js_function'] = $plugin_folder."/scroll_js.php";
hook_special("page_editor_object", $data);
Personal tools