Subversion-Projekte lars-tiefland.cakephp

Revision

Revision 11 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

    //$Id$

    /**
     * @author Lars Tiefland <tiefland@weban.de>
     * @copyright 2009 Webagentur Niewerth
     * @package Cakephp
     * @version $Rev$
     * @license propietary
     * @filesource
     * 
     */

    /**
     * 
     * @author Lars Tiefland <tiefland@weban.de>
     * @copyright 2009 Webagentur Niewerth
     * @package Cakephp
     */

    class PostsController extends AppController
    {

        var $name = 'Posts';

        function index()
        {
            $this->set( 'posts', $this->Post->find('all') );
        }
    }

?>