odel() 2) this->model = &
> new model() in your component::startup. Then you can access
>
> all methods of model and the DB into the component (ie : $this->model-
>
> >findAll() ... etc .. )
>
> A good example for this (no model though) is the pagination component
&
Si alguno conoce el componente memcache probablemente me pueda ayudar.
El error que obtengo es el siguiente:
Fatal error: Call to a member function get() on a non-object in /var/
www/sn_bra_13_07_07-clean/app/views/helpers/memcache.php on line 31...
El codigo de mi script esta en: http://bin.cake
I'm trying to create a calendar component, i have a
calendars_controller.php it works well but I want it to make re-usable
for layouts. How can i do this ?
how can i use the controller methods in a component ?
summary: i want to convert a controller and view to a component and
helper
note: the c
I have two models:
class Venta extends AppModel {
var $name = 'Venta';
var $hasMany = array (
'Articulo' => array (
'className' => 'Articulo',
'conditions' => '',
'order' => '',