PHP Class app\models\NewsCategory

Inheritance: extends yii\db\ActiveRecord
Afficher le fichier Open project: qloog/laravel5-backend Class Usage Examples

Protected Properties

Свойство Type Description
$fillable array The attributes that are mass assignable.
$hidden array The attributes excluded from the model's JSON form.
$table string The table associated with the model.

Méthodes publiques

Méthode Description
news ( ) Get the news for the blog category.

Method Details

news() public méthode

Get the news for the blog category.
public news ( )

Property Details

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
Résultat array

$hidden protected_oe property

The attributes excluded from the model's JSON form.
protected array $hidden
Résultat array

$table protected_oe property

The table associated with the model.
protected string $table
Résultat string