XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
documentModel Class Reference
Inheritance diagram for documentModel:
document ModuleObject BaseObject

Public Member Functions

 init ()
 
 isGranted ($document_srl)
 
 getDocumentExtraVarsFromDB ($documentSrls)
 
 setToAllDocumentExtraVars ()
 
 getDocument ($document_srl=0, $is_admin=false, $load_extra_vars=true, $columnList=array())
 
 getDocuments ($document_srls, $is_admin=false, $load_extra_vars=true, $columnList=array())
 
 getDocumentList ($obj, $except_notice=false, $load_extra_vars=true, $columnList=array())
 
 getNoticeList ($obj, $columnList=array())
 
 getExtraKeys ($module_srl)
 
 getExtraVars ($module_srl, $document_srl)
 
 getDocumentMenu ()
 
 getDocumentCount ($module_srl, $search_obj=NULL)
 
 getDocumentCountByGroupStatus ($search_obj=NULL)
 
 getDocumentExtraVarsCount ($module_srl, $search_obj=NULL)
 
 getDocumentPage ($oDocument, $opt)
 
 getCategory ($category_srl, $columnList=array())
 
 getCategoryChlidCount ($category_srl)
 
 getCategoryList ($module_srl, $columnList=array())
 
 _arrangeCategory (&$document_category, $list, $depth)
 
 getCategoryDocumentCount ($module_srl, $category_srl)
 
 getCategoryXmlFile ($module_srl)
 
 getCategoryPhpFile ($module_srl)
 
 getMonthlyArchivedList ($obj)
 
 getDailyArchivedList ($obj)
 
 getDocumentCategories ()
 
 getDocumentConfig ()
 
 getExtraVarsHTML ($module_srl)
 
 getCategoryHTML ($module_srl)
 
 getDocumentCategoryTplInfo ()
 
 getDocumentSrlByAlias ($mid, $alias)
 
 getDocumentSrlByTitle ($module_srl, $title)
 
 getAlias ($document_srl)
 
 getHistories ($document_srl, $list_count, $page)
 
 getHistory ($history_srl)
 
 getTrashList ($obj)
 
 getDocumentVotedMemberList ()
 
 getStatusNameList ()
 
 _setSortIndex ($obj, $load_extra_vars)
 
 _setSearchOption ($searchOpt, &$args, &$query_id, &$use_division)
 
 getDocumentCountByMemberSrl ($member_srl)
 
 getDocumentListByMemberSrl ($member_srl, $columnList=array(), $page=0, $is_admin=FALSE, $count=0)
 
 getDocumentExtraImagePath ()
 
- Public Member Functions inherited from document
 moduleInstall ()
 
 checkUpdate ()
 
 moduleUpdate ()
 
 recompileCache ()
 
 getStatusList ()
 
 getDefaultStatus ()
 
 getConfigStatus ($key)
 
- Public Member Functions inherited from ModuleObject
 setModule ($module)
 
 setModulePath ($path)
 
 setRedirectUrl ($url= './', $output=NULL)
 
 getRedirectUrl ()
 
 setMessage ($message= 'success', $type=NULL)
 
 setMessageType ($type)
 
 getMessageType ()
 
 setRefreshPage ()
 
 setAct ($act)
 
 setModuleInfo ($module_info, $xml_info)
 
 stop ($msg_code)
 
 setTemplateFile ($filename)
 
 getTemplateFile ()
 
 setTemplatePath ($path)
 
 getTemplatePath ()
 
 setEditedLayoutFile ($filename)
 
 getEditedLayoutFile ()
 
 setLayoutFile ($filename)
 
 getLayoutFile ()
 
 setLayoutPath ($path)
 
 getLayoutPath ($layout_name="", $layout_type="P")
 
 proc ()
 
- Public Member Functions inherited from BaseObject
 __construct ($error=0, $message= 'success')
 
 setError ($error=0)
 
 getError ()
 
 setHttpStatusCode ($code= '200')
 
 getHttpStatusCode ()
 
 setMessage ($message= 'success', $type=NULL)
 
 getMessage ()
 
 add ($key, $val)
 
 adds ($object)
 
 get ($key)
 
 gets ()
 
 getVariables ()
 
 getObjectVars ()
 
 toBool ()
 
 toBoolean ()
 

Additional Inherited Members

- Public Attributes inherited from document
 $search_option = array('title','content','title_content','user_name',)
 
 $statusList = array('private'=>'PRIVATE', 'public'=>'PUBLIC', 'secret'=>'SECRET', 'temp'=>'TEMP')
 
- Public Attributes inherited from ModuleObject
 $mid = NULL
 string to represent run-time instance of Module (XE Module) More...
 
 $module = NULL
 Class name of Xe Module that is identified by mid. More...
 
 $module_srl = NULL
 integer value to represent a run-time instance of Module (XE Module) More...
 
 $module_info = NULL
 an object containing the module information More...
 
 $origin_module_info = NULL
 
 $xml_info = NULL
 an object containing the module description extracted from XML file More...
 
 $module_path = NULL
 a path to directory where module source code resides More...
 
 $act = NULL
 a string value to contain the action name More...
 
 $template_path = NULL
 a path of directory where template files reside More...
 
 $template_file = NULL
 name of template file More...
 
 $layout_path = ''
 a path of directory where layout files reside More...
 
 $layout_file = ''
 name of layout file More...
 
 $edited_layout_file = ''
 name of temporary layout files that is modified in an admin mode More...
 
 $stop_proc = FALSE
 a flag to indicating whether to stop the execution of code. More...
 
 $module_config = NULL
 
 $ajaxRequestMethod = array('XMLRPC', 'JSON')
 
 $gzhandler_enable = TRUE
 
- Public Attributes inherited from BaseObject
 $error = 0
 
 $message = 'success'
 
 $variables = array()
 
 $httpStatusCode = NULL
 

Detailed Description

Definition at line 11 of file document.model.php.

Member Function Documentation

documentModel::_arrangeCategory ( $document_category,
  $list,
  $depth 
)

Category within a primary method to change the array type

Parameters
array$document_category
array$list
int$depth
Returns
void

Definition at line 776 of file document.model.php.

documentModel::_setSearchOption (   $searchOpt,
$args,
$query_id,
$use_division 
)

게시물 목록의 검색 옵션을 Setting함(2011.03.08 - cherryfilter) page변수가 없는 상태에서 page 값을 알아오는 method(getDocumentPage)는 검색하지 않은 값을 return해서 검색한 값을 가져오도록 검색옵션이 추가 됨. 검색옵션의 중복으로 인해 private method로 별도 분리

Parameters
object$searchOpt
object$args
string$query_id
bool$use_division
Returns
void

list_order asc sort of division that can be used only when

If it is true, use_division changed to use the document division

Definition at line 1327 of file document.model.php.

documentModel::_setSortIndex (   $obj,
  $load_extra_vars 
)

Setting sort index

Parameters
object$obj
bool$load_extra_vars
Returns
object

Definition at line 1280 of file document.model.php.

documentModel::getAlias (   $document_srl)

Return docuent's alias

Parameters
int$document_srl
Returns
string|void

Definition at line 1089 of file document.model.php.

documentModel::getCategory (   $category_srl,
  $columnList = array() 
)

Imported Category of information

Parameters
int$category_srl
array$columnList
Returns
object

Definition at line 704 of file document.model.php.

documentModel::getCategoryChlidCount (   $category_srl)

Check whether the child has a specific category

Parameters
int$category_srl
Returns
bool

Definition at line 732 of file document.model.php.

documentModel::getCategoryDocumentCount (   $module_srl,
  $category_srl 
)

Wanted number of documents belonging to category

Parameters
int$module_srl
int$category_srl
Returns
int

Definition at line 837 of file document.model.php.

documentModel::getCategoryHTML (   $module_srl)

Common:: Category parameter management module

Parameters
int$module_srl
Returns
string

Definition at line 997 of file document.model.php.

documentModel::getCategoryList (   $module_srl,
  $columnList = array() 
)

Bringing the Categories list the specific module Speed and variety of categories, considering the situation created by the php script to include a list of the must, in principle, to use

Parameters
int$module_srl
array$columnList
Returns
array

Definition at line 748 of file document.model.php.

documentModel::getCategoryPhpFile (   $module_srl)

Php cache files in the document category return information

Parameters
int$module_srl
Returns
string

Definition at line 867 of file document.model.php.

documentModel::getCategoryXmlFile (   $module_srl)

Xml cache file of the document category return information

Parameters
int$module_srl
Returns
string

Definition at line 851 of file document.model.php.

documentModel::getDailyArchivedList (   $obj)

Bringing a month on the status of the daily posts

Parameters
object$obj
Returns
object

Definition at line 909 of file document.model.php.

documentModel::getDocument (   $document_srl = 0,
  $is_admin = false,
  $load_extra_vars = true,
  $columnList = array() 
)

Import Document

Parameters
int$document_srl
bool$is_admin
bool$load_extra_vars
array$columnList
Returns
documentItem

Definition at line 140 of file document.model.php.

documentModel::getDocumentCategories ( )

Get a list for a particular module

Returns
void|BaseObject

Definition at line 935 of file document.model.php.

documentModel::getDocumentCategoryTplInfo ( )

Certain categories of information, return the template guhanhu Manager on the page to add information about a particular menu from the server after compiling tpl compiled a direct return html

Returns
void|BaseObject

Definition at line 1023 of file document.model.php.

documentModel::getDocumentConfig ( )

Wanted to set document information

Returns
object

Definition at line 957 of file document.model.php.

documentModel::getDocumentCount (   $module_srl,
  $search_obj = NULL 
)

The total number of documents that are bringing

Parameters
int$module_srl
object$search_obj
Returns
int

Definition at line 600 of file document.model.php.

documentModel::getDocumentCountByGroupStatus (   $search_obj = NULL)

the total number of documents that are bringing

Parameters
object$search_obj
Returns
array

Definition at line 616 of file document.model.php.

documentModel::getDocumentCountByMemberSrl (   $member_srl)

Get the total number of Document in corresponding with member_srl.

Parameters
int$member_srl
Returns
int

Definition at line 1588 of file document.model.php.

documentModel::getDocumentExtraImagePath ( )

get to the document extra image path.

Returns
string

Definition at line 1623 of file document.model.php.

documentModel::getDocumentExtraVarsCount (   $module_srl,
  $search_obj = NULL 
)

Definition at line 624 of file document.model.php.

documentModel::getDocumentExtraVarsFromDB (   $documentSrls)

Return document extra information from database

Parameters
array$documentSrls
Returns
object

Definition at line 38 of file document.model.php.

documentModel::getDocumentList (   $obj,
  $except_notice = false,
  $load_extra_vars = true,
  $columnList = array() 
)

Module_srl value, bringing the list of documents

Parameters
object$obj
bool$except_notice
bool$load_extra_vars
array$columnList
Returns
BaseObject

Definition at line 228 of file document.model.php.

documentModel::getDocumentListByMemberSrl (   $member_srl,
  $columnList = array(),
  $page = 0,
  $is_admin = FALSE,
  $count = 0 
)

Get document list of the doc in corresponding woth member_srl.

Parameters
int$member_srl
array$columnList
int$page
bool$is_admin
int$count
Returns
object

Definition at line 1605 of file document.model.php.

documentModel::getDocumentMenu ( )

Show pop-up menu of the selected posts Printing, scrap, recommendations and negative, reported the Add Features

Returns
void

Definition at line 508 of file document.model.php.

documentModel::getDocumentPage (   $oDocument,
  $opt 
)

Import page of the document, module_srl Without throughout ..

Parameters
documentItem$oDocument
object$opt
Returns
int

Definition at line 647 of file document.model.php.

documentModel::getDocuments (   $document_srls,
  $is_admin = false,
  $load_extra_vars = true,
  $columnList = array() 
)

Bringing multiple documents (or paging)

Parameters
array | string$document_srls
bool$is_admin
bool$load_extra_vars
array$columnList
Returns
array value type is documentItem

Definition at line 167 of file document.model.php.

documentModel::getDocumentSrlByAlias (   $mid,
  $alias 
)

Return docuent data by alias

Parameters
string$mid
string$alias
Returns
int|void

Definition at line 1050 of file document.model.php.

documentModel::getDocumentSrlByTitle (   $module_srl,
  $title 
)

Return docuent number by document title

Parameters
int$module_srl
string$title
Returns
int|void

Definition at line 1069 of file document.model.php.

documentModel::getDocumentVotedMemberList ( )

vote up, vote down member list in Document View page

Returns
void|BaseObject

Definition at line 1216 of file document.model.php.

documentModel::getExtraKeys (   $module_srl)

Function to retrieve the key values of the extended variable document $Form_include: writing articles whether to add the necessary extensions of the variable input form

Parameters
int$module_srl
Returns
array

Definition at line 400 of file document.model.php.

documentModel::getExtraVars (   $module_srl,
  $document_srl 
)

A particular document to get the value of the extra variable function

Parameters
int$module_srl
int$document_srl
Returns
array

Definition at line 490 of file document.model.php.

documentModel::getExtraVarsHTML (   $module_srl)

Common:: Module extensions of variable management Expansion parameter management module in the document module instance, when using all the modules available

Parameters
int$module_srl
Returns
string

Definition at line 979 of file document.model.php.

documentModel::getHistories (   $document_srl,
  $list_count,
  $page 
)

Return document's history list

Parameters
int$document_srl
int$list_count
int$page
Returns
object

Definition at line 1107 of file document.model.php.

documentModel::getHistory (   $history_srl)

Return document's history

Parameters
int$history_srl
Returns
object

Definition at line 1122 of file document.model.php.

documentModel::getMonthlyArchivedList (   $obj)

Imported post monthly archive status

Parameters
object$obj
Returns
object

Definition at line 883 of file document.model.php.

documentModel::getNoticeList (   $obj,
  $columnList = array() 
)

Module_srl value, bringing the document's gongjisa Port

Parameters
object$obj
array$columnList
Returns
object|void

Definition at line 362 of file document.model.php.

documentModel::getStatusNameList ( )

Return status name list

Returns
array

Definition at line 1266 of file document.model.php.

documentModel::getTrashList (   $obj)

Module_srl value, bringing the list of documents

Parameters
object$obj
Returns
object

Definition at line 1135 of file document.model.php.

documentModel::init ( )

Initialization

Returns
void

Definition at line 19 of file document.model.php.

documentModel::isGranted (   $document_srl)

document checked the permissions on the session values

Parameters
int$document_srl
Returns
void

Definition at line 28 of file document.model.php.

documentModel::setToAllDocumentExtraVars ( )

Extra variables for each article will not be processed bulk select and apply the macro city

Returns
void

Definition at line 55 of file document.model.php.


The documentation for this class was generated from the following file: