Finished Html helper.

This commit is contained in:
Qiang Xue
2013-03-10 22:00:26 -04:00
parent d2fcc69b34
commit 30d70be071
8 changed files with 712 additions and 854 deletions

View File

@@ -381,6 +381,15 @@ class Application extends Module
return $this->getComponent('viewRenderer');
}
/**
* Returns the URL manager for this application.
* @return \yii\web\UrlManager the URL manager for this application.
*/
public function getUrlManager()
{
return $this->getComponent('urlManager');
}
/**
* Returns the internationalization (i18n) component
* @return \yii\i18n\I18N the internationalization component
@@ -411,8 +420,8 @@ class Application extends Module
'i18n' => array(
'class' => 'yii\i18n\I18N',
),
'securityManager' => array(
'class' => 'yii\base\SecurityManager',
'urlManager' => array(
'class' => 'yii\web\UrlManager',
),
));
}