From 859520d0edf2494a96e7ec128ee85ef95d41b3da Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Sat, 12 Feb 2011 01:11:15 +0100 Subject: [PATCH] Comment wording: Implementation of hook -> Implements hook --- mkdru.install | 6 +++--- mkdru.module | 30 +++++++++++++++--------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/mkdru.install b/mkdru.install index e136c59..594fd01 100644 --- a/mkdru.install +++ b/mkdru.install @@ -6,7 +6,7 @@ */ /** -* Implementation of hook_schema(). +* Implements hook_schema(). */ function mkdru_schema() { $schema['mkdru'] = array( @@ -74,7 +74,7 @@ function mkdru_schema() { } /** -* Implementation of hook_install(). +* Implements hook_install(). */ function mkdru_install() { // Disable comments by default @@ -84,7 +84,7 @@ function mkdru_install() { } /** -* Implementation of hook_uninstall(). +* Implements hook_uninstall(). */ function mkdru_uninstall() { // Drop table. diff --git a/mkdru.module b/mkdru.module index a68fc93..cf127cc 100644 --- a/mkdru.module +++ b/mkdru.module @@ -5,7 +5,7 @@ // Module metainfo /** -* Implementation of hook_node_info() +* Implements hook_node_info() */ function mkdru_node_info() { return array( @@ -33,14 +33,14 @@ function mkdru_ting_search_show($params) { } /** -* Implementation of hook_perm() +* Implements hook_perm() */ function mkdru_perm() { return array('create metasearch interface', 'edit any metasearch interface', 'edit own metasearch interface'); } /** -* Implementation of hook_access() +* Implements hook_access() */ function mkdru_access($op, $node, $account) { @@ -62,7 +62,7 @@ function mkdru_access($op, $node, $account) { } /** -* Implementation of hook_menu() +* Implements hook_menu() */ function mkdru_menu() { $items['admin/settings/mkdru'] = array( @@ -78,7 +78,7 @@ function mkdru_menu() { } /** -* Implementation of hook_init() +* Implements hook_init() */ function mkdru_init() { // Applies our module specific CSS to all pages. This works best because @@ -91,7 +91,7 @@ function mkdru_init() { // Node config /** -* Implementation of hook_form() +* Implements hook_form() */ function mkdru_form(&$node, $form_state) { $type = node_get_types('type', $node); @@ -182,7 +182,7 @@ function mkdru_form(&$node, $form_state) { /** -* Implementation of hook_validate() +* Implements hook_validate() */ function mkdru_validate($node) { if (!is_numeric($node->source_max)) { @@ -197,14 +197,14 @@ function mkdru_validate($node) { } /** -* Implementation of hook_insert(). +* Implements hook_insert(). */ function mkdru_insert($node) { drupal_write_record('mkdru', $node); } /** -* Implementation of hook_update(). +* Implements hook_update(). */ function mkdru_update($node) { if ($node->revision) { @@ -217,7 +217,7 @@ function mkdru_update($node) { } /** - * Implementation of hook_nodeapi(). + * Implements hook_nodeapi(). * * When a node revision is deleted, we need to remove the corresponding record * from our table. The only way to handle revision deletion is by implementing @@ -232,7 +232,7 @@ function mkdru_nodeapi(&$node, $op, $teaser, $page) { } /** - * Implementation of hook_delete(). + * Implements hook_delete(). */ function mkdru_delete($node) { // Deleting by nid covers all revisions. @@ -243,7 +243,7 @@ function mkdru_delete($node) { // Node rendering /** -* Implementation of hook_load() +* Implements hook_load() */ function mkdru_load($node) { return array('mkdru' => db_fetch_object(db_query( @@ -251,7 +251,7 @@ function mkdru_load($node) { } /** -* Implementation of hook_theme(). +* Implements hook_theme(). */ function mkdru_theme() { return array( @@ -292,7 +292,7 @@ function theme_mkdru_js($node) { } /** -* Implementation of hook_view() +* Implements hook_view() */ function mkdru_view($node, $teaser = FALSE, $page = FALSE) { $node->content['mkdru_js'] = array( @@ -311,7 +311,7 @@ function mkdru_view($node, $teaser = FALSE, $page = FALSE) { } /** -* Implementation of hook_block() +* Implements hook_block() */ function mkdru_block($op='list', $delta='sources', $edit=array()) { switch ($op) { -- 1.7.10.4