| 1 | <?php |
||
| 7 | class Foreign extends Definition\Item { |
||
| 8 | |||
| 9 | protected $table = '', $field = '', $delete = null, $update = null; |
||
| 10 | |||
| 11 | # Get action |
||
| 12 | |||
| 13 | private function getAction(string $value) { |
||
| 19 | |||
| 20 | # Constructor |
||
| 21 | |||
| 22 | public function __construct(string $name, string $table, string $field, string $delete = null, string $update = null) { |
||
| 30 | |||
| 31 | # Get statement |
||
| 32 | |||
| 33 | public function statement() { |
||
| 41 | } |
||
| 42 | } |
||
| 43 |