메소드 | 설명 | |
---|---|---|
__construct ( ) | ||
callFunctions ( $name ) | ||
getFeatures ( [boolean] $array = true ) : array | collection | get all features. | |
group ( $group ) | ||
makeSelectColor ( ) | ||
oldFeatures ( [array] $productFeatures ) : array | organize old data for the product form. | |
setFeatures ( [collection] $features ) : void | set all features. | |
validateFeatures ( [array] $data ) : [string | array] | validate product feature, as specified in the table of product details. |
메소드 | 설명 | |
---|---|---|
validationMessagesFeatures ( [string] $rules, [string] $index, [string] $name ) : [array] | create the error message by taking the name feature, and validation rules. |
public getFeatures ( [boolean] $array = true ) : array | collection | ||
$array | [boolean] | |
리턴 | array | collection |
public oldFeatures ( [array] $productFeatures ) : array | ||
$productFeatures | [array] | |
리턴 | array |
public setFeatures ( [collection] $features ) : void | ||
$features | [collection] | |
리턴 | void |
public validateFeatures ( [array] $data ) : [string | array] | ||
$data | [array] | |
리턴 | [string | array] |