Class Migration
- MigrationBase
- Migration
Version:
$Revision$
Modifiedby: $LastChangedBy$
Lastmodified:
Located at vendors/shells/migration-r1200.php
Modifiedby: $LastChangedBy$
Lastmodified:
$LastChangedDate$
$Id$
Located at vendors/shells/migration-r1200.php
Methods summary
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
Methods inherited from MigrationBase
close()
,
copyTable()
,
createExportFromArray()
,
createInsert()
,
setFile()
,
setModel()
,
write()
Properties summary
public
array
|
$methodsQueries
|
#
array(
"documents" => "select ob.*, cb.*, c.*, bd.*, d.*
from objects ob, content_bases cb, contents c, base_documents bd, documents d
where cb.id=ob.id AND c.id=ob.id
AND bd.id=ob.id AND d.id=ob.id
AND ob.object_type_id=22",
"shortNews" => "select ob.*, cb.*, s.* from objects ob, content_bases cb, short_news s
where cb.id=ob.id AND s.id=ob.id AND ob.object_type_id=18",
"objectRelations" => "select cbo.* from content_bases_objects cbo",
"categories" => "select oc.* from object_categories oc",
"contentObjectCategories" => "select cboc.* from content_bases_object_categories cboc",
"areas" => "select ob.*, co.*, a.* from objects ob, collections co, areas a
where co.id=ob.id AND a.id=ob.id AND ob.object_type_id=1",
"sections" => "select ob.*, co.* from objects ob, collections co
where co.id=ob.id AND ob.object_type_id=3",
"images" => "select ob.*, cb.*, st.*, im.* from objects ob, content_bases cb, streams st, images im
where cb.id=ob.id AND st.id=ob.id AND im.id=ob.id AND ob.object_type_id=12",
"videos" => "select ob.*, cb.*, st.*, v.* from objects ob, content_bases cb, streams st, video v
where cb.id=ob.id AND st.id=ob.id AND v.id=ob.id AND ob.object_type_id=32",
"files" => "select ob.*, cb.*, st.*, f.* from objects ob, content_bases cb, streams st, files f
where cb.id=ob.id AND st.id=ob.id AND f.id=ob.id AND ob.object_type_id=10",
"copy" => "event_logs groups groups_users lang_texts modules object_types permissions permission_modules question_types search_texts trees users"
)
|