"); # if its opening PHP, push on stack if($chars == "")) && (count($stack) > 0)) { $start = array_pop($stack); $startend[$index]["start"] = $start; $startend[$index]["end"] = $i + 2; # put internal array pointer back to end of array for correct stack operation end($startend); # increment pair array storage index $index++; } } # loop through all start/end pairs for($id=1; $id<=count($startend); $id++) { #$id = $i+1; $imageid = "PHPCODE{$id}"; $imgcode = ""; $this->imageArray[$id] = $imgcode; $sectionlength = ($startend[$id]["end"] - $startend[$id]["start"]); $this->codeArray[$id] = substr($code, $startend[$id]["start"], $sectionlength); $this->idArray[$id] = $imageid; #$code = substr_replace($code, $imgcode, $startend[$id]["start"], $sectionlength); } $code = str_replace($this->codeArray,$this->imageArray,$code); return $code; } # replaces placeholders by restoring relevant PHP code section function restore($code) { $newImageArray = array(); for($i=1; $i<=count($this->idArray); $i++) { $newImageArray[$i] = $this->returnImgString($this->idArray[$i], $code); } #print_r($newImageArray); # return "restored" code return str_replace($newImageArray, $this->codeArray, $code); } # finds complete image tag based on unique ID function returnImgString($idtag, $code) { $position=0; // Position of tag $pos_start=0; // Start Position $pos_finish=0; // End positon $str_start=""; // String Before image tag $str_finish=""; // String after image tag // Return null is input is blank. if(!isset($idtag) or $idtag==""){return "";} // Return null is code input is blank. if(!isset($code) or $code==""){return "";} // Find tag $position=strpos($code,$idtag); // Id tag has been removed; if($position==0){return "";} $str_start=strtolower(strrev(substr($code,0,$position))); $pos_start=strlen($str_start)- strpos($str_start,"gmi<") -4; //-4 is the length of the image tag $str_finish=strtolower(substr($code,$position)); $pos_finish=strpos($code,">",$pos_start)+1; return (substr($code,$pos_start,$pos_finish-$pos_start)); } } ?> Senegal: Family Code (Code de la Famille)
Senegal: Family Code (Code de la Famille)
Date: 17th Jan 1989

The Family Code governs familial rights and obligations. Article 371 is relevant to the right to non-discrimination and equality, because it ensures that “the wife, like the husband, enjoys full civil capacity.” In addition to providing the equality guarantees of Article 371, Act No. 89-01 of 17 January 1989 repealed several discriminatory measures of the Family Code, such as those allowing the husband to object to a wife’s pursuing her own occupation and allowing the family record book to be issued to the wife as well as to the husband.

In the matter of family law, it is not uncommon for Senegalese courts to refer matters to the religious courts to resolve the dispute in accordance with Islamic law. This is increasingly likely in rural regions.

Print friendly page | ' : ''; echo "Print friendly page | "; # . $_SERVER['QUERY_STRING'] ?> We welcome your feedback | Email this | Disclaimer | Site map