CWIS Developer Documentation
|
Public Member Functions | |
NSpace ($NewValue=DB_NOVALUE) | |
Get or set the qualifier namespace. More... | |
Url ($NewValue=DB_NOVALUE) | |
Get or set the qualifier URL. More... | |
![]() | |
__construct ($Id) | |
Constructor, used to load existing items. More... | |
Destroy () | |
Destroy item. More... | |
Delete () | |
Destroy item. More... | |
Id () | |
Get item ID. More... | |
Name ($NewValue=DB_NOVALUE) | |
Get/set name of item. More... | |
DateCreated ($NewValue=DB_NOVALUE) | |
Get/set when item was created. More... | |
CreatedBy ($NewValue=DB_NOVALUE) | |
Get/set ID of user who created the item. More... | |
DateLastModified ($NewValue=DB_NOVALUE) | |
Get/set when item was last modified. More... | |
LastModifiedBy ($NewValue=DB_NOVALUE) | |
Get/set ID of user who last modified the item. More... | |
Static Public Member Functions | |
static | Create () |
Initialize a new qualifier. More... | |
![]() | |
static | GetCanonicalId ($Id) |
Normalize item ID to canonical form. More... | |
static | ItemExists ($Id) |
Check whether an item exists with the specified ID. More... | |
Additional Inherited Members | |
![]() | |
const | NO_ITEM = -2123456789 |
ID value used to indicate no item. More... | |
![]() | |
UpdateValue ($ColumnName, $NewValue=DB_NOVALUE) | |
Convenience function to supply parameters to Database::UpdateValue(). More... | |
UpdateDateValue ($ColumnName, $NewValue=DB_NOVALUE) | |
Convenience function to supply parameters to Database::UpdateValue(), with preprocessing of new values to convert them into an SQL-compatible date format. More... | |
![]() | |
static | CreateWithValues ($Values) |
Create a new item, using specified initial database values. More... | |
static | SetDatabaseAccessValues ($ClassName) |
Set the database access values (table name, ID column name, name column name) for specified class. More... | |
![]() | |
$DB | |
$Id | |
$ItemIdColumnName | |
$ItemNameColumnName | |
$ItemTableName | |
$ValueCache = array() | |
![]() | |
static | $ItemIdColumnNames |
static | $ItemNameColumnNames |
static | $ItemTableNames |
Definition at line 10 of file Qualifier.php.
|
static |
Initialize a new qualifier.
Definition at line 19 of file Qualifier.php.
References Item\$DB, and Item\$Id.
Referenced by MetadataField\LoadVocabulary(), ControlledName_Test\testControlledName(), and Qualifier_Test\testQualifier().
Qualifier::NSpace | ( | $NewValue = DB_NOVALUE | ) |
Get or set the qualifier namespace.
string | $NewValue | Optional new qualfier namespace. |
Definition at line 45 of file Qualifier.php.
References Item\UpdateValue().
Qualifier::Url | ( | $NewValue = DB_NOVALUE | ) |
Get or set the qualifier URL.
string | $NewValue | Optional new qualifier URL. |
Definition at line 55 of file Qualifier.php.
References Item\UpdateValue().