Kohana Models - Can I use subfolder to organize?

You sure can with Kohana 3: I have a file item. Php inside application/classes/model which holds the class Model_Item If you want to go deeper, you just have to add the directory names in the classname: The file item. Php inside application/classes/model/super/folder which holds the class Model_Super_Folder_Item An easy way to be able to keep you from typing the whole class-name is by extending the class with a big name: item.

Php inside application/classes/model which holds the class Model_Item which extends Model_Super\Folder_Item I'm not sure if this is possible with Kohana 2.x. I went straight to using Kohana3 and skipped 2. X (almost) completely.

You sure can with Kohana 3: I have a file 'item. Php' inside 'application/classes/model' which holds the class 'Model_Item'. If you want to go deeper, you just have to add the directory names in the classname: The file 'item.

Php' inside 'application/classes/model/super/folder' which holds the class 'Model_Super_Folder_Item'. An easy way to be able to keep you from typing the whole class-name is by extending the class with a big name: 'item. Php' inside 'application/classes/model' which holds the class 'Model_Item' which extends 'Model_Super\Folder_Item'.

I'm not sure if this is possible with Kohana 2.x. I went straight to using Kohana3 and skipped 2. X (almost) completely.

I'm not sure if this is possible with Kohana 2.x. I went straight to using Kohana3 and skipped 2. X (almost) completely.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions