mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
adds comments for phpDoc
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10754 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
455091f7e8
commit
e010c07440
5 changed files with 149 additions and 55 deletions
|
|
@ -1,22 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* @class addonAdminController
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief admin controller class of addon modules
|
||||
**/
|
||||
|
||||
require_once(_XE_PATH_.'modules/addon/addon.controller.php');
|
||||
|
||||
/**
|
||||
* Admin controller class of addon modules
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
**/
|
||||
class addonAdminController extends addonController {
|
||||
|
||||
/**
|
||||
* @brief Initialization
|
||||
* Initialization
|
||||
*
|
||||
* @return void
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Set addon activate
|
||||
* Set addon activate
|
||||
*
|
||||
* @return Object
|
||||
**/
|
||||
function procAddonAdminSaveActivate()
|
||||
{
|
||||
|
|
@ -109,7 +111,9 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Add active/inactive change
|
||||
* Add active/inactive change
|
||||
*
|
||||
* @return Object
|
||||
**/
|
||||
function procAddonAdminToggleActivate() {
|
||||
$oAddonModel = &getAdminModel('addon');
|
||||
|
|
@ -130,7 +134,9 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Add the configuration information input
|
||||
* Add the configuration information input
|
||||
*
|
||||
* @return Object
|
||||
**/
|
||||
function procAddonAdminSetupAddon() {
|
||||
$args = Context::getRequestVars();
|
||||
|
|
@ -156,8 +162,13 @@
|
|||
|
||||
|
||||
/**
|
||||
* @brief Add-on
|
||||
* Adds Add to DB
|
||||
* Adds addon to DB
|
||||
*
|
||||
* @param string $addon Addon name
|
||||
* @param int $site_srl Site srl
|
||||
* @param string $gtype site or global
|
||||
* @param string $isUsed Whether to use
|
||||
* @return Object
|
||||
**/
|
||||
function doInsert($addon, $site_srl = 0, $gtype = 'site', $isUsed = 'N') {
|
||||
$args->addon = $addon;
|
||||
|
|
@ -168,8 +179,13 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Add-activated
|
||||
* addons add-ons to the table on the activation state sikyeojum
|
||||
* Activate addon
|
||||
*
|
||||
* @param string $addon Addon name
|
||||
* @param int $site_srl Site srl
|
||||
* @param string $type pc or modile
|
||||
* @param string $gtype site or global
|
||||
* @return Object
|
||||
**/
|
||||
function doActivate($addon, $site_srl = 0, $type = "pc", $gtype = 'site') {
|
||||
$args->addon = $addon;
|
||||
|
|
@ -181,9 +197,12 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Disable Add-ons
|
||||
* Deactivate Addon
|
||||
*
|
||||
* addons add a table to remove the name of the deactivation is sikige
|
||||
* @param string $addon Addon name
|
||||
* @param int $site_srl Site srl
|
||||
* @param string $type pc or mobile
|
||||
* @param string $gtype site or global
|
||||
**/
|
||||
function doDeactivate($addon, $site_srl = 0, $type = "pc", $gtype = 'site') {
|
||||
$args->addon = $addon;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue