Methods summary
public
|
#
__construct( array $data = null )
Section constructor.
Parameters
|
public
|
#
verifyDates( )
Some dates cannot be null
Some dates cannot be null
|
public
string
|
#
adminDateFilter( )
Returns
string The date filtered for admin dual select input and others.
|
public
Charcoal\Cms\AbstractEvent
|
#
setTitle( mixed $title )
Parameters
- $title
- The event title (localized).
Returns
Implementation of
|
public
Charcoal\Translator\Translation|string|null
|
#
title( )
Returns
Charcoal\Translator\Translation|string|null
Implementation of
|
public
Charcoal\Cms\AbstractEvent
|
#
setSubtitle( mixed $subtitle )
Parameters
- $subtitle
- The event subtitle (localized).
Returns
Implementation of
|
public
Charcoal\Translator\Translation|string|null
|
#
subtitle( )
Returns
Charcoal\Translator\Translation|string|null
Implementation of
|
public
Charcoal\Cms\AbstractEvent
|
#
setSummary( mixed $summary )
Parameters
- $summary
- The news summary (localized).
Returns
|
public
Charcoal\Translator\Translation|string|null
|
#
summary( )
Returns
Charcoal\Translator\Translation|string|null
|
public
Charcoal\Cms\AbstractEvent
|
#
setContent( mixed $content )
Parameters
- $content
- The event content (localized).
Returns
Implementation of
|
public
Charcoal\Translator\Translation|string|null
|
#
content( )
Returns
Charcoal\Translator\Translation|string|null
Implementation of
|
public
Charcoal\Cms\AbstractEvent
|
#
setImage( mixed $image )
Parameters
- $image
- The section main image (localized).
Returns
|
public
Charcoal\Translator\Translation|string|null
|
#
image( )
Returns
Charcoal\Translator\Translation|string|null
|
public
Charcoal\Cms\AbstractEvent
|
#
setStartDate( string|DateTimeInterface $startDate )
Parameters
- $startDate
- Event starting date.
Returns
Throws
InvalidArgumentException If the timestamp is invalid.
Implementation of
|
public
DateTimeInterface|null
|
#
startDate( )
Returns
DateTimeInterface|null
Implementation of
|
public
Charcoal\Cms\AbstractEvent
|
#
setEndDate( string|DateTimeInterface $endDate )
Parameters
Returns
Throws
InvalidArgumentException If the timestamp is invalid.
Implementation of
|
public
DateTimeInterface|null
|
#
endDate( )
Returns
DateTimeInterface|null
Implementation of
|
public
string
|
#
canonicalUrl( )
MetatagTrait > canonical_url
MetatagTrait > canonical_url
Returns
string
Implementation of
|
public
Charcoal\Translator\Translation|string|null
|
#
defaultMetaTitle( )
Returns
Charcoal\Translator\Translation|string|null
Implementation of
|
public
Charcoal\Translator\Translation|string|null
|
|
public
Charcoal\Translator\Translation|string|null
|
#
defaultMetaImage( )
Returns
Charcoal\Translator\Translation|string|null
Implementation of
|
public
string[]
|
#
keywords( )
Retrieve the object's keywords.
Retrieve the object's keywords.
Returns
string[]
|
public
boolean
|
|
public
boolean
|
#
preUpdate( array $properties = null )
Parameters
- $properties
- Optional properties to update.
Returns
boolean
|
public
boolean
|
#
postSave( )
Returns
boolean Parent postSave().
|
public
boolean
|
#
postUpdate( array $properties = null )
Parameters
Returns
boolean
|
public
boolean
|
#
isActiveRoute( )
GenericRoute checks if the route is active.
Default in RoutableTrait.
GenericRoute checks if the route is active.
Default in RoutableTrait.
Returns
boolean
|