コード例 #1
0
 /**
  * This method will be called by the parent Foundry_ComponentConfiguration
  *
  * @since	5.0
  * @access	public
  * @param	string
  * @return	
  */
 public function update()
 {
     // We need to call parent's update method first
     // because they will automatically check for
     // url overrides, e.g. es_env, es_mode.
     parent::update();
     if ($this->environment == 'static') {
         $this->scripts = array($this->section . '-' . $this->version . '.static');
     }
     if ($this->environment == 'optimized') {
         $this->scripts = array($this->section . '-' . $this->version . '.optimized');
     }
     if ($this->environment == 'development') {
         $this->scripts = array('easyblog');
     }
 }