当前位置: 首页>>代码示例>>PHP>>正文


PHP Base::toArray方法代码示例

本文整理汇总了PHP中Aimeos\MShop\Common\Item\Base::toArray方法的典型用法代码示例。如果您正苦于以下问题:PHP Base::toArray方法的具体用法?PHP Base::toArray怎么用?PHP Base::toArray使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Aimeos\MShop\Common\Item\Base的用法示例。


在下文中一共展示了Base::toArray方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['job.label'] = $this->getLabel();
     $list['job.method'] = $this->getMethod();
     $list['job.parameter'] = $this->getParameter();
     $list['job.result'] = $this->getResult();
     $list['job.status'] = $this->getStatus();
     return $list;
 }
开发者ID:mvnp,项目名称:aimeos-core,代码行数:15,代码来源:Standard.php

示例2: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list[$this->prefix . 'parentid'] = $this->getParentId();
     $list[$this->prefix . 'typeid'] = $this->getTypeId();
     $list[$this->prefix . 'type'] = $this->getType();
     $list[$this->prefix . 'domain'] = $this->getDomain();
     $list[$this->prefix . 'refid'] = $this->getRefId();
     $list[$this->prefix . 'datestart'] = $this->getDateStart();
     $list[$this->prefix . 'dateend'] = $this->getDateEnd();
     $list[$this->prefix . 'config'] = $this->getConfig();
     $list[$this->prefix . 'position'] = $this->getPosition();
     $list[$this->prefix . 'status'] = $this->getStatus();
     return $list;
 }
开发者ID:boettner-it,项目名称:aimeos-core,代码行数:20,代码来源:Standard.php

示例3: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['product.stock.parentid'] = $this->getParentId();
     $list['product.stock.warehouseid'] = $this->getWarehouseId();
     $list['product.stock.stocklevel'] = $this->getStocklevel();
     $list['product.stock.dateback'] = $this->getDateBack();
     return $list;
 }
开发者ID:mvnp,项目名称:aimeos-core,代码行数:14,代码来源:Standard.php

示例4: toArray

 /**
  * Returns the item values as array.
  *
  * @return array Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['order.base.service.attribute.attrid'] = $this->getAttributeId();
     $list['order.base.service.attribute.parentid'] = $this->getParentId();
     $list['order.base.service.attribute.type'] = $this->getType();
     $list['order.base.service.attribute.name'] = $this->getName();
     $list['order.base.service.attribute.code'] = $this->getCode();
     $list['order.base.service.attribute.value'] = $this->getValue();
     return $list;
 }
开发者ID:mvnp,项目名称:aimeos-core,代码行数:16,代码来源:Standard.php

示例5: toArray

 /**
  * Returns the item values as array.
  *
  * @return array Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['customer.group.code'] = $this->getCode();
     $list['customer.group.label'] = $this->getLabel();
     return $list;
 }
开发者ID:aimeos,项目名称:aimeos-core,代码行数:12,代码来源:Standard.php

示例6: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['product.stock.warehouse.code'] = $this->getCode();
     $list['product.stock.warehouse.label'] = $this->getLabel();
     $list['product.stock.warehouse.status'] = $this->getStatus();
     return $list;
 }
开发者ID:andreasfernandez,项目名称:aimeos-core,代码行数:13,代码来源:Standard.php

示例7: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['plugin.type'] = $this->getType();
     $list['plugin.typeid'] = $this->getTypeId();
     $list['plugin.label'] = $this->getLabel();
     $list['plugin.provider'] = $this->getProvider();
     $list['plugin.config'] = $this->getConfig();
     $list['plugin.status'] = $this->getStatus();
     $list['plugin.position'] = $this->getPosition();
     return $list;
 }
开发者ID:huchunhui55,项目名称:aimeos-core,代码行数:17,代码来源:Standard.php

示例8: toArray

 /**
  * Returns the item values as array.
  *
  * @return array Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['locale.currency.id'] = $this->getId();
     $list['locale.currency.code'] = $this->getCode();
     $list['locale.currency.label'] = $this->getLabel();
     $list['locale.currency.status'] = $this->getStatus();
     return $list;
 }
开发者ID:aimeos,项目名称:aimeos-core,代码行数:14,代码来源:Standard.php

示例9: toArray

 /**
  * Returns the item values as array.
  *
  * @return array Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['log.facility'] = $this->getFacility();
     $list['log.timestamp'] = $this->getTimestamp();
     $list['log.priority'] = $this->getPriority();
     $list['log.message'] = $this->getMessage();
     $list['log.request'] = $this->getRequest();
     return $list;
 }
开发者ID:aimeos,项目名称:aimeos-core,代码行数:15,代码来源:Standard.php

示例10: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['locale.site.siteid'] = $this->getSiteId();
     $list['locale.site.code'] = $this->getCode();
     $list['locale.site.label'] = $this->getLabel();
     $list['locale.site.config'] = $this->getConfig();
     $list['locale.site.status'] = $this->getStatus();
     return $list;
 }
开发者ID:huchunhui55,项目名称:aimeos-core,代码行数:15,代码来源:Standard.php

示例11: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['coupon.code.count'] = $this->getCount();
     $list['coupon.code.code'] = $this->getCode();
     $list['coupon.code.parentid'] = $this->getParentId();
     $list['coupon.code.datestart'] = $this->getDateStart();
     $list['coupon.code.dateend'] = $this->getDateEnd();
     return $list;
 }
开发者ID:mvnp,项目名称:aimeos-core,代码行数:15,代码来源:Standard.php

示例12: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['order.base.coupon.baseid'] = $this->getBaseId();
     $list['order.base.coupon.productid'] = $this->getProductId();
     $list['order.base.coupon.code'] = $this->getCode();
     return $list;
 }
开发者ID:andreasfernandez,项目名称:aimeos-core,代码行数:13,代码来源:Standard.php

示例13: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['tag.typeid'] = $this->getTypeId();
     $list['tag.languageid'] = $this->getLanguageId();
     $list['tag.label'] = $this->getLabel();
     $list['tag.type'] = $this->getType();
     return $list;
 }
开发者ID:huchunhui55,项目名称:aimeos-core,代码行数:14,代码来源:Standard.php

示例14: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list['locale.siteid'] = $this->getSiteId();
     $list['locale.languageid'] = $this->getLanguageId();
     $list['locale.currencyid'] = $this->getCurrencyId();
     $list['locale.position'] = $this->getPosition();
     $list['locale.status'] = $this->getStatus();
     return $list;
 }
开发者ID:mvnp,项目名称:aimeos-core,代码行数:15,代码来源:Standard.php

示例15: toArray

 /**
  * Returns the item values as array.
  *
  * @return Associative list of item properties and their values
  */
 public function toArray()
 {
     $list = parent::toArray();
     $list[$this->prefix . 'salutation'] = $this->getSalutation();
     $list[$this->prefix . 'company'] = $this->getCompany();
     $list[$this->prefix . 'vatid'] = $this->getVatID();
     $list[$this->prefix . 'title'] = $this->getTitle();
     $list[$this->prefix . 'firstname'] = $this->getFirstname();
     $list[$this->prefix . 'lastname'] = $this->getLastname();
     $list[$this->prefix . 'address1'] = $this->getAddress1();
     $list[$this->prefix . 'address2'] = $this->getAddress2();
     $list[$this->prefix . 'address3'] = $this->getAddress3();
     $list[$this->prefix . 'postal'] = $this->getPostal();
     $list[$this->prefix . 'city'] = $this->getCity();
     $list[$this->prefix . 'state'] = $this->getState();
     $list[$this->prefix . 'countryid'] = $this->getCountryId();
     $list[$this->prefix . 'languageid'] = $this->getLanguageId();
     $list[$this->prefix . 'telephone'] = $this->getTelephone();
     $list[$this->prefix . 'telefax'] = $this->getTelefax();
     $list[$this->prefix . 'email'] = $this->getEmail();
     $list[$this->prefix . 'website'] = $this->getWebsite();
     $list[$this->prefix . 'flag'] = $this->getFlag();
     return $list;
 }
开发者ID:huchunhui55,项目名称:aimeos-core,代码行数:29,代码来源:Base.php


注:本文中的Aimeos\MShop\Common\Item\Base::toArray方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。