Methods summary
public
|
#
__construct( array $data = null )
Section constructor.
Parameters
|
public
string
|
#
dateTimeDate( )
In the datetime attribute of the
In the datetime attribute of the
Returns
string The datetime attribute formatted.
|
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\AbstractNews
|
#
setTitle( mixed $title )
Parameters
- $title
- The news title (localized).
Returns
Implementation of
|
public
Charcoal\Cms\AbstractNews
|
#
setSubtitle( mixed $subtitle )
Parameters
- $subtitle
- The news subtitle (localized).
Returns
Implementation of
|
public
Charcoal\Cms\AbstractNews
|
#
setSummary( mixed $summary )
Parameters
- $summary
- The news summary (localized).
Returns
|
public
Charcoal\Cms\AbstractNews
|
#
setContent( mixed $content )
Parameters
- $content
- The news content (localized).
Returns
Implementation of
|
public
Charcoal\Cms\AbstractNews
|
#
setImage( mixed $image )
Parameters
- $image
- The section main image (localized).
Returns
|
public
Charcoal\Cms\AbstractNews
|
#
setInfoUrl( mixed $url )
Parameters
- $url
- The info URL (news source or where to find more information; localized).
Returns
Implementation of
|
public
Charcoal\Cms\AbstractNews
|
#
setNewsDate( string|DateTimeInterface $newsDate )
Parameters
Returns
Throws
InvalidArgumentException If the timestamp is invalid.
Implementation of
|
public
Charcoal\Cms\AbstractNews
|
#
setKeywords( string|string[] $keywords )
Set the object's keywords.
Set the object's keywords.
Parameters
- $keywords
- One or more entries.
Returns
|
public
Charcoal\Translator\Translation|string|null
|
#
title( )
Returns
Charcoal\Translator\Translation|string|null
Implementation of
|
public
Charcoal\Translator\Translation|string|null
|
#
subtitle( )
Returns
Charcoal\Translator\Translation|string|null
Implementation of
|
public
Charcoal\Translator\Translation|string|null
|
#
summary( )
Returns
Charcoal\Translator\Translation|string|null
|
public
Charcoal\Translator\Translation|string|null
|
#
infoUrl( )
Returns
Charcoal\Translator\Translation|string|null
Implementation of
|
public
DateTimeInterface|null
|
#
newsDate( )
Returns
DateTimeInterface|null
Implementation of
|
public
Charcoal\Translator\Translation|string|null
|
#
content( )
Returns
Charcoal\Translator\Translation|string|null
Implementation of
|
public
Charcoal\Translator\Translation|string|null
|
#
image( )
Returns
Charcoal\Translator\Translation|string|null
|
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
array
|
#
parseAsMultiple( mixed $value, string|PropertyInterface $separator = ',' )
Parse the property value as a "multiple" value type.
Parse the property value as a "multiple" value type.
Parameters
- $value
- The value being converted to an array.
- $separator
- The boundary string.
Returns
array
|
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
|