示例#1
0
文件: Navlink.php 项目: dobidobz/HRis
 /**
  * Checks if the href is active.
  *
  * @param $href
  * @return bool
  * @author Bertrand Kintanar
  */
 protected static function isURLActive($href)
 {
     $request = Request::capture();
     if ($request->is($href . '*')) {
         return true;
     }
     return false;
 }