Subversion-Projekte lars-tiefland.cakephp

Revision

Revision 5 | Revision 11 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 5 Revision 9
Zeile 26... Zeile 26...
26
 
26
 
27
        function index()
27
        function index()
28
        {
28
        {
29
            $this->set( 'posts', $this->Post->find('all') );
29
            $this->set( 'posts', $this->Post->find('all') );
-
 
30
        }
-
 
31
        function view( $id = null )
-
 
32
        {
-
 
33
            $this->Post->id = $id;
-
 
34
            $this->set( 'post', $this->Post->read() );
30
        }
35
        }
Zeile 31... Zeile 36...
31
    }
36
    }
32
 
37