action_type; $class = self::getActionClass($actionType); return new $class($action, $journal); } /** * Returns a map with actiontypes, mapped to the class representing that type */ protected static function getActionTypes() { if( !self::$actionTypes ) { self::$actionTypes = Domain::getRuleActions(); } return self::$actionTypes; } }