| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Main business logic for characteristics. More...
 Collaboration diagram for ILIAS\Style\Content\CharacteristicManager:Public Member Functions | |
| __construct (int $style_id, Access\StyleAccessManager $access_manager, CharacteristicDBRepo $char_repo, CharacteristicCopyPasteSessionRepo $char_copy_paste_repo, ColorDBRepo $color_repo, ilObjUser $user) | |
| addCharacteristic (string $type, string $char, bool $hidden=false) | |
| exists (string $type, string $char) | |
| Check if characteristic exists.  More... | |
| getByKey (string $type, string $characteristic) | |
| Get characteristic by key.  More... | |
| getByType (string $type) | |
| Get characteristics by type.  More... | |
| getByTypes (array $types, bool $include_hidden=true, bool $include_outdated=true) | |
| Get characteristics by type.  More... | |
| getBySuperType (string $supertype) | |
| Get characteristics by supertype.  More... | |
| getPresentationTitle (string $type, string $characteristic, bool $fallback_to_characteristic=true) | |
| Get characteristic by key.  More... | |
| saveTitles (string $type, string $characteristic, array $titles) | |
| Save titles for characteristic.  More... | |
| saveHidden (string $type, string $characteristic, bool $hide) | |
| Save characteristic hidden status.  More... | |
| saveOutdated (string $type, string $characteristic, bool $outdated) | |
| Save characteristic outdated status.  More... | |
| isOutdated (string $type, string $characteristic) | |
| saveOrderNrs (string $type, array $order_nrs) | |
| Save characteristics order.  More... | |
| deleteCharacteristic (string $type, string $class) | |
| Delete Characteristic.  More... | |
| setCopyCharacteristics (string $style_type, array $characteristics) | |
| hasCopiedCharacteristics (string $style_type) | |
| Is in copy process?  More... | |
| clearCopyCharacteristics () | |
| getCopyCharacteristicStyleId () | |
| getCopyCharacteristicStyleType () | |
| getCopyCharacteristics () | |
| copyCharacteristicFromSource (int $source_style_id, string $source_style_type, string $source_char, string $new_char, array $new_titles) | |
| Copy characteristic.  More... | |
| replaceParameter (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 (string $a_tag, string $a_class, string $a_par, string $a_type, int $a_mq_id=0, bool $a_custom=false) | |
Protected Attributes | |
| CharacteristicDBRepo | $repo | 
| ColorDBRepo | $color_repo | 
| ilObjUser | $user | 
| Access StyleAccessManager | $access_manager | 
| CharacteristicCopyPasteSessionRepo | $session | 
| int | $style_id | 
Main business logic for characteristics.
Definition at line 31 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::__construct | ( | int | $style_id, | 
| Access\StyleAccessManager | $access_manager, | ||
| CharacteristicDBRepo | $char_repo, | ||
| CharacteristicCopyPasteSessionRepo | $char_copy_paste_repo, | ||
| ColorDBRepo | $color_repo, | ||
| ilObjUser | $user | ||
| ) | 
Definition at line 40 of file class.CharacteristicManager.php.
References ILIAS\Style\Content\CharacteristicManager\$access_manager, ILIAS\Style\Content\CharacteristicManager\$color_repo, ILIAS\Style\Content\CharacteristicManager\$style_id, ILIAS\Style\Content\CharacteristicManager\$user, and ILIAS\Repository\user().
 Here is the call graph for this function:| ILIAS\Style\Content\CharacteristicManager::addCharacteristic | ( | string | $type, | 
| string | $char, | ||
| bool | $hidden = false  | 
        ||
| ) | 
Definition at line 56 of file class.CharacteristicManager.php.
References ilObjStyleSheet\_writeUpToDate().
Referenced by ILIAS\Style\Content\CharacteristicManager\copyCharacteristicFromSource().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Style\Content\CharacteristicManager::clearCopyCharacteristics | ( | ) | 
Definition at line 302 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::copyCharacteristicFromSource | ( | int | $source_style_id, | 
| string | $source_style_type, | ||
| string | $source_char, | ||
| string | $new_char, | ||
| array | $new_titles | ||
| ) | 
Copy characteristic.
| ContentStyleNoPermissionException | 
Definition at line 329 of file class.CharacteristicManager.php.
References $c, $param, ilObjStyleSheet\_determineTag(), ILIAS\Style\Content\CharacteristicManager\addCharacteristic(), ILIAS\Style\Content\CharacteristicManager\deleteCharacteristic(), ILIAS\Style\Content\CharacteristicManager\exists(), ILIAS\Style\Content\CharacteristicManager\getByKey(), ILIAS\Style\Content\CharacteristicManager\replaceParameter(), and ILIAS\Style\Content\CharacteristicManager\saveTitles().
 Here is the call graph for this function:| ILIAS\Style\Content\CharacteristicManager::deleteCharacteristic | ( | string | $type, | 
| string | $class | ||
| ) | 
Delete Characteristic.
| ContentStyleNoPermissionException | 
Definition at line 264 of file class.CharacteristicManager.php.
References ilObjStyleSheet\_determineTag(), ilObjStyleSheet\_getCoreStyles(), and ilObjStyleSheet\_writeUpToDate().
Referenced by ILIAS\Style\Content\CharacteristicManager\copyCharacteristicFromSource().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Style\Content\CharacteristicManager::deleteParameter | ( | string | $a_tag, | 
| string | $a_class, | ||
| string | $a_par, | ||
| string | $a_type, | ||
| int | $a_mq_id = 0,  | 
        ||
| bool | $a_custom = false  | 
        ||
| ) | 
Definition at line 426 of file class.CharacteristicManager.php.
Referenced by ILIAS\Style\Content\CharacteristicManager\replaceParameter().
 Here is the caller graph for this function:| ILIAS\Style\Content\CharacteristicManager::exists | ( | string | $type, | 
| string | $char | ||
| ) | 
Check if characteristic exists.
Definition at line 74 of file class.CharacteristicManager.php.
Referenced by ILIAS\Style\Content\CharacteristicManager\copyCharacteristicFromSource().
 Here is the caller graph for this function:| ILIAS\Style\Content\CharacteristicManager::getByKey | ( | string | $type, | 
| string | $characteristic | ||
| ) | 
Get characteristic by key.
Definition at line 88 of file class.CharacteristicManager.php.
Referenced by ILIAS\Style\Content\CharacteristicManager\copyCharacteristicFromSource().
 Here is the caller graph for this function:| ILIAS\Style\Content\CharacteristicManager::getBySuperType | ( | string | $supertype | ) | 
Get characteristics by supertype.
Definition at line 130 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::getByType | ( | string | $type | ) | 
Get characteristics by type.
Definition at line 102 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::getByTypes | ( | array | $types, | 
| bool | $include_hidden = true,  | 
        ||
| bool | $include_outdated = true  | 
        ||
| ) | 
Get characteristics by type.
Definition at line 114 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::getCopyCharacteristics | ( | ) | 
| ILIAS\Style\Content\CharacteristicManager::getCopyCharacteristicStyleId | ( | ) | 
| ILIAS\Style\Content\CharacteristicManager::getCopyCharacteristicStyleType | ( | ) | 
| ILIAS\Style\Content\CharacteristicManager::getPresentationTitle | ( | string | $type, | 
| string | $characteristic, | ||
| bool | $fallback_to_characteristic = true  | 
        ||
| ) | 
Get characteristic by key.
Definition at line 142 of file class.CharacteristicManager.php.
References ILIAS\Repository\user().
 Here is the call graph for this function:| ILIAS\Style\Content\CharacteristicManager::hasCopiedCharacteristics | ( | string | $style_type | ) | 
Is in copy process?
Definition at line 297 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::isOutdated | ( | string | $type, | 
| string | $characteristic | ||
| ) | 
Definition at line 224 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::replaceParameter | ( | 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 394 of file class.CharacteristicManager.php.
References ILIAS\Style\Content\CharacteristicManager\deleteParameter().
Referenced by ILIAS\Style\Content\CharacteristicManager\copyCharacteristicFromSource().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Style\Content\CharacteristicManager::saveHidden | ( | string | $type, | 
| string | $characteristic, | ||
| bool | $hide | ||
| ) | 
Save characteristic hidden status.
Definition at line 189 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::saveOrderNrs | ( | string | $type, | 
| array | $order_nrs | ||
| ) | 
Save characteristics order.
| array | $order_nrs | (key is characteristic value is order nr) | 
Definition at line 239 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::saveOutdated | ( | string | $type, | 
| string | $characteristic, | ||
| bool | $outdated | ||
| ) | 
Save characteristic outdated status.
Definition at line 208 of file class.CharacteristicManager.php.
| ILIAS\Style\Content\CharacteristicManager::saveTitles | ( | string | $type, | 
| string | $characteristic, | ||
| array | $titles | ||
| ) | 
Save titles for characteristic.
| ContentStyleNoPermissionException | 
Definition at line 170 of file class.CharacteristicManager.php.
Referenced by ILIAS\Style\Content\CharacteristicManager\copyCharacteristicFromSource().
 Here is the caller graph for this function:| ILIAS\Style\Content\CharacteristicManager::setCopyCharacteristics | ( | string | $style_type, | 
| array | $characteristics | ||
| ) | 
Definition at line 287 of file class.CharacteristicManager.php.
      
  | 
  protected | 
Definition at line 36 of file class.CharacteristicManager.php.
Referenced by ILIAS\Style\Content\CharacteristicManager\__construct().
      
  | 
  protected | 
Definition at line 34 of file class.CharacteristicManager.php.
Referenced by ILIAS\Style\Content\CharacteristicManager\__construct().
      
  | 
  protected | 
Definition at line 33 of file class.CharacteristicManager.php.
      
  | 
  protected | 
Definition at line 37 of file class.CharacteristicManager.php.
      
  | 
  protected | 
Definition at line 38 of file class.CharacteristicManager.php.
Referenced by ILIAS\Style\Content\CharacteristicManager\__construct().
      
  | 
  protected | 
Definition at line 35 of file class.CharacteristicManager.php.
Referenced by ILIAS\Style\Content\CharacteristicManager\__construct().