Skip to content

Commit

Permalink
Added required catalog text types and fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Jun 19, 2017
1 parent 0d941ed commit 7d17f23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions lib/mshoplib/setup/unittest/data/text.php
Expand Up @@ -13,13 +13,16 @@
'attribute/long' => array( 'domain' => 'attribute', 'code' => 'long', 'label' => 'Long description', 'status' => 1 ),
'attribute/url' => array( 'domain' => 'attribute', 'code' => 'url', 'label' => 'URL segment', 'status' => 1 ),
'attribute/img-description' => array( 'domain' => 'attribute', 'code' => 'img-description', 'label' => 'Image description', 'status' => 0 ),
'catalog/name' => array( 'domain' => 'catalog', 'code' => 'name', 'label' => 'Name', 'status' => 1 ),
'catalog/short' => array( 'domain' => 'catalog', 'code' => 'short', 'label' => 'Short description', 'status' => 1 ),
'catalog/long' => array( 'domain' => 'catalog', 'code' => 'long', 'label' => 'Long description', 'status' => 1 ),
'catalog/url' => array( 'domain' => 'catalog', 'code' => 'url', 'label' => 'URL segment', 'status' => 1 ),
'catalog/metatitle' => array( 'domain' => 'catalog', 'code' => 'metatitle', 'label' => 'Meta title', 'status' => 1 ),
'catalog/meta-keyword' => array( 'domain' => 'catalog', 'code' => 'meta-keyword', 'label' => 'Meta keywords', 'status' => 1 ),
'catalog/meta-description' => array( 'domain' => 'catalog', 'code' => 'meta-description', 'label' => 'Meta description', 'status' => 1 ),
'catalog/deliveryinformation' => array( 'domain' => 'catalog', 'code' => 'deliveryinformation', 'label' => 'Delivery information', 'status' => 1 ),
'catalog/paymentinformation' => array( 'domain' => 'catalog', 'code' => 'paymentinformation', 'label' => 'Payment information', 'status' => 1 ),
'catalog/name' => array( 'domain' => 'catalog', 'code' => 'name', 'label' => 'Name', 'status' => 1 ),
'catalog/quote' => array( 'domain' => 'catalog', 'code' => 'quote', 'label' => 'Quote', 'status' => 1 ),
'catalog/url' => array( 'domain' => 'catalog', 'code' => 'url', 'label' => 'URL segment', 'status' => 1 ),
'text/name' => array( 'domain' => 'text', 'code' => 'name', 'label' => 'Name', 'status' => 1 ),
'media/name' => array( 'domain' => 'media', 'code' => 'name', 'label' => 'Name', 'status' => 1 ),
'media/short' => array( 'domain' => 'media', 'code' => 'short', 'label' => 'Short description', 'status' => 1 ),
Expand Down
2 changes: 1 addition & 1 deletion lib/mshoplib/src/MShop/Catalog/Manager/Iface.php
Expand Up @@ -48,7 +48,7 @@ public function getTree( $id = null, array $ref = [], $level = \Aimeos\MW\Tree\M
* @param \Aimeos\MShop\Catalog\Item\Iface $item Item which should be inserted
* @param string|null $parentId ID of the parent item where the item should be inserted into
* @param string|null $refId ID of the item where the item should be inserted before (null to append)
* @return void
* @return \Aimeos\MShop\Catalog\Item\Iface Inserted catalog item
*/
public function insertItem( \Aimeos\MShop\Catalog\Item\Iface $item, $parentId = null, $refId = null );

Expand Down

0 comments on commit 7d17f23

Please sign in to comment.