helpers
cakePHP: Can you query the database from a helper class?
Hi just need to know whether you can query开发者_Python百科 the database from inside a helper class, whether you should and how you do it.[详细]
2023-01-22 08:05 分类:问答cakePHP: I need to include a helper for when there is an error
I have made a helper class called Navigation that gets used on every page because it does stuff to my main navigation menu. So in order for this to work I have included the helper in my pages controll[详细]
2023-01-21 19:24 分类:问答Zend Framework Widget Tutorial question
I try to follow this tutorial, but I can\'t get it to work: http://weierophinney.net/matthew/archives/246-Using-Action-Helpers-To-Implement-Re-Usable-Widgets.html[详细]
2023-01-21 17:43 分类:问答In older versions of Rails, what are the methods to say, controller <--> view sharing methods?
I think in newer versions of Rails, there are ways 开发者_开发百科to say, \"share these methods between controllers and views\" using something like[详细]
2023-01-20 21:31 分类:问答Reflective helper java libraries
There are some开发者_如何学Python Java libraries that do stuff you would otherwise have to put in every single class. For example, I had to put a clone() method in every single class until I discovere[详细]
2023-01-19 16:29 分类:问答AssetTagHelper::image_path outside views
Supposedly, ActionController::Base.helpers acts like a proxy for accessing helpers outside views. However many of the methods defined there rely on controller variables and I\'m unable to succesfully[详细]
2023-01-17 23:13 分类:问答Codeigniter request control class
i\'m trying to do myself a good simple request control library. this is my code: class CI_Request { public function isAjax()[详细]
2023-01-14 17:42 分类:问答Can anyone provide a straight forward example to extend the Html.TextBoxFor helper
I\'m hoping that someone can provide a simple, straight forward example of extending the Html.TextBoxFor helper. I would like to include a boolean ReadOnly parameter which will (surp开发者_如何学编程r[详细]
2023-01-14 15:55 分类:问答Custom Helper using the model
I\'m pretty new to MVC and just read an article about helpers. Now I have this code on the View: <div class=\"display-label\">Ingredients:[详细]
2023-01-14 04:50 分类:问答CakePHP - TinyMceHelper helper error: Method TinyMceHelper::__name does not exist
So I\'m wanting to implement the TinyMce helper. I\'ve followed instructions from the cakephp bakery but am still getting a error.[详细]
2023-01-12 23:47 分类:问答