<?php

class AddsController extends AppController {

        var $name = 'Adds';
    var $view = 'Theme';
    var $theme = 'wf';


        function admin_apps() {
                $this->add_subNavigation();
                $this->set('adds', $this->Add->find('all'));
        }

        function admin_widgets() {
        }

        function admin_plugins() {
        }

        function admin_add_apps() {
                $this->add_subNavigation();
        }

        function admin_add_widgets() {

        }

        function admin_add_plugins() {

        }

        private function add_subNavigation() {
                        $this->set('ui_navilist',
                                array(
                                        'List Apps'=>array(
                                                'controller'=>'adds',
                                                'action'=>'apps'
                                        ),
                                        'Add Apps'=>array(
                                                'controller'=>'adds',
                                                'action'=>'add_apps'
                                        )
                                )
                        );
        }

}

?>


2010/6/19 John Andersen <[email protected]>

> Please show you Add model code! How is the class defined?
> Enjoy,
>   John
>
> On Jun 19, 6:07 am, Davor Ilic <[email protected]> wrote:
> > Do anybody know why this issue is showing???
> >
> > what i´ve done is only to add in my method :
> >
> > $this->set('adds', $this->Add->find('all'));
> >
> > i also have a model which name is add.php
> >
> > i also use find in other methods but this is is return headache only [?]
> >
> >  33C.gif
> > < 1KViewDownload
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to