PHP Класс N98\Magento\Command\System\Url\ListCommand

Examples: - Create a list of product urls only ./n98-magerun.phar system:urls:list --add-products 4 - Create a list of all products, categories and cms pages of store 4 and 5 separating host and path (e.g. to feed a jmeter csv sampler) ./n98-magerun.phar system:urls:list --add-all 4,5 '{host},{path}' > urls.csv The "linetemplate" can contain all parts "parse_url" return wrapped in '}'. '{url}' always maps the complete url and is set by default
Автор: Fabrizio Branca
Наследование: extends N98\Magento\Command\AbstractMagentoCommand
Показать файл Открыть проект

Защищенные методы

Метод Описание
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void Execute command
getUrls ( string $resourceModel, string $linkBaseUrl, string $storeId, array $urls ) : array

Описание методов

configure() защищенный Метод

protected configure ( )

execute() защищенный Метод

Execute command
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат integer | void

getUrls() защищенный Метод

protected getUrls ( string $resourceModel, string $linkBaseUrl, string $storeId, array $urls ) : array
$resourceModel string
$linkBaseUrl string
$storeId string
$urls array
Результат array