Else was ist jetzt mir dem server ? ich verstehe das nicht .. also jetzt spielen es nur die Tester , oder? bitte antworte schnell!
<?php
/**
* Private Server - Shakes and Fidget
*
* @author AUTHOR
* @copyright 2011 (C) by AUTHOR
*
* @license Attribution-NonCommercial-NoDerivs 3.0 Unported <http://creativecommons.org/licenses/by-nc-nd/3.0/>
* @version 1.0.0
*
* @package modules
*/
class MyLogin extends Module
{
/**
* @desc The function returns an array with information about the module,
* and author.
*
* @access public
* @return array
*/
public function getInfo ( )
{
return array(
'modulefile' => basename(__FILE__)
,'modulecategory' => 'EVENT_OPT_LOGIN'
,'modulename' => __CLASS__
,'moduledescription' => 'MyLogin module description.'
,'moduleauthor' => 'AUTHOR'
,'moduleversion' => '1.0.0'
);
}
/**
* @desc This function sends a http request to the server and is a password
* hash, and the available worlds as array.
*
* @param string $event
* @param mixed $args
*
* @access public
* @return array
*/
public function getModule ( $event, Array $args )
{
switch ( $event ) {
case 'after':
// This event is called before executing the source code! Here the user
// can create own queries, or else before the output is generated!
break;
case 'before':
// This event is called after the generated source code! Here the user
// can create own queries, or else, after the output has been generated!
break;
}
return $args;
}
}
?>