maman 0 Posted August 2, 2016 Report 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? Quote Link to post Share on other sites
Brent Knigge 2 Posted August 10, 2016 Report 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.