Revision 519 | Revision 528 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
<?php/*** @author Lars Tiefland* @copyright 2016*//*** Alias_model** gekürzte URLs für Artikel, Kategorien etc.** @package WebanOS CI* @author Lars Tiefland* @copyright 2016* @version $Id$* @access public*/class Alias_model extends CI_Model{/*** Alias_model::get_link()** @param mixed $id* @param integer $type* @return*/public function get_link($id,$type=1){$res = $this->db->get_where('alias', array('id' => $id,"type_id" => $type,));$row = $res->row_array();return $row["alias"];}}?>