StaticSeoUrlRepositoryWriter

Implements \StaticSeoUrlRepositoryWriterInterface

Class StaticSeoUrlRepositoryWriter

category

System

package

StaticSeoUrl

subpackage

Repositories

Methods

StaticSeoUrlRepositoryWriter constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Query builder.

Inserts a staticSeoUrl to the database.

store(\StaticSeoUrlInterface $staticSeoUrl) : integer

Arguments

$staticSeoUrl

\StaticSeoUrlInterface

Response

integer

ID of inserted staticSeoUrl or the given staticSeoUrl ID if the staticSeoUrl had an ID already.

Properties

Table name

table : string
var

Type(s)

string

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder