-
Notifications
You must be signed in to change notification settings - Fork 0
/
MultiActiveRecord.php
97 lines (78 loc) · 1.71 KB
/
MultiActiveRecord.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?php
/**
* Created by PhpStorm.
* User: macseem
* Date: 1/29/15
* Time: 1:38 AM
*/
namespace jf;
use jf\interfaces\IActiveRecord;
class MultiActiveRecord implements IActiveRecord{
public function __construct()
{
// TODO: Implement __construct() method.
}
public function __get($name)
{
// TODO: Implement __get() method.
}
public function __set($name, $value)
{
// TODO: Implement __set() method.
}
public function findOne($conditions)
{
return $this;
// TODO: Implement findOne() method.
}
/**
* {@inheritdoc}
*/
public function findOneBy($column, $value)
{
return $this;
// TODO: Implement findBy() method.
}
public function save()
{
// TODO: Implement save() method.
}
public function fillFromRequest()
{
// TODO: Implement fillFromRequest() method.
}
public function getAttributes()
{
// TODO: Implement getAttributes() method.
}
public function getAttributeNames()
{
// TODO: Implement getAttributeNames() method.
}
public function isRequired($attribute)
{
// TODO: Implement isRequired() method.
}
public function getRequiredFields()
{
// TODO: Implement getRequiredFields() method.
}
public function getPrimaryKeys()
{
// TODO: Implement getPrimaryKeys() method.
}
public function getTable()
{
// TODO: Implement getTable() method.
}
/**
* @param $conditions
*
* @return static[]
*/
public function findAll($conditions)
{
return array();
// TODO: Implement findAll() method.
}
}