|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ILIAS\Style\Content\CharacteristicDBRepo: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.
| 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.
| 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.
| 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.
| ILIAS\Style\Content\CharacteristicDBRepo::exists | ( | int | $style_id, |
| string | $type, | ||
| string | $char | ||
| ) |
Definition at line 62 of file class.CharacteristicDBRepo.php.
| ILIAS\Style\Content\CharacteristicDBRepo::getByKey | ( | int | $style_id, |
| string | $type, | ||
| string | $characteristic | ||
| ) |
Definition at line 81 of file class.CharacteristicDBRepo.php.
References $type, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Here is the call graph for this function:| ILIAS\Style\Content\CharacteristicDBRepo::getBySuperType | ( | int | $style_id, |
| string | $super_type | ||
| ) |
Get characteristics by supertype.
Definition at line 177 of file class.CharacteristicDBRepo.php.
| ILIAS\Style\Content\CharacteristicDBRepo::getByType | ( | int | $style_id, |
| string | $type | ||
| ) |
Definition at line 118 of file class.CharacteristicDBRepo.php.
| 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 ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
Here is the call graph for this function:| ILIAS\Style\Content\CharacteristicDBRepo::isOutdated | ( | int | $style_id, |
| string | $type, | ||
| string | $characteristic | ||
| ) |
Definition at line 322 of file class.CharacteristicDBRepo.php.
| 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 ilDBInterface\update().
Here is the call graph for this function:| 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.
| ILIAS\Style\Content\CharacteristicDBRepo::saveOrderNr | ( | int | $style_id, |
| string | $type, | ||
| string | $characteristic, | ||
| int | $order_nr | ||
| ) |
Definition at line 340 of file class.CharacteristicDBRepo.php.
| 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.
| 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 $type.
| ILIAS\Style\Content\CharacteristicDBRepo::updateColorName | ( | int | $style_id, |
| string | $old_name, | ||
| string | $new_name | ||
| ) |
Definition at line 463 of file class.CharacteristicDBRepo.php.
|
protected |
Definition at line 31 of file class.CharacteristicDBRepo.php.
Referenced by ILIAS\Style\Content\CharacteristicDBRepo\__construct().
|
protected |
Definition at line 32 of file class.CharacteristicDBRepo.php.
Referenced by ILIAS\Style\Content\CharacteristicDBRepo\__construct().