I failed to load a model from my controller This is the controller file, article.php: <?php class Article extends CI_Controller {
exist any way to have in my own function in model the request.request_uri? Now 开发者_C百科I have in model called Func.rb this:
//My controller section <?php class Myadmin extends CI_Controller { public function _construct() { parent::_construct();
I want to make a form for submitting the info needed to create an instance of model X and save it to the database, but I have a slight problem: I know how to add form fields like text areas and what n
I\'m currently working with EF4 and asp.net mvc 3 and I\'m certainly having some trouble working through the different types of models that are possible when you bring these technologies together.
how is it possible t开发者_如何学JAVAo retrieve data from TextBoxFor helper within a foreach loop? I mean:
I have two models, one named Order and the other named Member. In my Order model I have: has_many :members, :dependent => :destroy
I have already created a model that processes user names and password , but no database.How can I go backwards (without using scaffold) and essentially say \"put all these users and passowords into a
For model methods that return models or collections of model开发者_StackOverflow社区s, should these methods return only models of type corresponding to the class they live in?
I just started developing my new project in Yii, I开发者_如何学JAVA am new to Yii as well as to frameworks ans MVC structure.