bookmarks /app/controllers/home_controller.php

Language PHP Lines 10
MD5 Hash 518c34ecb235041929d7828e1199a89a
Repository https://github.com/hardsshah/bookmarks.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<?php
class HomeController extends AppController{
    var $name ='Home';
    var $uses = array('LinkCategory', 'Link');

    function index(){
        $this->set('linkCategories', $this->LinkCategory->find('list'));
        $this->set('links', $this->Link->find('all'));
    }
}
Back to Top