-
Notifications
You must be signed in to change notification settings - Fork 2
/
Aliases.php
58 lines (53 loc) · 1.25 KB
/
Aliases.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php defined('SYSPATH') or die('No direct script access.');
class Model_DB_Aliases extends Kohana_Model_DB_Aliases
{
/**
* Insert a new one alias to database
*
* @param string $uri
* @param string $hash binary hash for route
* @param integer $type
* @param integer $id
* @param integer $dt_create
* @param int $deprecated
*
* @return object
*/
public static function insert($uri, $hash, $type, $id, $dt_create, $deprecated = 0)
{
return parent::insert($uri, $hash, $type, $id, $dt_create, $deprecated = 0);
}
/**
* Find route in database
*
* @param string $hash binary hash for route
*
* @return object
*/
public static function select($hash)
{
return parent::select($hash);
}
/**
* Set route as deprecated
*
* @param string $hash binary hash for route
*
* @return object
*/
public static function update($hash)
{
return parent::update($hash);
}
/**
* Delete route from database
*
* @param string $hash binary hash for route
*
* @return object
*/
public static function delete($hash)
{
return parent::delete($hash);
}
}