Browse Source

Support default standard component class.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
0b4d47d951
  1. 3
      framework/base/Module.php

3
framework/base/Module.php

@ -531,6 +531,9 @@ abstract class Module extends Component
public function setComponents($components)
{
foreach ($components as $id => $component) {
if (isset($this->_components[$id]['class']) && !isset($component['class'])) {
$component['class'] = $this->_components[$id]['class'];
}
$this->_components[$id] = $component;
}
}

Loading…
Cancel
Save