StaticSeoUrlRepositoryReader
in package
implements
StaticSeoUrlRepositoryReaderInterface
Class StaticSeoUrlRepositoryReader
Tags
Interfaces, Classes and Traits
- StaticSeoUrlRepositoryReaderInterface
- Interface StaticSeoUrlRepositoryReaderInterface
Table of Contents
- $db : CI_DB_query_builder
- Query builder.
- $table : string
- Table name
- __construct() : mixed
- StaticSeoUrlRepositoryReader constructor.
- getAll() : StaticSeoUrlCollection
- Returns a StaticSeoUrlCollection with all existing StaticSeoUrl objects.
- getById() : StaticSeoUrlInterface
- Returns a StaticSeoUrl instance by the given staticSeoUrl ID.
- _setDbValues() : mixed
- Assign the StaticSeoUrl values via the setter.
Properties
$db
Query builder.
protected
CI_DB_query_builder
$db
$table
Table name
protected
string
$table
= 'static_seo_urls'
Methods
__construct()
StaticSeoUrlRepositoryReader constructor.
public
__construct(CI_DB_query_builder $db) : mixed
Parameters
- $db : CI_DB_query_builder
-
Query builder.
Return values
mixed —getAll()
Returns a StaticSeoUrlCollection with all existing StaticSeoUrl objects.
public
getAll() : StaticSeoUrlCollection
Return values
StaticSeoUrlCollection —getById()
Returns a StaticSeoUrl instance by the given staticSeoUrl ID.
public
getById(IdType $staticSeoUrlId) : StaticSeoUrlInterface
Parameters
- $staticSeoUrlId : IdType
Tags
Return values
StaticSeoUrlInterface —_setDbValues()
Assign the StaticSeoUrl values via the setter.
protected
_setDbValues(StaticSeoUrl $staticSeoUrl, array<string|int, mixed> $row) : mixed
Parameters
- $staticSeoUrl : StaticSeoUrl
- $row : array<string|int, mixed>