a-blog cms PHP API Reference

UserRepository
in package

ユーザーのリポジトリ

Table of Contents

Methods

exists()  : bool
ユーザーが存在するかチェック

Methods

exists()

ユーザーが存在するかチェック

public exists(int $userId[, int|null $blogId = null ]) : bool
Parameters
$userId : int

ユーザーID

$blogId : int|null = null

ブログID(指定された場合、そのブログに属するかもチェック)

Return values
bool

存在する場合true


        
On this page

Search results