Yii Framework Forum: Can Namespace With '\' In It Has An Alias? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can Namespace With '\' In It Has An Alias?

#1 User is offline   Rick's 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 22
  • Joined: 18-October 13

Posted 22 November 2013 - 11:55 AM

i think it will be more user friendly.
;)
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,080
  • Joined: 17-January 09
  • Location:Russia

Posted 23 November 2013 - 04:51 PM

?
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#3 User is offline   yugene 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 515
  • Joined: 08-August 09

Posted 24 November 2013 - 01:46 AM

My guess is the question is about having something similar to array of aliases set at Laravel's /app/config/app.php file by default. But not sure :)
0

#4 User is offline   Rick's 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 22
  • Joined: 18-October 13

Posted 24 November 2013 - 09:40 AM

i mean:

use 'use helper_html_alias' instead of 'use yii\helpers\Html'
0

#5 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,080
  • Joined: 17-January 09
  • Location:Russia

Posted 24 November 2013 - 05:03 PM

No, we aren't going to introduce it.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#6 User is offline   Rick's 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 22
  • Joined: 18-October 13

Posted 25 November 2013 - 11:17 AM

thanks for answering. :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users