summaryrefslogtreecommitdiffstats
path: root/authfas.module
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2010-07-01 19:49:14 -0400
committerPaul W. Frields <stickster@gmail.com>2010-07-01 19:49:14 -0400
commit25fa66bd141c1cf78e2163fdb22de0d40ecc0626 (patch)
tree0c710844a2f5678e23446ecf0c6fabfd4d39d99d /authfas.module
parentb18997d50de8a1a7932877c7cc5a98dd9f400fce (diff)
downloaddrupal-authfas-6x-25fa66bd141c1cf78e2163fdb22de0d40ecc0626.tar.gz
drupal-authfas-6x-25fa66bd141c1cf78e2163fdb22de0d40ecc0626.tar.xz
drupal-authfas-6x-25fa66bd141c1cf78e2163fdb22de0d40ecc0626.zip
Add appropriate comments
Diffstat (limited to 'authfas.module')
-rw-r--r--authfas.module18
1 files changed, 18 insertions, 0 deletions
diff --git a/authfas.module b/authfas.module
index f6822f9..4b99cd1 100644
--- a/authfas.module
+++ b/authfas.module
@@ -1,6 +1,9 @@
<?php
// $Id$
+/**
+ * Implementation of hook_help().
+ */
function authfas_help($path, $arg) {
$output = ''; //declare your output variable
switch ($path) {
@@ -11,10 +14,16 @@ function authfas_help($path, $arg) {
return $output;
} // function authfas_help
+/**
+ * Implementation of hook_perm().
+ */
function authfas_perm() {
return array('administer FAS settings');
} // function authfas_perm()
+/**
+ * Implementation of hook_block().
+ */
function authfas_block($op = 'list', $delta = 0, $edit = array()) {
// DUMMY
if ($op == "list") {
@@ -34,6 +43,9 @@ function authfas_block($op = 'list', $delta = 0, $edit = array()) {
}
}
+/**
+ * Implementation of hook_admin().
+ */
function authfas_admin() {
$form = array();
@@ -50,6 +62,9 @@ function authfas_admin() {
return system_settings_form($form);
}
+/**
+ * Implementation of hook_menu().
+ */
function authfas_menu() {
$items = array();
@@ -69,6 +84,9 @@ function authfas_menu() {
return $items;
}
+/**
+ * Validate settings entered in AuthFAS settings menu
+ */
function authfas_menuchoice_validate() {
// This is where we would validate the menu settings above
// http://drupal.org/node/206761