Property | Type | Description | |
---|---|---|---|
$incrementing | |||
$table |
Property | Type | Description | |
---|---|---|---|
$approves | array | ||
$casts | |||
$config | |||
$connection | string | Virtual connection name. | |
$displays | array | ||
$division | |||
$dynamic | use dynamic query | ||
$fillable | |||
$hidden | |||
$publishes | array | ||
$replyCharLen | |||
$statuses | array |
Method | Description | |
---|---|---|
checkRequired ( array $attributes ) : void | Check required attributes | |
fixedAttributes ( array $attributes ) : array | Set default value to attributes | |
getDepth ( ) : float | 덧글의 depth 반환 | |
getPureContent ( string $content ) : string | HTML 코드를 제거한 pureContent 반환 | |
getReplyCharLen ( ) : integer | Reply character length | |
setApprove ( ) | 승인 | |
setApproveWait ( ) | 승인 대기 | |
setApproved ( string $approved ) : void | 승인 상태 변경 | |
setConfig ( |
set config | |
setDisplay ( string $display ) : void | change documents display condition | |
setNotice ( boolean $notice = true ) | 공지 상태로 변경 | |
setPublish ( ) | 발행 | |
setPublished ( string $published ) : void | change documents publish condition | |
setReject ( ) | 승인 신청 거절 | |
setReply ( ) : void | Set reply attributes value | |
setReplyCharLen ( integer $len ) : void | Set reply character length | |
setReserve ( ) | 발행 예약 | |
setRestore ( ) | 휴지통 문서 복구 | |
setStatus ( string $status ) : void | change documents status condition | |
setTemporary ( ) | 임시저장 | |
setTrash ( ) | 휴지통 | |
user ( ) : |
user relationship |
Method | Description | |
---|---|---|
getReplyChar ( |
get reply code | |
makeReplyChar ( string $prevChars = null ) : string | Make next reply code characters | |
performDeleteOnModel ( ) : void | Perform a model delete operation. | |
performInsert ( |
Perform a model insert operation. | |
performUpdate ( |
Perform a model update operation. |
public checkRequired ( array $attributes ) : void | ||
$attributes | array | attributes |
return | void |
public fixedAttributes ( array $attributes ) : array | ||
$attributes | array | attributes |
return | array |
public getPureContent ( string $content ) : string | ||
$content | string | content |
return | string |
protected getReplyChar ( |
||
$parent | Parent document model | |
return | string |
public static getReplyCharLen ( ) : integer | ||
return | integer |
protected makeReplyChar ( string $prevChars = null ) : string | ||
$prevChars | string | previous child reply code character |
return | string |
protected performDeleteOnModel ( ) : void | ||
return | void |
protected performInsert ( |
||
$query | Illuminate database eloquent builder | |
$options | array | options |
return | boolean |
protected performUpdate ( |
||
$query | Illuminate database eloquent builder | |
$options | array | options |
return | boolean |
public setApproved ( string $approved ) : void | ||
$approved | string | condition value. 'approved':승인됨, 'waiting':대기중, 'rejected':거절됨 |
return | void |
public setDisplay ( string $display ) : void | ||
$display | string | condition value 'visible':보여짐, 'secret':비밀글, 'hidden':숨김 |
return | void |
public setPublished ( string $published ) : void | ||
$published | string | condition value. 'published':발행됨, 'waiting':대기중, 'reserved':발행예약됨, 'rejected':거절됨 |
return | void |
public static setReplyCharLen ( integer $len ) : void | ||
$len | integer | reply character length |
return | void |
public user ( ) : |
||
return |