Izartu  0.0 Initial release
Web bookmark manager based on tags.
 All Data Structures Files Functions Variables Enumerations
ShowData.php
Go to the documentation of this file.
00001 <?php
00002 #  Izartu
00003 #
00004 #  Copyright © 2011-2012 Javier Beaumont <contact@javierbeaumont.org>
00005 #
00006 #  This file is part of Izartu.
00007 #
00008 #  Izartu is free software: you can redistribute it and/or modify
00009 #  it under the terms of the GNU Affero General Public License as
00010 #  published by the Free Software Foundation, either version 3 of the
00011 #  License, or (at your option) any later version.
00012 #
00013 #  Izartu is distributed in the hope that it will be useful,
00014 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016 #  GNU Affero General Public License for more details.
00017 #
00018 #  You should have received a copy of the GNU Affero General Public License
00019 #  along with Izartu. If not, see <http://www.gnu.org/licenses/>.
00020 
00026 final class ShowData extends Data {
00027     use Tag;
00028 
00034   final public function listOrderByDate($edit = TRUE) {
00035     $table = $this->orderDataByDate();
00036     foreach ($table as $data) {
00037       $list = $this->getTags($data['id']);
00038       $tag = FALSE;
00039       foreach ($list as $value) {
00040         $tag .= $value['name'].', ';
00041       }
00042       echo '
00043         <div id="list">';
00044       include PRI_DIR.'template/contentlist.php';
00045       echo '
00046         </div>';
00047     }
00048   }
00049 
00050 }
 All Data Structures Files Functions Variables Enumerations