Subversion-Projekte lars-tiefland.ci

Revision

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

<?php

/**
 * @author Lars Tiefland
 * @copyright 2016
 */

class Alias_model extends CI_Model
{

        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"];
        }
}

?>