Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Corcel
Post
comments
Corcel\Post::comments PHP Method
Post Class Documentation
Show file
Open project: jgrossi/corcel
comments()
public
method
Comments relationship.
public
comments
( ) :
Illuminate\Database\Eloquent\Collection
return
Illuminate\Database\Eloquent\Collection
public function comments() { return $this->hasMany('Corcel\\Comment', 'comment_post_ID'); }
Post
__construct
__get
addShortcode
attachment
author
clearRegisteredPostTypes
comments
fields
getAcfAttribute
getAuthorIdAttribute
getContentAttribute
getCreatedAtAttribute
getExcerptAttribute
getFormat
getImageAttribute
getKeywordsAttribute
getKeywordsStrAttribute
getMainCategoryAttribute
getMimeTypeAttribute
getParentIdAttribute
getSlugAttribute
getStatusAttribute
getTermsAttribute
getTitleAttribute
getTypeAttribute
getUpdatedAtAttribute
getUrlAttribute
hasTerm
meta
newFromBuilder
newQuery
parent
registerPostType
removeShortcode
revision
save
scopeHasMeta
stripShortcodes
taxonomies
thumbnail