ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (ilDBInterface $db, InternalDataService $factory) | |
addCharacteristic (int $style_id, string $type, string $char, bool $hidden=false, int $order_nr=0, bool $outdated=false) | |
exists (int $style_id, string $type, string $char) | |
getByKey (int $style_id, string $type, string $characteristic) | |
getByType (int $style_id, string $type) | |
getByTypes (int $style_id, array $types, bool $include_hidden=true, bool $include_outdated=true) | |
getBySuperType (int $style_id, string $super_type) | |
Get characteristics by supertype. More... | |
saveTitles (int $style_id, string $type, string $characteristic, array $titles) | |
Save titles for characteristic. More... | |
addTitle (int $style_id, string $type, string $characteristic, string $lang, string $title) | |
cloneAllFromStyle (int $from_style_id, int $to_style_id) | |
saveHidden (int $style_id, string $type, string $characteristic, bool $hide) | |
Save characteristic hidden status. More... | |
saveOutdated (int $style_id, string $type, string $characteristic, bool $outdated) | |
Save characteristic outdated status. More... | |
isOutdated (int $style_id, string $type, string $characteristic) | |
saveOrderNr (int $style_id, string $type, string $characteristic, int $order_nr) | |
deleteCharacteristic (int $style_id, string $type, string $tag, string $class) | |
replaceParameter (int $style_id, string $a_tag, string $a_class, string $a_par, string $a_val, string $a_type, int $a_mq_id=0, bool $a_custom=false) | |
deleteParameter (int $style_id, string $tag, string $class, string $par, string $type, int $mq_id=0, bool $custom=false) | |
updateColorName (int $style_id, string $old_name, string $new_name) | |
Protected Attributes | |
ilDBInterface | $db |
InternalDataService | $factory |
Definition at line 29 of file class.CharacteristicDBRepo.php.
ILIAS\Style\Content\CharacteristicDBRepo::__construct | ( | ilDBInterface | $db, |
InternalDataService | $factory | ||
) |
Definition at line 34 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, and ILIAS\Style\Content\CharacteristicDBRepo\$factory.
ILIAS\Style\Content\CharacteristicDBRepo::addCharacteristic | ( | int | $style_id, |
string | $type, | ||
string | $char, | ||
bool | $hidden = false , |
||
int | $order_nr = 0 , |
||
bool | $outdated = false |
||
) |
Definition at line 42 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, and ilDBInterface\insert().
ILIAS\Style\Content\CharacteristicDBRepo::addTitle | ( | int | $style_id, |
string | $type, | ||
string | $characteristic, | ||
string | $lang, | ||
string | $title | ||
) |
Definition at line 220 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, and ilDBInterface\insert().
Referenced by ILIAS\Style\Content\CharacteristicDBRepo\saveTitles().
ILIAS\Style\Content\CharacteristicDBRepo::cloneAllFromStyle | ( | int | $from_style_id, |
int | $to_style_id | ||
) |
Definition at line 239 of file class.CharacteristicDBRepo.php.
ILIAS\Style\Content\CharacteristicDBRepo::deleteCharacteristic | ( | int | $style_id, |
string | $type, | ||
string | $tag, | ||
string | $class | ||
) |
Definition at line 361 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, and ilDBInterface\manipulateF().
ILIAS\Style\Content\CharacteristicDBRepo::deleteParameter | ( | int | $style_id, |
string | $tag, | ||
string | $class, | ||
string | $par, | ||
string | $type, | ||
int | $mq_id = 0 , |
||
bool | $custom = false |
||
) |
Definition at line 440 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, ilDBInterface\equals(), ilDBInterface\manipulate(), and ilDBInterface\quote().
ILIAS\Style\Content\CharacteristicDBRepo::exists | ( | int | $style_id, |
string | $type, | ||
string | $char | ||
) |
Definition at line 62 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
ILIAS\Style\Content\CharacteristicDBRepo::getByKey | ( | int | $style_id, |
string | $type, | ||
string | $characteristic | ||
) |
Definition at line 81 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
ILIAS\Style\Content\CharacteristicDBRepo::getBySuperType | ( | int | $style_id, |
string | $super_type | ||
) |
Get characteristics by supertype.
Definition at line 177 of file class.CharacteristicDBRepo.php.
References ilObjStyleSheet\_getStyleSuperTypes(), and ILIAS\Style\Content\CharacteristicDBRepo\getByTypes().
ILIAS\Style\Content\CharacteristicDBRepo::getByType | ( | int | $style_id, |
string | $type | ||
) |
Definition at line 118 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\getByTypes().
ILIAS\Style\Content\CharacteristicDBRepo::getByTypes | ( | int | $style_id, |
array | $types, | ||
bool | $include_hidden = true , |
||
bool | $include_outdated = true |
||
) |
Definition at line 128 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, ilDBInterface\fetchAssoc(), ilDBInterface\in(), and ilDBInterface\queryF().
Referenced by ILIAS\Style\Content\CharacteristicDBRepo\getBySuperType(), and ILIAS\Style\Content\CharacteristicDBRepo\getByType().
ILIAS\Style\Content\CharacteristicDBRepo::isOutdated | ( | int | $style_id, |
string | $type, | ||
string | $characteristic | ||
) |
Definition at line 322 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
ILIAS\Style\Content\CharacteristicDBRepo::replaceParameter | ( | int | $style_id, |
string | $a_tag, | ||
string | $a_class, | ||
string | $a_par, | ||
string | $a_val, | ||
string | $a_type, | ||
int | $a_mq_id = 0 , |
||
bool | $a_custom = false |
||
) |
Definition at line 388 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, $id, ilDBInterface\insert(), ilDBInterface\nextId(), ilDBInterface\queryF(), and ilDBInterface\update().
Referenced by ILIAS\Style\Content\CharacteristicDBRepo\updateColorName().
ILIAS\Style\Content\CharacteristicDBRepo::saveHidden | ( | int | $style_id, |
string | $type, | ||
string | $characteristic, | ||
bool | $hide | ||
) |
Save characteristic hidden status.
Definition at line 277 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, and ilDBInterface\update().
ILIAS\Style\Content\CharacteristicDBRepo::saveOrderNr | ( | int | $style_id, |
string | $type, | ||
string | $characteristic, | ||
int | $order_nr | ||
) |
Definition at line 340 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, and ilDBInterface\update().
ILIAS\Style\Content\CharacteristicDBRepo::saveOutdated | ( | int | $style_id, |
string | $type, | ||
string | $characteristic, | ||
bool | $outdated | ||
) |
Save characteristic outdated status.
Definition at line 301 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, and ilDBInterface\update().
ILIAS\Style\Content\CharacteristicDBRepo::saveTitles | ( | int | $style_id, |
string | $type, | ||
string | $characteristic, | ||
array | $titles | ||
) |
Save titles for characteristic.
Definition at line 194 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, ILIAS\Style\Content\CharacteristicDBRepo\addTitle(), and ilDBInterface\manipulateF().
ILIAS\Style\Content\CharacteristicDBRepo::updateColorName | ( | int | $style_id, |
string | $old_name, | ||
string | $new_name | ||
) |
Definition at line 463 of file class.CharacteristicDBRepo.php.
References ILIAS\Style\Content\CharacteristicDBRepo\$db, ilDBInterface\fetchAssoc(), ilDBInterface\in(), ilDBInterface\queryF(), and ILIAS\Style\Content\CharacteristicDBRepo\replaceParameter().
|
protected |
Definition at line 31 of file class.CharacteristicDBRepo.php.
Referenced by ILIAS\Style\Content\CharacteristicDBRepo\__construct(), ILIAS\Style\Content\CharacteristicDBRepo\addCharacteristic(), ILIAS\Style\Content\CharacteristicDBRepo\addTitle(), ILIAS\Style\Content\CharacteristicDBRepo\deleteCharacteristic(), ILIAS\Style\Content\CharacteristicDBRepo\deleteParameter(), ILIAS\Style\Content\CharacteristicDBRepo\exists(), ILIAS\Style\Content\CharacteristicDBRepo\getByKey(), ILIAS\Style\Content\CharacteristicDBRepo\getByTypes(), ILIAS\Style\Content\CharacteristicDBRepo\isOutdated(), ILIAS\Style\Content\CharacteristicDBRepo\replaceParameter(), ILIAS\Style\Content\CharacteristicDBRepo\saveHidden(), ILIAS\Style\Content\CharacteristicDBRepo\saveOrderNr(), ILIAS\Style\Content\CharacteristicDBRepo\saveOutdated(), ILIAS\Style\Content\CharacteristicDBRepo\saveTitles(), and ILIAS\Style\Content\CharacteristicDBRepo\updateColorName().
|
protected |
Definition at line 32 of file class.CharacteristicDBRepo.php.
Referenced by ILIAS\Style\Content\CharacteristicDBRepo\__construct().