The followings are the available columns in table 'tbl_comment':
package | Default |
---|
approve()
attributeLabels(): array
array
customized attribute labels (name=>label)
beforeSave(): boolean
boolean
whether the record should be saved.
findRecentComments( $limit = 10): array
array
the most recently added comments
getAuthorLink(): string
string
the hyperlink display for the current comment's author
getPendingCommentCount(): integer
integer
the number of comments that are pending approval
getUrl( $post = null): string
string
the permalink URL for this comment
model( $className = __CLASS__): static
static
the static model class
relations(): array
array
relational rules.
rules(): array
array
validation rules for model attributes.
tableName(): string
string
the associated database table name
STATUS_PENDING
STATUS_APPROVED
id :integer
integer
content :string
string
status :integer
integer
create_time :integer
integer
email :string
string
url :string
string
post_id :integer
integer