コード例 #1
0
ファイル: Typo3.php プロジェクト: nos3/ai-typo3
 /**
  * Initializes a new customer manager object using the given context object.
  *
  * @param MShop_Context_Interface $context Context object with required objects
  */
 public function __construct(MShop_Context_Item_Interface $context)
 {
     parent::__construct($context);
     $plugin = new MW_Common_Criteria_Plugin_T3Salutation();
     $this->_plugins['customer.salutation'] = $this->_reverse['gender'] = $plugin;
     $plugin = new MW_Common_Criteria_Plugin_T3Status();
     $this->_plugins['customer.status'] = $this->_reverse['disable'] = $plugin;
     $plugin = new MW_Common_Criteria_Plugin_T3Date();
     $this->_plugins['customer.birthday'] = $this->_reverse['date_of_birth'] = $plugin;
     $plugin = new MW_Common_Criteria_Plugin_T3Datetime();
     $this->_plugins['customer.ctime'] = $this->_reverse['crdate'] = $plugin;
     $this->_plugins['customer.mtime'] = $this->_reverse['tstamp'] = $plugin;
     $this->_pid = $context->getConfig()->get('mshop/customer/manager/typo3/pid-default', 0);
 }