baserCMS クラスリファレンス

MailMessageValidation extends Validation
in package

Class MailMessageValidation

Table of Contents

Methods

checkdate()  : bool
日付チェック
checkSame()  : bool
指定したターゲットのデータと同じかチェックする
dateArray()  : bool
配列日付チェック
dateString()  : bool
文字列日付チェック

Methods

checkdate()

日付チェック

public static checkdate( $value) : bool
Parameters
$value :
Tags
unitTest
noTodo
checked
Return values
bool

checkSame()

指定したターゲットのデータと同じかチェックする

public static checkSame(string $value, string $target, array<string|int, mixed> $context) : bool
Parameters
$value : string
$target : string
$context : array<string|int, mixed>
Tags
checked
noTodo
Return values
bool

dateArray()

配列日付チェック

public static dateArray( $value) : bool
Parameters
$value :
Tags
unitTest
noTodo
checked
Return values
bool

dateString()

文字列日付チェック

public static dateString(string $value) : bool
Parameters
$value : string
Tags
checked
unitTest
noTodo
Return values
bool

        
On this page

Search results