1 | <?php |
||
25 | abstract class tx_crawler_domain_lib_abstract_dbobject |
||
26 | { |
||
27 | |||
28 | /** |
||
29 | * @var array |
||
30 | */ |
||
31 | protected $row; |
||
32 | |||
33 | /** |
||
34 | * @var string table name |
||
35 | */ |
||
36 | protected static $tableName; |
||
37 | |||
38 | /** |
||
39 | * Constructor |
||
40 | * |
||
41 | * @param array $row optional array with propertys |
||
42 | */ |
||
43 | 1 | public function __construct($row = []) |
|
44 | { |
||
45 | 1 | $this->row = $row; |
|
46 | 1 | } |
|
47 | |||
48 | /** |
||
49 | * Get table name |
||
50 | * |
||
51 | * @param void |
||
52 | * @return string table name |
||
53 | */ |
||
54 | public static function getTableName() |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * Returns the propertys of the object as array |
||
61 | * |
||
62 | * @return array |
||
63 | */ |
||
64 | public function getRow() |
||
67 | } |
||
68 | } |
||
69 |