Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
common
models
Address
init
common\models\Address::init PHP Method
Address Class Documentation
Show file
Open project: daixianceng/xiaoego.com
init()
public
method
public
init
( )
public function init() { if ($this->isNewRecord) { $this->gender = self::GENDER_MALE; } }
Address
__toString
attributeLabels
beforeSave
behaviors
getAddressMsg
getBuilding
getGenderList
getGenderMsg
getIsDefault
getSchool
getUser
init
rules
tableName