fix wrong namespace, change outdated method name
This commit is contained in:
parent
11447ef248
commit
a66b87d7ec
@ -15,14 +15,14 @@
|
|||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace D3\Modules\AttributeMultiValues\Application\Controllers\Admin {
|
namespace D3\AttributeMultiValues\Modules\Application\Controllers\Admin {
|
||||||
|
|
||||||
use OxidEsales\Eshop\Application\Controller\Admin\ArticleAttributeAjax;
|
use OxidEsales\Eshop\Application\Controller\Admin\ArticleAttributeAjax;
|
||||||
|
|
||||||
class d3_article_attribute_ajax_multivalues_parent extends ArticleAttributeAjax {}
|
class d3_article_attribute_ajax_multivalues_parent extends ArticleAttributeAjax {}
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace D3\Modules\AttributeMultiValues\Application\Model {
|
namespace D3\AttributeMultiValues\Modules\Application\Model {
|
||||||
|
|
||||||
use OxidEsales\Eshop\Application\Model\AttributeList;
|
use OxidEsales\Eshop\Application\Model\AttributeList;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace D3\Modules\AttributeMultiValues\Application\Controllers\Admin;
|
namespace D3\AttributeMultiValues\Modules\Application\Controllers\Admin;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use OxidEsales\Eshop\Application\Model\Article;
|
use OxidEsales\Eshop\Application\Model\Article;
|
||||||
@ -39,8 +39,9 @@ class d3_article_attribute_ajax_multivalues extends d3_article_attribute_ajax_mu
|
|||||||
$sArtId = Registry::getRequest()->getRequestParameter('oxid');
|
$sArtId = Registry::getRequest()->getRequestParameter('oxid');
|
||||||
|
|
||||||
if (false == $sArtId) {
|
if (false == $sArtId) {
|
||||||
|
/** @var Attribute $attribute */
|
||||||
$attribute = oxNew(Attribute::class);
|
$attribute = oxNew(Attribute::class);
|
||||||
$sAttrViewName = $attribute->_getViewName();
|
$sAttrViewName = $attribute->getViewName();
|
||||||
$sQAdd = " from {$sAttrViewName} where {$sAttrViewName}.oxid ";
|
$sQAdd = " from {$sAttrViewName} where {$sAttrViewName}.oxid ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace D3\Modules\AttributeMultiValues\Application\Model;
|
namespace D3\AttributeMultiValues\Modules\Application\Model;
|
||||||
|
|
||||||
class d3_oxattributelist_multivalues extends d3_oxattributelist_multivalues_parent
|
class d3_oxattributelist_multivalues extends d3_oxattributelist_multivalues_parent
|
||||||
{
|
{
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use D3\Modules\AttributeMultiValues\Application\Controllers\Admin\d3_article_attribute_ajax_multivalues;
|
use D3\AttributeMultiValues\Modules\Application\Controllers\Admin\d3_article_attribute_ajax_multivalues;
|
||||||
use D3\Modules\AttributeMultiValues\Application\Model\d3_oxattributelist_multivalues;
|
use D3\AttributeMultiValues\Modules\Application\Model\d3_oxattributelist_multivalues;
|
||||||
use OxidEsales\Eshop\Application\Controller\Admin\ArticleAttributeAjax;
|
use OxidEsales\Eshop\Application\Controller\Admin\ArticleAttributeAjax;
|
||||||
use OxidEsales\Eshop\Application\Model\AttributeList;
|
use OxidEsales\Eshop\Application\Model\AttributeList;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user