PHP Class backend\models\MoveSurplusForm

Inheritance: extends yii\base\Model
Afficher le fichier Open project: daixianceng/xiaoego.com Class Usage Examples

Méthodes publiques

Свойство Type Description
$amount

Méthodes publiques

Méthode Description
__construct ( string $id, array $config = [] ) Creates a form model given a goods id.
attributeLabels ( )
getGoods ( )
move ( $runValidation = true )
rules ( )

Method Details

__construct() public méthode

Creates a form model given a goods id.
public __construct ( string $id, array $config = [] )
$id string
$config array name-value pairs that will be used to initialize the object properties

attributeLabels() public méthode

public attributeLabels ( )

getGoods() public méthode

public getGoods ( )

move() public méthode

public move ( $runValidation = true )

rules() public méthode

public rules ( )

Property Details

$amount public_oe property

public $amount