\ContactForm

ContactForm class.

ContactForm is the data structure for keeping contact form data. It is used by the 'contact' action of 'SiteController'.

Summary

Methods
Properties
Constants
rules()
attributeLabels()
$name
$email
$subject
$body
$verifyCode
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : 

Type

$email

$email : 

Type

$subject

$subject : 

Type

$body

$body : 

Type

$verifyCode

$verifyCode : 

Type

Methods

rules()

rules() 

Declares the validation rules.

attributeLabels()

attributeLabels() 

Declares customized attribute labels.

If not declared here, an attribute would have a label that is the same as its name with the first letter in upper case.