protected function _set_mobile()
{
if (is_array($this->mobiles) && count($this->mobiles) > 0) {
foreach ($this->mobiles as $key => $val) {
if (FALSE !== stripos($this->agent, $key)) {
$this->is_mobile = TRUE;
$this->mobile = $val;
return TRUE;
}
}
}
return FALSE;
}