baserCMS クラスリファレンス

MailContentsService
in package
implements MailContentsServiceInterface Uses BcContainerTrait

MailContentsService

Table of Contents

Interfaces

MailContentsServiceInterface
MailContentsServiceInterface

Properties

$MailContents  : MailContentsTable

Methods

__construct()  : mixed
Construct
copy()  : EntityInterface
ブログをコピーする
create()  : EntityInterface
メールフォーム登録
delete()  : bool
メールフォームを削除する
get()  : EntityInterface
メールコンテンツを取得する
getIndex()  : Query
メールコンテンツ一覧を取得する
getList()  : array<string|int, mixed>
リストデータ取得
getNew()  : EntityInterface
初期値を取得する
getPublishedAll()  : ResultSetInterface
公開状態のメールコンテンツを全て取得する
getService()  : array<string|int, mixed>|mixed|object
Get Service
hasService()  : bool
Has Service
update()  : EntityInterface|null
メールコンテンツを更新する

Properties

Methods

copy()

ブログをコピーする

public copy(array<string|int, mixed> $postData) : EntityInterface
Parameters
$postData : array<string|int, mixed>
Tags
checked
unitTest
noTodo
Return values
EntityInterface

$result

create()

メールフォーム登録

public create(array<string|int, mixed> $postData[, array<string|int, mixed> $options = [] ]) : EntityInterface
Parameters
$postData : array<string|int, mixed>
$options : array<string|int, mixed> = []
Tags
throws
PersistenceFailedException
checked
noTodo
unitTest
Return values
EntityInterface

delete()

メールフォームを削除する

public delete(int $id) : bool
Parameters
$id : int
Tags
checked
noTodo
unitTest
Return values
bool

get()

メールコンテンツを取得する

public get(int $id[, array<string|int, mixed> $options = [] ]) : EntityInterface
Parameters
$id : int
$options : array<string|int, mixed> = []
Tags
checked
noTodo
unitTest
Return values
EntityInterface

getIndex()

メールコンテンツ一覧を取得する

public getIndex([array<string|int, mixed> $queryParams = [] ]) : Query
Parameters
$queryParams : array<string|int, mixed> = []
Tags
checked
noTodo
unitTest
Return values
Query

getList()

リストデータ取得

public getList() : array<string|int, mixed>
Tags
checked
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getNew()

初期値を取得する

public getNew() : EntityInterface
Tags
checked
noTodo
unitTest
Return values
EntityInterface

getPublishedAll()

公開状態のメールコンテンツを全て取得する

public getPublishedAll([int|null $siteId = null ]) : ResultSetInterface
Parameters
$siteId : int|null = null
Tags
unitTest
checked
noTodo
Return values
ResultSetInterface

getService()

Get Service

public getService( $service) : array<string|int, mixed>|mixed|object
Parameters
$service :
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>|mixed|object

hasService()

Has Service

public hasService( $service) : bool
Parameters
$service :
Tags
checked
noTodo
unitTest
Return values
bool

update()

メールコンテンツを更新する

public update(EntityInterface $entity, array<string|int, mixed> $postData) : EntityInterface|null
Parameters
$entity : EntityInterface
$postData : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
EntityInterface|null

        
On this page

Search results