*/ class InfoControlRegistry extends CustomInteractionRegistry { /** * Key used to store the custom interactions in the config * * @var string */ const CONFIG_ID = 'info_control'; protected function getConfigId() { return self::CONFIG_ID; } /** * Register a new custom interaction * * @param string $qtiClass * @param string $phpClass * @throws common_exception_Error * @deprecated use set */ public static function register($qtiClass, $phpClass) { InfoControlRegistry::getRegistry()->set($qtiClass, $phpClass); } /** * Get the php class that represents an info control from its class attribute * * @param string $name * @deprecated set * @return string */ public static function getInfoControlByName($name) { InfoControlRegistry::getRegistry()->get($name); } }