maman Posted August 2, 2016 Share Posted August 2, 2016 Hello guys I was confused to what Yii::app()->name meant. I know that Yii::app() is calling the static function app() in the YiiBase class, but there is no property name in that same class, can someone explain? Link to comment Share on other sites More sharing options...
Brent Knigge Posted August 10, 2016 Share Posted August 10, 2016 Hi, There is a property called name in app. Here is a link to the documentation for $app property. http://www.yiiframework.com/doc-2.0/yii-web-application.html use a program like notepad++ that can recursively search sub-folders for Yii::$app->name and see what shows up. You'll get an idea of how it might be used. Hope that helps, Brent. Link to comment Share on other sites More sharing options...
Recommended Posts