Exemple #1
0
	protected function registerCoreComponents(){
		parent::registerCoreComponents();

		$components = array(
			'image'=>array(
				'class'=>'eyii.extensions.image.CImageComponent',
				'driver'=>'GD'
			),
		);

		$this->setComponents(EYii::arrayCoreComponents('console'));
	}
 /**
  * Registers the core application components.
  * This method overrides the parent implementation by registering additional core components.
  * @see setComponents
  */
 protected function registerCoreComponents()
 {
     parent::registerCoreComponents();
     $components = array('widgetFactory' => array('class' => 'CWidgetFactory'), 'themeManager' => array('class' => 'CThemeManager'));
     $this->setComponents($components);
 }
 protected function registerCoreComponents()
 {
     parent::registerCoreComponents();
     $components = array('session' => array('class' => 'CHttpSession'), 'themeManager' => array('class' => 'CThemeManager'));
     $this->setComponents($components);
 }
 /**
  * {@inheritDoc}
  * @see CApplication::registerCoreComponents()
  */
 protected function registerCoreComponents()
 {
     parent::registerCoreComponents();
     $components = array('console' => array('class' => 'CConsole'));
     $this->setComponents($components);
 }
 protected function registerCoreComponents()
 {
     parent::registerCoreComponents();
     $components = array('user' => array('class' => 'ConsoleUser'), 'themeManager' => array('class' => 'CThemeManager'));
     $this->setComponents($components);
 }