Category
extends BaseComponent
in package
News Category Model
Table of Contents
Properties
- $content_type : string|null
- $expire_date : string|null
- $id : int|null
- $name : string|null
- $primary : bool|null
- $publish_date : string|null
- $fields : array<string|int, string>
Properties
$content_type
public
string|null
$content_type
The type of content type the news comes from
$expire_date
public
string|null
$expire_date
The date of expiration
$id
public
int|null
$id
The Id of the news category
$name
public
string|null
$name
The name of the news category
$primary
public
bool|null
$primary
Set to true if the new category is the primary source of the news item
$publish_date
public
string|null
$publish_date
The publish date
$fields
protected
static array<string|int, string>
$fields
= ["id" => "int", "name" => "string", "content_type" => "string", "primary" => "bool", "publish_date" => "string", "expire_date" => "string"]