Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F443717
PhabricatorConfigColumnSchema.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorConfigColumnSchema.php
View Options
<?php
final
class
PhabricatorConfigColumnSchema
extends
PhabricatorConfigStorageSchema
{
private
$characterSet
;
private
$collation
;
private
$columnType
;
public
function
setColumnType
(
$column_type
)
{
$this
->
columnType
=
$column_type
;
return
$this
;
}
public
function
getColumnType
()
{
return
$this
->
columnType
;
}
protected
function
getSubschemata
()
{
return
array
();
}
public
function
setCollation
(
$collation
)
{
$this
->
collation
=
$collation
;
return
$this
;
}
public
function
getCollation
()
{
return
$this
->
collation
;
}
public
function
setCharacterSet
(
$character_set
)
{
$this
->
characterSet
=
$character_set
;
return
$this
;
}
public
function
getCharacterSet
()
{
return
$this
->
characterSet
;
}
public
function
compareToSimilarSchema
(
PhabricatorConfigStorageSchema
$expect
)
{
$issues
=
array
();
if
(
$this
->
getCharacterSet
()
!=
$expect
->
getCharacterSet
())
{
$issues
[]
=
self
::
ISSUE_CHARSET
;
}
if
(
$this
->
getCollation
()
!=
$expect
->
getCollation
())
{
$issues
[]
=
self
::
ISSUE_COLLATION
;
}
if
(
$this
->
getColumnType
()
!=
$expect
->
getColumnType
())
{
$issues
[]
=
self
::
ISSUE_COLUMNTYPE
;
}
return
$issues
;
}
public
function
newEmptyClone
()
{
$clone
=
clone
$this
;
return
$clone
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 11:01 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
64851
Default Alt Text
PhabricatorConfigColumnSchema.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment