1 | <?php |
||
34 | class DescribeModelCommand extends MageCommand |
||
35 | { |
||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $validator = '/^([a-zA-Z0-9]+)_([a-zA-Z0-9]+)\/([a-zA-Z0-9]+)(_[\w]+)?$/'; |
||
40 | |||
41 | /** |
||
42 | * @var string |
||
43 | */ |
||
44 | protected $help = <<<HELP |
||
45 | The model alias provided doesn't follow the Magento naming conventions. |
||
46 | Please make sure it looks like the following: |
||
47 | |||
48 | vendorname_modulename/modelname |
||
49 | |||
50 | The lowercase convention is used because it reflects the best practice |
||
51 | convention within the Magento community. This reflects the identifier that |
||
52 | you would pass to Mage::getModel() or Mage::getSingleton(). |
||
53 | HELP; |
||
54 | |||
55 | /** |
||
56 | * @var string |
||
57 | */ |
||
58 | protected $type = 'model'; |
||
59 | |||
60 | protected function configure() |
||
67 | } |
||
68 |