public function checkStaticUrl($varValue) { if ($varValue != '') { $varValue = preg_replace('@https?://@', '', $varValue); } return $varValue; }