Method | Description | |
---|---|---|
addGroup ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Aimeos\MShop\Context\Item\Iface $context, Aimeos\MShop\Customer\Item\Iface $user, string $group ) | Adds the group to the given user | |
addListItem ( Aimeos\MShop\Context\Item\Iface $context, string $userid, string $groupid ) | Associates the user to the group by their given IDs | |
configure ( ) | Configures the command name and description. | |
createCustomerItem ( Aimeos\MShop\Context\Item\Iface $context, string $email, string $password ) : Aimeos\MShop\Customer\Item\Iface | Returns the customer item for the given e-mail and set its password | |
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Execute the console command. | |
getGroupItem ( Aimeos\MShop\Context\Item\Iface $context, string $code ) : Aimeos\MShop\Customer\Item\Group\Iface | Returns the customer group item for the given code |
protected addGroup ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Aimeos\MShop\Context\Item\Iface $context, Aimeos\MShop\Customer\Item\Iface $user, string $group ) | ||
$input | Symfony\Component\Console\Input\InputInterface | Input object |
$output | Symfony\Component\Console\Output\OutputInterface | Output object |
$context | Aimeos\MShop\Context\Item\Iface | Aimeos context object |
$user | Aimeos\MShop\Customer\Item\Iface | Aimeos customer object |
$group | string | Unique customer group code |
protected addListItem ( Aimeos\MShop\Context\Item\Iface $context, string $userid, string $groupid ) | ||
$context | Aimeos\MShop\Context\Item\Iface | Aimeos context object |
$userid | string | Unique user ID |
$groupid | string | Unique group ID |
protected createCustomerItem ( Aimeos\MShop\Context\Item\Iface $context, string $email, string $password ) : Aimeos\MShop\Customer\Item\Iface | ||
$context | Aimeos\MShop\Context\Item\Iface | Aimeos context object |
string | Unique e-mail address | |
$password | string | New user password |
return | Aimeos\MShop\Customer\Item\Iface | Aimeos customer item object |
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | Input object |
$output | Symfony\Component\Console\Output\OutputInterface | Output object |
protected getGroupItem ( Aimeos\MShop\Context\Item\Iface $context, string $code ) : Aimeos\MShop\Customer\Item\Group\Iface | ||
$context | Aimeos\MShop\Context\Item\Iface | Aimeos context object |
$code | string | Unique customer group code |
return | Aimeos\MShop\Customer\Item\Group\Iface | Aimeos customer group item object |