mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
adds comments for phpDoc
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10767 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1245bcc648
commit
48d6dca2f9
7 changed files with 328 additions and 75 deletions
|
|
@ -1,20 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @class fileAdminController
|
||||
* admin controller class of the file module
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief admin controller class of the file module
|
||||
**/
|
||||
|
||||
class fileAdminController extends file {
|
||||
|
||||
/**
|
||||
* @brief Initialization
|
||||
* Initialization
|
||||
* @return void
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Delete the attachment of a particular module
|
||||
* Delete the attachment of a particular module
|
||||
*
|
||||
* @param int $module_srl Sequence of module to delete files
|
||||
* @return Object
|
||||
**/
|
||||
function deleteModuleFiles($module_srl) {
|
||||
// Get a full list of attachments
|
||||
|
|
@ -47,7 +49,9 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Delete selected files from the administrator page
|
||||
* Delete selected files from the administrator page
|
||||
*
|
||||
* @return Object
|
||||
**/
|
||||
function procFileAdminDeleteChecked() {
|
||||
// An error appears if no document is selected
|
||||
|
|
@ -76,7 +80,9 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Add file information
|
||||
* Add file information
|
||||
*
|
||||
* @return Object
|
||||
**/
|
||||
function procFileAdminInsertConfig() {
|
||||
// Get configurations (using module model object)
|
||||
|
|
@ -98,7 +104,9 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Add file information for each module
|
||||
* Add file information for each module
|
||||
*
|
||||
* @return void
|
||||
**/
|
||||
function procFileAdminInsertModuleConfig() {
|
||||
// Get variables
|
||||
|
|
@ -146,7 +154,9 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Add to SESSION file srl
|
||||
* Add to SESSION file srl
|
||||
*
|
||||
* @return Object
|
||||
**/
|
||||
function procFileAdminAddCart()
|
||||
{
|
||||
|
|
@ -165,7 +175,10 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief php.ini에서 가져온 값의 형식이 M과 같을경우 byte로 바꿔주기
|
||||
* Change value from human readable to byte unit
|
||||
*
|
||||
* @param string $size_str Size string
|
||||
* @return int The byte value for input
|
||||
**/
|
||||
function _changeBytes($size_str)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue