25 return " UPPER(column) LIKE(UPPER('22'))";
34 return " LOCATE( needle,mystring,5) ";
44 return " CONCAT(COALESCE(o,''),COALESCE(t,''),COALESCE(t,'')) ";
46 return " CONCAT(o,t,t) ";
67 'is_default' =>
array(
87 'init_mob_id' =>
array(
92 'comment_mob_id' =>
array(
96 'container_id' =>
array(
114 public function getInputArray($update_mob_id =
false, $blob_null =
true, $with_clob =
true)
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.',
179 'is_online' =>
array(
183 'is_default' =>
array(
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";
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";
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";
getInsertQuery($table_name)
getTableCreateSQLAfterAlter($tablename, $engine, $supports_fulltext)
getTableCreateSQL($tablename, $engine)
getInputArray($update_mob_id=false, $blob_null=true, $with_clob=true)
getInputArrayForTransaction()
Create styles array
The data for the language used.
Class ilDatabaseCommonTestMockData.
getConcat($allow_null=true)
getTableCreateSQLAfterRename($tablename, $engine, $supports_fulltext)