This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function(){ | |
| //if exists a tab menu | |
| if($('.tabsMenu').length > 0){ | |
| prepareTabMenu(); | |
| } | |
| }); | |
| /** | |
| * Prepare elements with function that will be called when clicked | |
| * */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private function _semAcentos($string, $returnFormat = 1){ | |
| if(is_array($string)){ | |
| for($i=0; $i<count($string); $i++){ | |
| $string[$i] = preg_replace("/[áàâãª]/u","a",$string[$i]); | |
| $string[$i] = preg_replace("/[ÁÀÂÃ]/u","A",$string[$i]); | |
| $string[$i] = preg_replace("/[éèê]/u","e",$string[$i]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function convertArrayToUtf8(array $array) { | |
| $convertedArray = array(); | |
| foreach($array as $key => $value) { | |
| if(gettype($key)=='string') | |
| $key = utf8_encode($key); | |
| if(is_array($value)) | |
| $value = $this->convertArrayToUtf8($value); | |
| if(gettype($value)=='string') |
NewerOlder