/** * Returns a Form instance * * @access public * * @param int|WP_Post $form_id. * * @return MC4WP_Form */ function mc4wp_get_form($form_id = 0) { return MC4WP_Form::get_instance($form_id); } /** * Get an array of Form instances * * @access public * * @param array $args Array of parameters * * @return MC4WP_Form[] */ function mc4wp_get_forms(array $args = []) { // parse function arguments $default_args = [ 'post_status' => 'publish', 'posts_per_page' => -1, 'ignore_sticky_posts' => true, 'no_found_rows' => true, ]; $args = array_merge($default_args, $args); // set post_type here so it can't be overwritten using function arguments $args['post_type'] = 'mc4wp-form'; $q = new WP_Query(); $posts = $q->query($args); $forms = []; foreach ($posts as $post) { try { $form = mc4wp_get_form($post); } catch (Exception $e) { continue; } $forms[] = $form; } return $forms; } /** * Echoes the given form * * @access public * * @param int $form_id * @param array $config * @param bool $echo * * @return string */ function mc4wp_show_form($form_id = 0, $config = [], $echo = true) { /** @var MC4WP_Form_Manager $forms */ $forms = mc4wp('forms'); return $forms->output_form($form_id, $config, $echo); } /** * Gets an instance of the submitted form, if any. * * @access public * * @return MC4WP_Form|null */ function mc4wp_get_submitted_form() { return mc4wp('forms')->get_submitted_form(); } Echange – Dunya-Estate

Echange

Qu'est-ce que l'échange en matière foncière ?

L’échange dans le présent contexte est une permutation de biens immeubles moyennant ou non un paiement de soulte.

Il se fait de commun accord entre les parties. Il prend la forme d’une convention (acte sous seing privé affirmé par le Maire ou déposé au rang des minutes d’un notaire).

En d’autres termes, l’échange est un contrat par lequel les parties se donnent respectivement un bien contre un autre. 

L’intérêt pratique de l’échange consiste à éviter deux ventes successives et le coût de deux mutations. Mais ce type de transaction reste rare.

Références

 CFD = Code Foncier et Domanial, CBPF = Code Béninois des Personnes et de la Famille

La propriété des biens s’acquiert et se transmet par succession, donation, achat, testament et échange.

La propriété peut s’acquérir par échange conformément aux dispositions du présent Code et des autres textes en vigueur.

Compare listings

Comparer