Class ilDatabaseCommonTestMockData.
More...
◆ getConcat()
ilDatabaseCommonTestMockData::getConcat |
( |
|
$allow_null = true | ) |
|
◆ getDBFields()
ilDatabaseCommonTestMockData::getDBFields |
( |
| ) |
|
◆ getInputArray()
ilDatabaseCommonTestMockData::getInputArray |
( |
|
$update_mob_id = false , |
|
|
|
$blob_null = true , |
|
|
|
$with_clob = true |
|
) |
| |
- Parameters
-
bool | $update_mob_id | |
bool | $blob_null | |
- Returns
- array
Definition at line 114 of file class.ilDatabaseCommonTestMockData.php.
121 'is_online' => array(
125 'is_default' => array(
133 'longitude' => array(
137 'elevation' => array(
143 'Farbweg 9, 3400 Burgdorf',
145 'init_mob_id' => array(
147 $update_mob_id ? $update_mob_id : 78,
149 'comment_mob_id' => array(
153 'container_id' => array(
159 $fields[
'big_data'] = array(
161 $blob_null ? null :
'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.',
◆ getInputArrayForTransaction()
ilDatabaseCommonTestMockData::getInputArrayForTransaction |
( |
| ) |
|
◆ getInsertQuery()
ilDatabaseCommonTestMockData::getInsertQuery |
( |
|
$table_name | ) |
|
|
abstract |
◆ getLike()
ilDatabaseCommonTestMockData::getLike |
( |
| ) |
|
◆ getLocate()
ilDatabaseCommonTestMockData::getLocate |
( |
| ) |
|
◆ getNow()
ilDatabaseCommonTestMockData::getNow |
( |
| ) |
|
◆ getTableCreateSQL()
ilDatabaseCommonTestMockData::getTableCreateSQL |
( |
|
$tablename, |
|
|
|
$engine |
|
) |
| |
- Returns
- mixed
Definition at line 203 of file class.ilDatabaseCommonTestMockData.php.
205 return "CREATE TABLE `" . $tablename .
"` ( 206 `id` int(11) NOT NULL, 207 `is_online` tinyint(4) DEFAULT NULL, 208 `is_default` tinyint(4) DEFAULT '1', 209 `latitude` double DEFAULT NULL, 210 `longitude` double DEFAULT NULL, 211 `elevation` double DEFAULT NULL, 212 `address` varchar(256) DEFAULT NULL, 213 `init_mob_id` int(11) DEFAULT NULL, 214 `comment_mob_id` int(11) DEFAULT NULL, 215 `container_id` int(11) DEFAULT NULL, 217 PRIMARY KEY (`id`)) ENGINE=$engine DEFAULT CHARSET=utf8";
◆ getTableCreateSQLAfterAlter()
ilDatabaseCommonTestMockData::getTableCreateSQLAfterAlter |
( |
|
$tablename, |
|
|
|
$engine, |
|
|
|
$supports_fulltext |
|
) |
| |
- Returns
- mixed
Definition at line 250 of file class.ilDatabaseCommonTestMockData.php.
253 if ($supports_fulltext) {
254 $add_idex =
", FULLTEXT KEY `i2_idx` (`address`)";
257 return "CREATE TABLE `" . $tablename .
"` ( 258 `id` int(11) NOT NULL, 259 `is_online` tinyint(4) DEFAULT NULL, 260 `is_default` tinyint(4) DEFAULT '1', 261 `latitude` double DEFAULT NULL, 262 `longitude` double DEFAULT NULL, 263 `elevation` double DEFAULT NULL, 264 `address` varchar(256) DEFAULT NULL, 265 `init_mob_id` int(11) DEFAULT NULL, 266 `comment_mob_id_altered` varchar(250) DEFAULT NULL, 267 `container_id` int(11) DEFAULT NULL, 269 PRIMARY KEY (`id`), KEY `i1_idx` (`init_mob_id`)$add_idex) ENGINE=$engine DEFAULT CHARSET=utf8";
◆ getTableCreateSQLAfterRename()
ilDatabaseCommonTestMockData::getTableCreateSQLAfterRename |
( |
|
$tablename, |
|
|
|
$engine, |
|
|
|
$supports_fulltext |
|
) |
| |
- Returns
- mixed
Definition at line 224 of file class.ilDatabaseCommonTestMockData.php.
227 if ($supports_fulltext) {
228 $add_idex =
", FULLTEXT KEY `i2_idx` (`address`)";
231 return "CREATE TABLE `" . $tablename .
"` ( 232 `id` int(11) NOT NULL, 233 `is_online` tinyint(4) DEFAULT NULL, 234 `is_default` tinyint(4) DEFAULT '1', 235 `latitude` double DEFAULT NULL, 236 `longitude` double DEFAULT NULL, 237 `elevation` double DEFAULT NULL, 238 `address` varchar(256) DEFAULT NULL, 239 `init_mob_id` int(11) DEFAULT NULL, 240 `comment_mob_id_altered` int(11) DEFAULT NULL, 241 `container_id` int(11) DEFAULT NULL, 243 PRIMARY KEY (`id`), KEY `i1_idx` (`init_mob_id`)$add_idex) ENGINE=$engine DEFAULT CHARSET=utf8";
The documentation for this class was generated from the following file: