ormer to display the configuration for. * * [--=] * : Only list the config entries where equals the requested . * * [--fields=] * : Limit the output to specific fields. Defaults to all fields. * * [--field=] * : Prints the value of a single field for each config entry. * * [--format=] * : Render output in a particular format. * --- * default: table * options: * - count * - csv * - json * - table * - yaml * --- * * ## EXAMPLES * * # Check the current configuration of the RewriteAmpUrls transformer. * $ wp amp optimizer transformer config RewriteAmpUrls * +-------------------+----------------------------+ * | key | value | * +-------------------+----------------------------+ * | ampRuntimeVersion | | * | ampUrlPrefix | https://cdn.ampproject.org | * | esmModulesEnabled | true | * | geoApiUrl | | * | lts | false | * | rtv | false | * +-------------------+----------------------------+ * * # Fetch the attribute that is added to store a backup of inlined styles. * $ wp amp optimizer transformer config OptimizeHeroImages --key=inlineStyleBackupAttribute --field=value * data-amp-original-style * * # Render the configuration of the AmpRuntimeCss transformer as a JSON array. * $ wp amp optimizer transformer config AmpRuntimeCss --format=json * {"canary":false,"styles":"","version":""} * * @param array $args Array of positional arguments. * @param array $assoc_args Associative array of associative arguments. * @throws WP_CLI\ExitException If the requested file could not be read. */ public function config( $args, $assoc_args ) { $transformer = array_shift( $args ); $transformer_class = $this->deduce_transformer_class( $transformer ); if ( false === $transformer_class ) { WP_CLI::error( "Unknown transformer: {$transformer}." ); } $default_fields = [ 'key', 'value', ]; $defaults = [ 'fields' => implode( ',', $default_fields ), 'format' => 'table', ]; $assoc_args = array_merge( $defaults, $assoc_args ); try { $config_array = $this->configuration->getTransformerConfiguration( $transformer_class )->toArray(); } catch ( UnknownConfigurationClass $exception ) { WP_CLI::error( $exception->getMessage() ); return; } $config_entries = []; foreach ( $config_array as $key => $value ) { if ( is_bool( $value ) && in_array( $assoc_args['format'], [ 'table', 'csv' ], true ) ) { $value = $value ? 'true' : 'false'; } $config_entries[] = compact( 'key', 'value' ); } $config_entries = $this->filter_entries( $config_entries, $default_fields, $assoc_args ); if ( 'count' === $assoc_args['format'] ) { WP_CLI::log( (string) count( $config_entries ) ); return; } if ( empty( $config_entries ) ) { WP_CLI::error( 'No matching config entries found.' ); } if ( 'json' === $assoc_args['format'] ) { // Flatten the entries again for producing the JSON output that the spec tests understand. $json_array = []; foreach ( $config_entries as $config_entry ) { $json_array[ $config_entry['key'] ] = $config_entry['value']; } WP_CLI::log( wp_json_encode( $json_array ) ); return; } $formatter = new WP_CLI\Formatter( $assoc_args, $default_fields ); $formatter->display_items( $config_entries ); } /** * Filters the entries of an associative array based on a provided filter key. * * @param array $entries Associative array to filter. * @param array $fields Array of known fields. * @param array $assoc_args Filters to apply. * * @return array */ private function filter_entries( $entries, $fields, $assoc_args ) { $result = []; foreach ( $entries as $entry ) { foreach ( $fields as $field ) { if ( array_key_exists( $field, $assoc_args ) && $entry[ $field ] !== $assoc_args[ $field ] ) { continue 2; } } $result[] = $entry; } return $result; } /** * Deduce the transformer class from a transformer name. * * @param string $transformer Transformer name to get the class for. * @return string|false Class of the transformer, or false if none found. */ private function deduce_transformer_class( $transformer ) { $transformer_classes = $this->configuration->get( Configuration::KEY_TRANSFORMERS ); foreach ( $transformer_classes as $transformer_class ) { if ( $transformer === $this->get_transformer_name( $transformer_class ) ) { return (string) $transformer_class; } } return false; } /** * Get the name of a transformer from its class. * * @param string $transformer_class Transformer class to get the name for. * @return string Name of the transformer. */ private function get_transformer_name( $transformer_class ) { $name_parts = explode( '\\', $transformer_class ); return (string) array_pop( $name_parts ); } /** * Get the source of a transformer. * * @param string $transformer_class Class of the transformer to get the source for. * @return string Source of the transformer. Will be one of 'toolbox', 'plugin', 'third-party'. */ private function get_transformer_source( $transformer_class ) { if ( 0 === strpos( $transformer_class, 'AmpProject\\Optimizer\\Transformer\\' ) ) { return 'toolbox'; } if ( 0 === strpos( $transformer_class, 'AmpProject\\AmpWP\\Optimizer\\Transformer\\' ) ) { return 'plugin'; } return 'third-party'; } } ormer to display the configuration for. * * [--=] * : Only list the config entries where equals the requested . * * [--fields=] * : Limit the output to specific fields. Defaults to all fields. * * [--field=] * : Prints the value of a single field for each config entry. * * [--format=] * : Render output in a particular format. * --- * default: table * options: * - count * - csv * - json * - table * - yaml * --- * * ## EXAMPLES * * # Check the current configuration of the RewriteAmpUrls transformer. * $ wp amp optimizer transformer config RewriteAmpUrls * +-------------------+----------------------------+ * | key | value | * +-------------------+----------------------------+ * | ampRuntimeVersion | | * | ampUrlPrefix | https://cdn.ampproject.org | * | esmModulesEnabled | true | * | geoApiUrl | | * | lts | false | * | rtv | false | * +-------------------+----------------------------+ * * # Fetch the attribute that is added to store a backup of inlined styles. * $ wp amp optimizer transformer config OptimizeHeroImages --key=inlineStyleBackupAttribute --field=value * data-amp-original-style * * # Render the configuration of the AmpRuntimeCss transformer as a JSON array. * $ wp amp optimizer transformer config AmpRuntimeCss --format=json * {"canary":false,"styles":"","version":""} * * @param array $args Array of positional arguments. * @param array $assoc_args Associative array of associative arguments. * @throws WP_CLI\ExitException If the requested file could not be read. */ public function config( $args, $assoc_args ) { $transformer = array_shift( $args ); $transformer_class = $this->deduce_transformer_class( $transformer ); if ( false === $transformer_class ) { WP_CLI::error( "Unknown transformer: {$transformer}." ); } $default_fields = [ 'key', 'value', ]; $defaults = [ 'fields' => implode( ',', $default_fields ), 'format' => 'table', ]; $assoc_args = array_merge( $defaults, $assoc_args ); try { $config_array = $this->configuration->getTransformerConfiguration( $transformer_class )->toArray(); } catch ( UnknownConfigurationClass $exception ) { WP_CLI::error( $exception->getMessage() ); return; } $config_entries = []; foreach ( $config_array as $key => $value ) { if ( is_bool( $value ) && in_array( $assoc_args['format'], [ 'table', 'csv' ], true ) ) { $value = $value ? 'true' : 'false'; } $config_entries[] = compact( 'key', 'value' ); } $config_entries = $this->filter_entries( $config_entries, $default_fields, $assoc_args ); if ( 'count' === $assoc_args['format'] ) { WP_CLI::log( (string) count( $config_entries ) ); return; } if ( empty( $config_entries ) ) { WP_CLI::error( 'No matching config entries found.' ); } if ( 'json' === $assoc_args['format'] ) { // Flatten the entries again for producing the JSON output that the spec tests understand. $json_array = []; foreach ( $config_entries as $config_entry ) { $json_array[ $config_entry['key'] ] = $config_entry['value']; } WP_CLI::log( wp_json_encode( $json_array ) ); return; } $formatter = new WP_CLI\Formatter( $assoc_args, $default_fields ); $formatter->display_items( $config_entries ); } /** * Filters the entries of an associative array based on a provided filter key. * * @param array $entries Associative array to filter. * @param array $fields Array of known fields. * @param array $assoc_args Filters to apply. * * @return array */ private function filter_entries( $entries, $fields, $assoc_args ) { $result = []; foreach ( $entries as $entry ) { foreach ( $fields as $field ) { if ( array_key_exists( $field, $assoc_args ) && $entry[ $field ] !== $assoc_args[ $field ] ) { continue 2; } } $result[] = $entry; } return $result; } /** * Deduce the transformer class from a transformer name. * * @param string $transformer Transformer name to get the class for. * @return string|false Class of the transformer, or false if none found. */ private function deduce_transformer_class( $transformer ) { $transformer_classes = $this->configuration->get( Configuration::KEY_TRANSFORMERS ); foreach ( $transformer_classes as $transformer_class ) { if ( $transformer === $this->get_transformer_name( $transformer_class ) ) { return (string) $transformer_class; } } return false; } /** * Get the name of a transformer from its class. * * @param string $transformer_class Transformer class to get the name for. * @return string Name of the transformer. */ private function get_transformer_name( $transformer_class ) { $name_parts = explode( '\\', $transformer_class ); return (string) array_pop( $name_parts ); } /** * Get the source of a transformer. * * @param string $transformer_class Class of the transformer to get the source for. * @return string Source of the transformer. Will be one of 'toolbox', 'plugin', 'third-party'. */ private function get_transformer_source( $transformer_class ) { if ( 0 === strpos( $transformer_class, 'AmpProject\\Optimizer\\Transformer\\' ) ) { return 'toolbox'; } if ( 0 === strpos( $transformer_class, 'AmpProject\\AmpWP\\Optimizer\\Transformer\\' ) ) { return 'plugin'; } return 'third-party'; } } ormer to display the configuration for. * * [--=] * : Only list the config entries where equals the requested . * * [--fields=] * : Limit the output to specific fields. Defaults to all fields. * * [--field=] * : Prints the value of a single field for each config entry. * * [--format=] * : Render output in a particular format. * --- * default: table * options: * - count * - csv * - json * - table * - yaml * --- * * ## EXAMPLES * * # Check the current configuration of the RewriteAmpUrls transformer. * $ wp amp optimizer transformer config RewriteAmpUrls * +-------------------+----------------------------+ * | key | value | * +-------------------+----------------------------+ * | ampRuntimeVersion | | * | ampUrlPrefix | https://cdn.ampproject.org | * | esmModulesEnabled | true | * | geoApiUrl | | * | lts | false | * | rtv | false | * +-------------------+----------------------------+ * * # Fetch the attribute that is added to store a backup of inlined styles. * $ wp amp optimizer transformer config OptimizeHeroImages --key=inlineStyleBackupAttribute --field=value * data-amp-original-style * * # Render the configuration of the AmpRuntimeCss transformer as a JSON array. * $ wp amp optimizer transformer config AmpRuntimeCss --format=json * {"canary":false,"styles":"","version":""} * * @param array $args Array of positional arguments. * @param array $assoc_args Associative array of associative arguments. * @throws WP_CLI\ExitException If the requested file could not be read. */ public function config( $args, $assoc_args ) { $transformer = array_shift( $args ); $transformer_class = $this->deduce_transformer_class( $transformer ); if ( false === $transformer_class ) { WP_CLI::error( "Unknown transformer: {$transformer}." ); } $default_fields = [ 'key', 'value', ]; $defaults = [ 'fields' => implode( ',', $default_fields ), 'format' => 'table', ]; $assoc_args = array_merge( $defaults, $assoc_args ); try { $config_array = $this->configuration->getTransformerConfiguration( $transformer_class )->toArray(); } catch ( UnknownConfigurationClass $exception ) { WP_CLI::error( $exception->getMessage() ); return; } $config_entries = []; foreach ( $config_array as $key => $value ) { if ( is_bool( $value ) && in_array( $assoc_args['format'], [ 'table', 'csv' ], true ) ) { $value = $value ? 'true' : 'false'; } $config_entries[] = compact( 'key', 'value' ); } $config_entries = $this->filter_entries( $config_entries, $default_fields, $assoc_args ); if ( 'count' === $assoc_args['format'] ) { WP_CLI::log( (string) count( $config_entries ) ); return; } if ( empty( $config_entries ) ) { WP_CLI::error( 'No matching config entries found.' ); } if ( 'json' === $assoc_args['format'] ) { // Flatten the entries again for producing the JSON output that the spec tests understand. $json_array = []; foreach ( $config_entries as $config_entry ) { $json_array[ $config_entry['key'] ] = $config_entry['value']; } WP_CLI::log( wp_json_encode( $json_array ) ); return; } $formatter = new WP_CLI\Formatter( $assoc_args, $default_fields ); $formatter->display_items( $config_entries ); } /** * Filters the entries of an associative array based on a provided filter key. * * @param array $entries Associative array to filter. * @param array $fields Array of known fields. * @param array $assoc_args Filters to apply. * * @return array */ private function filter_entries( $entries, $fields, $assoc_args ) { $result = []; foreach ( $entries as $entry ) { foreach ( $fields as $field ) { if ( array_key_exists( $field, $assoc_args ) && $entry[ $field ] !== $assoc_args[ $field ] ) { continue 2; } } $result[] = $entry; } return $result; } /** * Deduce the transformer class from a transformer name. * * @param string $transformer Transformer name to get the class for. * @return string|false Class of the transformer, or false if none found. */ private function deduce_transformer_class( $transformer ) { $transformer_classes = $this->configuration->get( Configuration::KEY_TRANSFORMERS ); foreach ( $transformer_classes as $transformer_class ) { if ( $transformer === $this->get_transformer_name( $transformer_class ) ) { return (string) $transformer_class; } } return false; } /** * Get the name of a transformer from its class. * * @param string $transformer_class Transformer class to get the name for. * @return string Name of the transformer. */ private function get_transformer_name( $transformer_class ) { $name_parts = explode( '\\', $transformer_class ); return (string) array_pop( $name_parts ); } /** * Get the source of a transformer. * * @param string $transformer_class Class of the transformer to get the source for. * @return string Source of the transformer. Will be one of 'toolbox', 'plugin', 'third-party'. */ private function get_transformer_source( $transformer_class ) { if ( 0 === strpos( $transformer_class, 'AmpProject\\Optimizer\\Transformer\\' ) ) { return 'toolbox'; } if ( 0 === strpos( $transformer_class, 'AmpProject\\AmpWP\\Optimizer\\Transformer\\' ) ) { return 'plugin'; } return 'third-party'; } } ormer to display the configuration for. * * [--=] * : Only list the config entries where equals the requested . * * [--fields=] * : Limit the output to specific fields. Defaults to all fields. * * [--field=] * : Prints the value of a single field for each config entry. * * [--format=] * : Render output in a particular format. * --- * default: table * options: * - count * - csv * - json * - table * - yaml * --- * * ## EXAMPLES * * # Check the current configuration of the RewriteAmpUrls transformer. * $ wp amp optimizer transformer config RewriteAmpUrls * +-------------------+----------------------------+ * | key | value | * +-------------------+----------------------------+ * | ampRuntimeVersion | | * | ampUrlPrefix | https://cdn.ampproject.org | * | esmModulesEnabled | true | * | geoApiUrl | | * | lts | false | * | rtv | false | * +-------------------+----------------------------+ * * # Fetch the attribute that is added to store a backup of inlined styles. * $ wp amp optimizer transformer config OptimizeHeroImages --key=inlineStyleBackupAttribute --field=value * data-amp-original-style * * # Render the configuration of the AmpRuntimeCss transformer as a JSON array. * $ wp amp optimizer transformer config AmpRuntimeCss --format=json * {"canary":false,"styles":"","version":""} * * @param array $args Array of positional arguments. * @param array $assoc_args Associative array of associative arguments. * @throws WP_CLI\ExitException If the requested file could not be read. */ public function config( $args, $assoc_args ) { $transformer = array_shift( $args ); $transformer_class = $this->deduce_transformer_class( $transformer ); if ( false === $transformer_class ) { WP_CLI::error( "Unknown transformer: {$transformer}." ); } $default_fields = [ 'key', 'value', ]; $defaults = [ 'fields' => implode( ',', $default_fields ), 'format' => 'table', ]; $assoc_args = array_merge( $defaults, $assoc_args ); try { $config_array = $this->configuration->getTransformerConfiguration( $transformer_class )->toArray(); } catch ( UnknownConfigurationClass $exception ) { WP_CLI::error( $exception->getMessage() ); return; } $config_entries = []; foreach ( $config_array as $key => $value ) { if ( is_bool( $value ) && in_array( $assoc_args['format'], [ 'table', 'csv' ], true ) ) { $value = $value ? 'true' : 'false'; } $config_entries[] = compact( 'key', 'value' ); } $config_entries = $this->filter_entries( $config_entries, $default_fields, $assoc_args ); if ( 'count' === $assoc_args['format'] ) { WP_CLI::log( (string) count( $config_entries ) ); return; } if ( empty( $config_entries ) ) { WP_CLI::error( 'No matching config entries found.' ); } if ( 'json' === $assoc_args['format'] ) { // Flatten the entries again for producing the JSON output that the spec tests understand. $json_array = []; foreach ( $config_entries as $config_entry ) { $json_array[ $config_entry['key'] ] = $config_entry['value']; } WP_CLI::log( wp_json_encode( $json_array ) ); return; } $formatter = new WP_CLI\Formatter( $assoc_args, $default_fields ); $formatter->display_items( $config_entries ); } /** * Filters the entries of an associative array based on a provided filter key. * * @param array $entries Associative array to filter. * @param array $fields Array of known fields. * @param array $assoc_args Filters to apply. * * @return array */ private function filter_entries( $entries, $fields, $assoc_args ) { $result = []; foreach ( $entries as $entry ) { foreach ( $fields as $field ) { if ( array_key_exists( $field, $assoc_args ) && $entry[ $field ] !== $assoc_args[ $field ] ) { continue 2; } } $result[] = $entry; } return $result; } /** * Deduce the transformer class from a transformer name. * * @param string $transformer Transformer name to get the class for. * @return string|false Class of the transformer, or false if none found. */ private function deduce_transformer_class( $transformer ) { $transformer_classes = $this->configuration->get( Configuration::KEY_TRANSFORMERS ); foreach ( $transformer_classes as $transformer_class ) { if ( $transformer === $this->get_transformer_name( $transformer_class ) ) { return (string) $transformer_class; } } return false; } /** * Get the name of a transformer from its class. * * @param string $transformer_class Transformer class to get the name for. * @return string Name of the transformer. */ private function get_transformer_name( $transformer_class ) { $name_parts = explode( '\\', $transformer_class ); return (string) array_pop( $name_parts ); } /** * Get the source of a transformer. * * @param string $transformer_class Class of the transformer to get the source for. * @return string Source of the transformer. Will be one of 'toolbox', 'plugin', 'third-party'. */ private function get_transformer_source( $transformer_class ) { if ( 0 === strpos( $transformer_class, 'AmpProject\\Optimizer\\Transformer\\' ) ) { return 'toolbox'; } if ( 0 === strpos( $transformer_class, 'AmpProject\\AmpWP\\Optimizer\\Transformer\\' ) ) { return 'plugin'; } return 'third-party'; } } Contribution à l'effort de guerre: la FOPAHT-B fait don d'un chèque de 10 millions de F CFA - Infos Culture du Faso
sam 22 février 2025

Suivez-nous sur les réseaux sociaux

spot_img

Contribution à l’effort de guerre: la FOPAHT-B fait don d’un chèque de 10 millions de F CFA

10 millions de F CFA, c’est le montant global octroyé par la Fédération des Organisations Patronales de l’Hôtellerie et du Tourisme du Burkina (FOPAHT-B), dans le cadre de la contribution à l’effort de guerre. Le chèque a été reçu, ce mercredi 15 mars 2023 à Ouagadougou, par le ministre en charge de la Communication, de la Culture, des Arts et du Tourisme, Rimtalba Jean Emmanuel Ouédraogo.

Le Burkina Faso traverse depuis quelques années, l’un des pires moments de son histoire, dû fait du phénomène du terrorisme. Une situation que les nouvelles autorités entendent mettre fin le plutôt possible, afin de redonner au Burkina Faso, sa stabilité d’antan. Et dans un élan de sursaut patriotique, un appel à contribution pour l’effort de guerre a été lancé par le Chef de l’État, le Capitaine Ibrahim Traoré, il y a quelques mois. Ce don de 10 millions de la part de la FOPAHT-B, répond à cette dynamique enclenchée par les nouvelles autorités du pays.

« Pour un secteur qui est durement éprouvé, on ne peut que saluer cet effort », dixit le ministre Rimtalba Jean Emmanuel Ouédraogo

Pour le ministre en charge de la Communication et de la Culture, Rimtalba Jean Emmanuel Ouédraogo, ce geste de la FOPAHT-B est riche en symbole, en ce sens que c’est un don qui vient d’un secteur qui fait partie de ceux les plus affectés par la situation sécuritaire que connaît le Burkina Faso. « Il suffît d’y faire un tour pour voir à quel point nos sites touristiques sont durement lésés, mais aussi pour voir à quel point le taux d’occupations des chambres d’hôtels est tellement bas. Mais malgré ce qu’ils traversent, ils viennent de démontrer, à travers ce geste, qu’ils restent debout. Au-delà donc du montant, c’est surtout un message à l’ensemble des Burkinabè. Le combat qui est engagé appartient à chaque fils et fille de notre pays. Nous fondons donc l’espoir qu’avec la contribution de tous, nous atteindrons bientôt le bout du tunnel », a laissé entendre monsieur le ministre.

Pour Mahamoudou Pierre Célestin, président de la FOPAHT-B, il était plus que nécessaire pour les acteurs de l’hôtellerie et du tourisme de jouer leur partition dans cette guerre contre le terrorisme

Du reste, le président de la FOPAHT-B, Mahamoudou Pierre Célestin Zoungrana, dit également espérer que cette modeste contribution de l’ensemble des acteurs du monde de l’hôtellerie et du tourisme contribue à ramener la quiétude au Burkina Faso. À l’en croire, ce geste est l’œuvre de l’ensemble des acteurs de toutes les 45 provinces que compte le pays. « Aussi modeste que soit ce geste, nous pensons que cela répond à l’appel du Chef de l’État. Il faut dire que depuis 2015, nous éprouvons des difficultés. À cause de la situation sécuritaire, les touristes ne viennent quasiment plus. Nous ne pouvons plus que compter sur le tourisme interne. C’est donc le moment d’inviter les Burkinabè à pratiquer le tourisme interne. Cela y va d’un souffle nouveau pour ce secteur », a-t-il confié.

Monsieur le ministre posant avec le délégation de la FOPAHT-B

Au-delà donc du chèque de 10 millions de F CFA, il a été remis pour le compte du ministère de la Communication, de la Culture, des Arts et du Tourisme, plusieurs paquets de papiers rames. Et selon les dires du président de la FOPAHT-B, ce don vise à appuyer la capacité dudit ministère, en matériels de travail.

Une photo de famille est venue mettre fin à cette cérémonie de réception de chèque.

Boukari OUÉDRAOGO

LAISSER UN COMMENTAIRE

S'il vous plaît entrez votre commentaire!
S'il vous plaît entrez votre nom ici

Publicité

spot_img

Publicité

spot_img

Publicité

spot_img

Publicité

spot_img

Plus d'articles

Vous ne pouvez pas copier le contenu de cette page