Esempio n. 1
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_LIST]->setValue('catalog');
     $this->widgetParams[self::PARAM_TITLE]->setValue(static::t('Catalog'));
     $this->widgetParams[self::PARAM_TARGET]->setValue('product_list');
 }
Esempio n. 2
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_LIST]->setValue('users');
     $this->widgetParams[self::PARAM_TITLE]->setValue(static::t('Users'));
     $this->widgetParams[self::PARAM_TARGET]->setValue('profile_list');
 }
Esempio n. 3
0
File: Home.php Progetto: kingsj/core
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_TITLE]->setValue('<img src="images/spacer.gif" alt="" width="17" height="15" />');
     $this->widgetParams[self::PARAM_TARGET]->setValue(\XLite::TARGET_DEFAULT);
     $this->widgetParams[self::PARAM_CLASS]->setValue('home');
 }
Esempio n. 4
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_LIST]->setValue('sales');
     $this->widgetParams[self::PARAM_TITLE]->setValue(static::t('Sales'));
     $this->widgetParams[self::PARAM_TARGET]->setValue('recent_orders');
 }
Esempio n. 5
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[static::PARAM_LIST]->setValue('content');
     $this->widgetParams[static::PARAM_CLASS]->setValue('hl');
     $this->widgetParams[static::PARAM_TITLE]->setValue(static::t('Content'));
     $this->widgetParams[static::PARAM_TARGET]->setValue(\XLite\Core\Auth::getInstance()->isPermissionAllowed('manage custom pages') ? 'pages' : 'menus');
 }
Esempio n. 6
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[static::PARAM_TITLE]->setValue(static::t('Menus'));
     $this->widgetParams[static::PARAM_TARGET]->setValue('menus');
 }
Esempio n. 7
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[static::PARAM_TITLE]->setValue('Promotions');
     $this->widgetParams[static::PARAM_TARGET]->setValue('promotions');
 }