Yii Framework Forum: How To Use Extenstions - Yii Framework Forum

Jump to content

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

How To Use Extenstions Rate Topic: -----

#1 User is offline   perks 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 22
  • Joined: 06-September 12

Posted 27 April 2013 - 04:47 AM

Can some please help me to understand that how extensions work in yii and how to use them
I want to make my own extensions at local machine so that i can support to Yii latter
0

#2 User is offline   Shahcheraghean 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 478
  • Joined: 12-December 12
  • Location:Mashhad, IRAN

Posted 27 April 2013 - 06:12 AM

As i found out it, you should make php file which contain your extension class in and name and put it in the /protected/extensions/ folder and in the config/main.com import it.
just this...::)
you can see some extensions and their importing from yiiframework.com/extension.
www.shgn.ir
www.shgn.ir/yii-framework/
yii2.swsco.ir
In a world without any fences or walls,Who needs Gates or Windows!
0

#3 User is offline   perks 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 22
  • Joined: 06-September 12

Posted 01 May 2013 - 01:54 AM

View PostShahcheraghean, on 27 April 2013 - 06:12 AM, said:

As i found out it, you should make php file which contain your extension class in and name and put it in the /protected/extensions/ folder and in the config/main.com import it.
just this...::)
you can see some extensions and their importing from yiiframework.com/extension.


Thanks for your reply i got the idea behind extensions i think these just work like object of classes whenever we need we should create object and then use it .
any other idea would be appreciated.
0

#4 User is offline   Shahcheraghean 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 478
  • Joined: 12-December 12
  • Location:Mashhad, IRAN

Posted 02 May 2013 - 02:21 AM

That's ok. but That object is just as an extera object which help you to optimize, faster or ... for your application by framework.
and maybe some features that framework do not provide for your application.
www.shgn.ir
www.shgn.ir/yii-framework/
yii2.swsco.ir
In a world without any fences or walls,Who needs Gates or Windows!
1

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