mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
add phpDoc comment in adminlogging module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10782 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dbec33b7ca
commit
f3db7bc440
4 changed files with 49 additions and 33 deletions
|
|
@ -1,15 +1,17 @@
|
|||
<?php
|
||||
/**
|
||||
* @class adminAdminController
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief admin controller class of admin module
|
||||
**/
|
||||
|
||||
/**
|
||||
* adminloggingController class
|
||||
* controller class of adminlogging module
|
||||
*
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @package /modules/adminlogging
|
||||
* @version 0.1
|
||||
*/
|
||||
class adminloggingController extends adminlogging {
|
||||
/**
|
||||
* @brief initialization
|
||||
* @return none
|
||||
**/
|
||||
/**
|
||||
* Initialization
|
||||
* @return void
|
||||
*/
|
||||
function init() {
|
||||
// forbit access if the user is not an administrator
|
||||
$oMemberModel = &getModel('member');
|
||||
|
|
@ -17,6 +19,10 @@
|
|||
if($logged_info->is_admin!='Y') return $this->stop("msg_is_not_administrator");
|
||||
}
|
||||
|
||||
/**
|
||||
* Insert log
|
||||
* @return void
|
||||
*/
|
||||
function insertLog($module, $act)
|
||||
{
|
||||
if(!$module || !$act) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue