Method | Description | |
---|---|---|
__construct ( ) : void | Constructor | |
add_comment ( array $data ) : mixed | Add Comment | |
change_display ( $status, $id ) | Chagne Display | |
delete_comment ( $id ) : true | Delete Category | |
edit_comment ( $id, array $data ) : true | Edit Category | |
email_admin ( $id, $data = '' ) : integer | Email the admin about the comment | |
get_article_comments ( $id ) : array | Get approved comments | |
get_article_comments_count ( $id ) : integer | Get approved comments count | |
get_new_comments ( $date ) : array | Get a list of all new orders since a certain timestamp | |
spam_check ( $email, $comment ) : mixed | Spam Check |
public add_comment ( array $data ) : mixed | ||
$data | array | An array of data. |
return | mixed | Id on success. |
public delete_comment ( $id ) : true | ||
return | true | on success. |
public edit_comment ( $id, array $data ) : true | ||
$data | array | An array of data. |
return | true | on success. |
public email_admin ( $id, $data = '' ) : integer | ||
return | integer |
public get_article_comments ( $id ) : array | ||
return | array |
public get_article_comments_count ( $id ) : integer | ||
return | integer |
public get_new_comments ( $date ) : array | ||
return | array |
public spam_check ( $email, $comment ) : mixed | ||
return | mixed |