StaticSeoUrlContentRepositoryReader
in package
implements
StaticSeoUrlContentRepositoryReaderInterface
Class StaticSeoUrlContentRepositoryReader
Tags
Interfaces, Classes and Traits
- StaticSeoUrlContentRepositoryReaderInterface
- Interface StaticSeoUrlContentRepositoryReaderInterface
Table of Contents
- $db : CI_DB_query_builder
- Query builder.
- $table : string
- Table name
- __construct() : mixed
- StaticSeoUrlContentRepositoryReader constructor.
- getById() : StaticSeoUrlContentInterface
- Returns a StaticSeoUrlContent instance by the given staticSeoUrlContent ID.
- getByStaticSeoUrlId() : StaticSeoUrlContentCollection
- Returns a StaticSeoUrlContentCollection for the given StaticSeoUrl ID.
- _setDbValues() : mixed
- Assign the staticSeoUrlContent values via the setters.
Properties
$db
Query builder.
protected
CI_DB_query_builder
$db
$table
Table name
protected
string
$table
= 'static_seo_url_contents'
Methods
__construct()
StaticSeoUrlContentRepositoryReader constructor.
public
__construct(CI_DB_query_builder $db) : mixed
Parameters
- $db : CI_DB_query_builder
Return values
mixed —getById()
Returns a StaticSeoUrlContent instance by the given staticSeoUrlContent ID.
public
getById(IdType $staticSeoUrlContentId) : StaticSeoUrlContentInterface
Parameters
- $staticSeoUrlContentId : IdType
Tags
Return values
StaticSeoUrlContentInterface —getByStaticSeoUrlId()
Returns a StaticSeoUrlContentCollection for the given StaticSeoUrl ID.
public
getByStaticSeoUrlId(IdType $staticSeoUrlId) : StaticSeoUrlContentCollection
Parameters
- $staticSeoUrlId : IdType
Tags
Return values
StaticSeoUrlContentCollection —All staticSeoUrlContents found by the staticSeoUrlId ID as a StaticSeoUrlContentCollection.
_setDbValues()
Assign the staticSeoUrlContent values via the setters.
protected
_setDbValues(StaticSeoUrlContent $staticSeoUrlContent, array<string|int, mixed> $row) : mixed
Parameters
- $staticSeoUrlContent : StaticSeoUrlContent
-
StaticSeoUrlContent object.
- $row : array<string|int, mixed>
-
Fetched DB row.