Documentation

NewsItem extends BaseComponent
in package

NewsItem Model

Table of Contents

Properties

$author  : string|null
$categories  : array<string|int, Category>|null
$date_created  : string|null
$featured  : bool|null
$headline  : string|null
$id  : int|null
$long_description  : string|null
$media_item  : array<string|int, MediaItem>|null
$short_description  : string|null
$fields  : array<string|int, string>

Properties

$author

public string|null $author

The author os the news item

$categories

public array<string|int, Category>|null $categories

The list of categories the news item is published to

$date_created

public string|null $date_created

The date the news item was created.

public bool|null $featured

Returns true if the news item is featured

$headline

public string|null $headline

The news item title

$id

public int|null $id

The ID of the news item

$long_description

public string|null $long_description

The long description field for the new item

$short_description

public string|null $short_description

The short description field for the new item

$fields

protected static array<string|int, string> $fields = ["id" => "int", "headline" => "string", "author" => "string", "short_description" => "string", "long_description" => "string", "featured" => "bool", "media_item" => "\\Blackbaud\\SKY\\School\\Components\\MediaItem[]", "date_created" => "string", "categories" => "\\Blackbaud\\SKY\\School\\Components\\Category[]"]

        
On this page

Search results