mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +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,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* admin class
|
* admin class
|
||||||
* @brief base class of admin module
|
* Base class of admin module
|
||||||
*
|
*
|
||||||
* @author NHN (developers@xpressengine.com)
|
* @author NHN (developers@xpressengine.com)
|
||||||
* @package /modules/admin
|
* @package /modules/admin
|
||||||
|
|
|
||||||
|
|
@ -1,38 +1,41 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @class admin
|
* adminlogging class
|
||||||
* @author NHN (developers@xpressengine.com)
|
* Base class of adminlogging module
|
||||||
* @brief base class of admin module
|
*
|
||||||
**/
|
* @author NHN (developers@xpressengine.com)
|
||||||
|
* @package /modules/adminlogging
|
||||||
|
* @version 0.1
|
||||||
|
*/
|
||||||
class adminlogging extends ModuleObject {
|
class adminlogging extends ModuleObject {
|
||||||
/**
|
/**
|
||||||
* @brief install admin module
|
* Install adminlogging module
|
||||||
* @return new Object
|
* @return Object
|
||||||
**/
|
*/
|
||||||
function moduleInstall() {
|
function moduleInstall() {
|
||||||
return new Object();
|
return new Object();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief if update is necessary it returns true
|
* If update is necessary it returns true
|
||||||
**/
|
* @return bool
|
||||||
|
*/
|
||||||
function checkUpdate() {
|
function checkUpdate() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief update module
|
* Update module
|
||||||
* @return new Object
|
* @return Object
|
||||||
**/
|
*/
|
||||||
function moduleUpdate() {
|
function moduleUpdate() {
|
||||||
return new Object();
|
return new Object();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief regenerate cache file
|
* Regenerate cache file
|
||||||
* @return none
|
* @return void
|
||||||
**/
|
*/
|
||||||
function recompileCache() {
|
function recompileCache() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,17 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @class adminAdminController
|
* adminloggingController class
|
||||||
* @author NHN (developers@xpressengine.com)
|
* controller class of adminlogging module
|
||||||
* @brief admin controller class of admin module
|
*
|
||||||
**/
|
* @author NHN (developers@xpressengine.com)
|
||||||
|
* @package /modules/adminlogging
|
||||||
|
* @version 0.1
|
||||||
|
*/
|
||||||
class adminloggingController extends adminlogging {
|
class adminloggingController extends adminlogging {
|
||||||
/**
|
/**
|
||||||
* @brief initialization
|
* Initialization
|
||||||
* @return none
|
* @return void
|
||||||
**/
|
*/
|
||||||
function init() {
|
function init() {
|
||||||
// forbit access if the user is not an administrator
|
// forbit access if the user is not an administrator
|
||||||
$oMemberModel = &getModel('member');
|
$oMemberModel = &getModel('member');
|
||||||
|
|
@ -17,6 +19,10 @@
|
||||||
if($logged_info->is_admin!='Y') return $this->stop("msg_is_not_administrator");
|
if($logged_info->is_admin!='Y') return $this->stop("msg_is_not_administrator");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Insert log
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
function insertLog($module, $act)
|
function insertLog($module, $act)
|
||||||
{
|
{
|
||||||
if(!$module || !$act) return;
|
if(!$module || !$act) return;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* adminloggingModel class
|
||||||
|
* model class of adminlogging module
|
||||||
|
*
|
||||||
|
* @author NHN (developers@xpressengine.com)
|
||||||
|
* @package /modules/adminlogging
|
||||||
|
* @version 0.1
|
||||||
|
*/
|
||||||
class adminloggingModel extends adminlogging
|
class adminloggingModel extends adminlogging
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue