-
Notifications
You must be signed in to change notification settings - Fork 9
Atributos
Bruno Barreto edited this page May 15, 2017
·
3 revisions
$retorno = $skyhub->attributes()->insert($id, $label, $opts);
Exemplo:
$retorno = $skyhub->attributes()->insert('color', 'Cor', [
'Verde', 'Vermelho', 'Azul'
]);
$retorno = $skyhub->attributes($id)->update($label, $opts);
Exemplo:
$retorno = $skyhub->attributes('color')->update('Cor do móvel', [
'Preto', 'Branco', 'Verde', 'Vermelho', 'Azul'
]);