kohana
how to pass image size if using html::image()
how can i specify height and width of an image if i use html::image() in koahana 3. if i pass all attributes in an array it saysthat string expected instead of array ......please help[详细]
2023-03-27 21:20 分类:问答How to send custom status codes using Kohana 3?
I am trying to return custom status codes using Kohana 3.1开发者_如何学C, like so : $this->response->status(420);[详细]
2023-03-26 16:28 分类:问答Kohana 3.2 request->headers['Content-Type'] keeps failing
This won\'t work in Kohana 3开发者_Python百科.2 for some reason: $this->request->headers[\'Content-Type\'] = \'text/xml\';[详细]
2023-03-26 04:22 分类:问答How can i get id by using $this->uri->segment("parent_id") in kohana 3....
it gives error\"ErrorException [ Notice ]: Undefined property: Controller_Admin_Videocategory::$uri\" .[详细]
2023-03-25 20:51 分类:问答How to use BETWEEN clause in Kohana ORM
I am new to kohana. I am using ORM for getting data. I want to build a query in which BETWEEN clause is there. as following[详细]
2023-03-25 17:20 分类:问答Managing bootstrap.php in Kohana 3
We are currently using Kohana 3 for a staging application which is getting ready for production. We have few requirements to set custom routing and custom error codes. Most of the solutions offered in[详细]
2023-03-25 02:39 分类:问答Load a module and then controller by default in Kohana 2.3.4
Working in Kohana 2.3.4, I need to load a module when I go to example.com. In the routes.php file you can开发者_StackOverflow specify a default controller like:[详细]
2023-03-24 02:37 分类:问答Kohana, how to get the result of $query->execute()
$query = DB::query(Database::SELECT, \"select * from users where username like :username\") ; $query->param(\':username\', $username) ;[详细]
2023-03-23 22:36 分类:问答Is it better to use arrays instead of parameter lists when designing an api for an MVC application?
When writing a CRUD MVC application, would you s开发者_C百科uggest using arrays instead of long (even short) parameter lists when writing an api for your business layer (model)?[详细]
2023-03-22 20:41 分类:问答Kohana v3 database, how to get table structure?
How can I using KohanaPHP framework and database module get mysql table structure? I\'ve tried this: $query = DB::query(NULL, \'DESCRIB开发者_Go百科E table_name\');[详细]
2023-03-22 18:43 分类:问答