本文整理汇总了PHP中Ess_M2ePro_Model_Listing_Other::getMarketplace方法的典型用法代码示例。如果您正苦于以下问题:PHP Ess_M2ePro_Model_Listing_Other::getMarketplace方法的具体用法?PHP Ess_M2ePro_Model_Listing_Other::getMarketplace怎么用?PHP Ess_M2ePro_Model_Listing_Other::getMarketplace使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Ess_M2ePro_Model_Listing_Other
的用法示例。
在下文中一共展示了Ess_M2ePro_Model_Listing_Other::getMarketplace方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct(array $params = array(), Ess_M2ePro_Model_Listing_Other $otherListing)
{
$defaultParams = array('status_changer' => Ess_M2ePro_Model_Listing_Product::STATUS_CHANGER_UNKNOWN);
$params = array_merge($defaultParams, $params);
$this->otherListing = $otherListing;
parent::__construct($params, $this->otherListing->getMarketplace(), $this->otherListing->getAccount(), NULL);
}
示例2: __construct
public function __construct(array $params = array(), Ess_M2ePro_Model_Listing_Other $otherListing)
{
if (!is_null($otherListing->getActionConfigurator())) {
$actionConfigurator = $otherListing->getActionConfigurator();
} else {
$actionConfigurator = Mage::getModel('M2ePro/Ebay_Listing_Other_Action_Configurator');
}
$this->otherListing = $otherListing->loadInstance($otherListing->getId());
$this->otherListing->setActionConfigurator($actionConfigurator);
parent::__construct($params, $this->otherListing->getMarketplace(), $this->otherListing->getAccount(), NULL);
}
示例3: __construct
public function __construct(array $params = array(), Ess_M2ePro_Model_Listing_Other $otherListing)
{
$defaultParams = array('status_changer' => Ess_M2ePro_Model_Listing_Product::STATUS_CHANGER_UNKNOWN);
$params = array_merge($defaultParams, $params);
if (isset($params['logs_action_id'])) {
$this->logsActionId = (int) $params['logs_action_id'];
unset($params['logs_action_id']);
} else {
$this->logsActionId = Mage::getModel('M2ePro/Listing_Other_Log')->getNextActionId();
}
$this->otherListing = $otherListing;
parent::__construct($params, $this->otherListing->getMarketplace(), $this->otherListing->getAccount(), NULL);
}
示例4: __construct
public function __construct(array $params = array(), Ess_M2ePro_Model_Listing_Other $otherListing)
{
$this->otherListing = $otherListing;
parent::__construct($params, $this->otherListing->getMarketplace(), $this->otherListing->getAccount(), NULL);
}