PHP 클래스 frontend\models\ContactForm

상속: extends yii\base\Model
파일 보기 프로젝트 열기: yiisoft/yii2-app-advanced 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$body
$email
$name
$subject
$verifyCode

공개 메소드들

메소드 설명
attributeLabels ( )
rules ( )
sendEmail ( string $email ) : boolean Sends an email to the specified email address using the information collected by this model.

메소드 상세

attributeLabels() 공개 메소드

public attributeLabels ( )

rules() 공개 메소드

public rules ( )

sendEmail() 공개 메소드

Sends an email to the specified email address using the information collected by this model.
public sendEmail ( string $email ) : boolean
$email string the target email address
리턴 boolean whether the email was sent

프로퍼티 상세

$body 공개적으로 프로퍼티

public $body

$email 공개적으로 프로퍼티

public $email

$name 공개적으로 프로퍼티

public $name

$subject 공개적으로 프로퍼티

public $subject

$verifyCode 공개적으로 프로퍼티

public $verifyCode