PHP Class BlogComment

Afficher le fichier Open project: baserproject/basercms Class Usage Examples

Méthodes publiques

Свойство Type Description
$actsAs array ビヘイビア
$belongsTo array belongsTo
$name string クラス名
$validate array validate

Méthodes publiques

Méthode Description
add ( array $data, string $contentId, string $postId, string $commentApprove ) : boolean コメントを追加する
getDefaultValue ( ) : array 初期値を取得する

Method Details

add() public méthode

コメントを追加する
public add ( array $data, string $contentId, string $postId, string $commentApprove ) : boolean
$data array
$contentId string
$postId string
$commentApprove string
Résultat boolean

getDefaultValue() public méthode

初期値を取得する
public getDefaultValue ( ) : array
Résultat array 初期値データ

Property Details

$actsAs public_oe property

ビヘイビア
public array $actsAs
Résultat array

$belongsTo public_oe property

belongsTo
public array $belongsTo
Résultat array

$name public_oe property

クラス名
public string $name
Résultat string

$validate public_oe property

validate
public array $validate
Résultat array