|
| __construct ($document_srl=0, $load_extra_vars=true, $columnList=array()) |
|
| setDocument ($document_srl, $load_extra_vars=true) |
|
| _loadFromDB ($load_extra_vars=true) |
|
| setAttribute ($attribute, $load_extra_vars=true) |
|
| isExists () |
|
| isGranted () |
|
| setGrant () |
|
| isAccessible () |
|
| allowComment () |
|
| allowTrackback () |
|
| isLocked () |
|
| isEditable () |
|
| isSecret () |
|
| isNotice () |
|
| useNotify () |
|
| doCart () |
|
| addCart () |
|
| removeCart () |
|
| isCarted () |
|
| notify ($type, $content) |
|
| getLangCode () |
|
| getIpAddress () |
|
| isExistsHomepage () |
|
| getHomepageUrl () |
|
| getMemberSrl () |
|
| getUserID () |
|
| getUserName () |
|
| getNickName () |
|
| getLastUpdater () |
|
| getTitleText ($cut_size=0, $tail='...') |
|
| getTitle ($cut_size=0, $tail='...') |
|
| getContentText ($strlen=0) |
|
| _addAllowScriptAccess ($m) |
|
| _checkAllowScriptAccess ($m) |
|
| getContent ($add_popup_menu=true, $add_content_info=true, $resource_realpath=false, $add_xe_content_class=true, $stripEmbedTagException=false) |
|
| getTransContent ($add_popup_menu=true, $add_content_info=true, $resource_realpath=false, $add_xe_content_class=true) |
|
| getSummary ($str_size=50, $tail= '...') |
|
| getRegdate ($format= 'Y.m.d H:i:s') |
|
| getRegdateTime () |
|
| getRegdateGM () |
|
| getRegdateDT () |
|
| getUpdate ($format= 'Y.m.d H:i:s') |
|
| getUpdateTime () |
|
| getUpdateGM () |
|
| getUpdateDT () |
|
| getPermanentUrl () |
|
| getTrackbackUrl () |
|
| updateReadedCount () |
|
| isExtraVarsExists () |
|
| getExtraVars () |
|
| getExtraValue ($idx) |
|
| getExtraValueHTML ($idx) |
|
| getExtraEidValue ($eid) |
|
| getExtraEidValueHTML ($eid) |
|
| getExtraVarsValue ($key) |
|
| getCommentCount () |
|
| getComments () |
|
| getTrackbackCount () |
|
| getTrackbacks () |
|
| thumbnailExists ($width=80, $height=0, $type= '') |
|
| getThumbnail ($width=80, $height=0, $thumbnail_type= '') |
|
| getExtraImages ($time_interval=43200) |
|
| getStatus () |
|
| printExtraImages ($time_check=43200) |
|
| hasUploadedFiles () |
|
| getUploadedFiles ($sortIndex= 'file_srl') |
|
| getEditor () |
|
| isEnableComment () |
|
| getCommentEditor () |
|
| getProfileImage () |
|
| getSignature () |
|
| replaceResourceRealPath ($matches) |
|
| _checkAccessibleFromStatus () |
|
| getTranslationLangCodes () |
|
| getDocumentMid () |
|
| getDocumentType () |
|
| getDocumentAlias () |
|
| getModuleName () |
|
| getBrowserTitle () |
|
| __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 () |
|
Definition at line 11 of file document.item.php.
documentItem::__construct |
( |
|
$document_srl = 0 , |
|
|
|
$load_extra_vars = true , |
|
|
|
$columnList = array() |
|
) |
| |
Constructor
- Parameters
-
int | $document_srl | |
bool | $load_extra_vars | |
| array | columnList |
- Returns
- void
Definition at line 61 of file document.item.php.
documentItem::_addAllowScriptAccess |
( |
|
$m | ) |
|
documentItem::_checkAccessibleFromStatus |
( |
| ) |
|
Check accessible by document status
- Parameters
-
- Returns
- mixed
Definition at line 1184 of file document.item.php.
documentItem::_checkAllowScriptAccess |
( |
|
$m | ) |
|
documentItem::_loadFromDB |
( |
|
$load_extra_vars = true | ) |
|
documentItem::addCart |
( |
| ) |
|
documentItem::allowComment |
( |
| ) |
|
documentItem::allowTrackback |
( |
| ) |
|
documentItem::getBrowserTitle |
( |
| ) |
|
documentItem::getCommentCount |
( |
| ) |
|
documentItem::getCommentEditor |
( |
| ) |
|
documentItem::getComments |
( |
| ) |
|
documentItem::getContent |
( |
|
$add_popup_menu = true , |
|
|
|
$add_content_info = true , |
|
|
|
$resource_realpath = false , |
|
|
|
$add_xe_content_class = true , |
|
|
|
$stripEmbedTagException = false |
|
) |
| |
documentItem::getContentText |
( |
|
$strlen = 0 | ) |
|
documentItem::getDocumentAlias |
( |
| ) |
|
documentItem::getDocumentMid |
( |
| ) |
|
Returns the document's mid in order to construct SEO friendly URLs
- Returns
- string
Definition at line 1230 of file document.item.php.
documentItem::getDocumentType |
( |
| ) |
|
Returns the document's type (document/page/wiki/board/etc)
- Returns
- string
Definition at line 1241 of file document.item.php.
documentItem::getEditor |
( |
| ) |
|
documentItem::getExtraEidValue |
( |
|
$eid | ) |
|
documentItem::getExtraEidValueHTML |
( |
|
$eid | ) |
|
documentItem::getExtraImages |
( |
|
$time_interval = 43200 | ) |
|
Functions to display icons for new post, latest update, secret(private) post, image/video/attachment Determine new post and latest update by $time_interval
- Parameters
-
- Returns
- array
Definition at line 980 of file document.item.php.
documentItem::getExtraValue |
( |
|
$idx | ) |
|
documentItem::getExtraValueHTML |
( |
|
$idx | ) |
|
documentItem::getExtraVars |
( |
| ) |
|
documentItem::getExtraVarsValue |
( |
|
$key | ) |
|
documentItem::getHomepageUrl |
( |
| ) |
|
documentItem::getIpAddress |
( |
| ) |
|
documentItem::getLangCode |
( |
| ) |
|
documentItem::getLastUpdater |
( |
| ) |
|
documentItem::getMemberSrl |
( |
| ) |
|
documentItem::getModuleName |
( |
| ) |
|
Returns the document's actual title (browser_title)
- Returns
- string
Definition at line 1262 of file document.item.php.
documentItem::getNickName |
( |
| ) |
|
documentItem::getPermanentUrl |
( |
| ) |
|
documentItem::getProfileImage |
( |
| ) |
|
documentItem::getRegdate |
( |
|
$format = 'Y.m.d H:i:s' | ) |
|
documentItem::getRegdateDT |
( |
| ) |
|
documentItem::getRegdateGM |
( |
| ) |
|
documentItem::getRegdateTime |
( |
| ) |
|
documentItem::getSignature |
( |
| ) |
|
documentItem::getStatus |
( |
| ) |
|
documentItem::getSummary |
( |
|
$str_size = 50 , |
|
|
|
$tail = '...' |
|
) |
| |
documentItem::getThumbnail |
( |
|
$width = 80 , |
|
|
|
$height = 0 , |
|
|
|
$thumbnail_type = '' |
|
) |
| |
documentItem::getTitle |
( |
|
$cut_size = 0 , |
|
|
|
$tail = '...' |
|
) |
| |
documentItem::getTitleText |
( |
|
$cut_size = 0 , |
|
|
|
$tail = '...' |
|
) |
| |
documentItem::getTrackbackCount |
( |
| ) |
|
documentItem::getTrackbacks |
( |
| ) |
|
documentItem::getTrackbackUrl |
( |
| ) |
|
documentItem::getTransContent |
( |
|
$add_popup_menu = true , |
|
|
|
$add_content_info = true , |
|
|
|
$resource_realpath = false , |
|
|
|
$add_xe_content_class = true |
|
) |
| |
Return transformed content by Editor codes
- Parameters
-
bool | $add_popup_menu | |
bool | $add_content_info | |
bool | $resource_realpath | |
bool | $add_xe_content_class | |
- Returns
- string
Definition at line 528 of file document.item.php.
documentItem::getTranslationLangCodes |
( |
| ) |
|
documentItem::getUpdate |
( |
|
$format = 'Y.m.d H:i:s' | ) |
|
documentItem::getUpdateDT |
( |
| ) |
|
documentItem::getUpdateGM |
( |
| ) |
|
documentItem::getUpdateTime |
( |
| ) |
|
documentItem::getUploadedFiles |
( |
|
$sortIndex = 'file_srl' | ) |
|
documentItem::getUserID |
( |
| ) |
|
documentItem::getUserName |
( |
| ) |
|
documentItem::hasUploadedFiles |
( |
| ) |
|
documentItem::isAccessible |
( |
| ) |
|
documentItem::isCarted |
( |
| ) |
|
documentItem::isEditable |
( |
| ) |
|
documentItem::isEnableComment |
( |
| ) |
|
Check whether to have a permission to write comment Authority to write a comment and to write a document is separated
- Returns
- bool
Definition at line 1107 of file document.item.php.
documentItem::isExists |
( |
| ) |
|
documentItem::isExistsHomepage |
( |
| ) |
|
documentItem::isExtraVarsExists |
( |
| ) |
|
documentItem::isGranted |
( |
| ) |
|
documentItem::isLocked |
( |
| ) |
|
documentItem::isNotice |
( |
| ) |
|
documentItem::isSecret |
( |
| ) |
|
documentItem::notify |
( |
|
$type, |
|
|
|
$content |
|
) |
| |
Send notify message to document owner
- Parameters
-
string | $type | |
string | $content | |
- Returns
- void
Definition at line 299 of file document.item.php.
documentItem::printExtraImages |
( |
|
$time_check = 43200 | ) |
|
Return the value obtained from getExtraImages with image tag
- Parameters
-
- Returns
- string
Definition at line 1038 of file document.item.php.
documentItem::removeCart |
( |
| ) |
|
documentItem::replaceResourceRealPath |
( |
|
$matches | ) |
|
Change an image path in the content to absolute path
- Parameters
-
- Returns
- mixed
Definition at line 1174 of file document.item.php.
documentItem::setAttribute |
( |
|
$attribute, |
|
|
|
$load_extra_vars = true |
|
) |
| |
documentItem::setDocument |
( |
|
$document_srl, |
|
|
|
$load_extra_vars = true |
|
) |
| |
documentItem::setGrant |
( |
| ) |
|
documentItem::thumbnailExists |
( |
|
$width = 80 , |
|
|
|
$height = 0 , |
|
|
|
$type = '' |
|
) |
| |
documentItem::updateReadedCount |
( |
| ) |
|
documentItem::useNotify |
( |
| ) |
|
documentItem::$allow_trackback_status = null |
documentItem::$allowscriptaccessKey = 0 |
documentItem::$allowscriptaccessList = array() |
documentItem::$columnList = array() |
documentItem::$document_srl = 0 |
documentItem::$grant_cache = null |
documentItem::$lang_code = null |
documentItem::$uploadedFiles = array() |
The documentation for this class was generated from the following file: