mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 01:39:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1734 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ce863a71f8
commit
9b66e61720
75 changed files with 1389 additions and 6 deletions
|
|
@ -128,6 +128,11 @@
|
|||
return sprintf('<!--BeforeDocument(%d,%d)-->%s<!--AfterDocument(%d,%d)-->', $this->document_srl, $this->get('member_srl'), $this->get('content'), $this->document_srl, $this->get('member_srl'));
|
||||
}
|
||||
|
||||
function getSummary($str_size = 50) {
|
||||
$content = strip_tags($this->get('content'));
|
||||
return cut_str($content, $str_size, '...');
|
||||
}
|
||||
|
||||
function getRegdate($format = 'Y.m.d H:i:s') {
|
||||
return zdate($this->get('regdate'), $format);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue