StaticSeoUrlContentRepositoryWriter
in package
implements
StaticSeoUrlContentRepositoryWriterInterface
Class StaticSeoUrlContentRepositoryWriter
Tags
Interfaces, Classes and Traits
- StaticSeoUrlContentRepositoryWriterInterface
- Interface StaticSeoUrlContentRepositoryWriterInterface
Table of Contents
- $db : CI_DB_query_builder
- Query builder.
- $table : string
- Table name
- __construct() : mixed
- StaticSeoUrlContentRepositoryWriter constructor.
- store() : int
- Inserts a staticSeoUrlContent to the database.
Properties
$db
Query builder.
protected
CI_DB_query_builder
$db
$table
Table name
protected
string
$table
= 'static_seo_url_contents'
Methods
__construct()
StaticSeoUrlContentRepositoryWriter constructor.
public
__construct(CI_DB_query_builder $db) : mixed
Parameters
- $db : CI_DB_query_builder
-
Query builder.
Return values
mixed —store()
Inserts a staticSeoUrlContent to the database.
public
store(IdType $staticSeoUrlId, StaticSeoUrlContentInterface $staticSeoUrlContent) : int
Parameters
- $staticSeoUrlId : IdType
- $staticSeoUrlContent : StaticSeoUrlContentInterface
Return values
int —ID of inserted staticSeoUrlContent or the given staticSeoUrlContent ID if the staticSeoUrlContent had an ID already.