_set_uri_string() protected method

Set URI String
protected _set_uri_string ( string $str ) : void
$str string
return void
コード例 #1
0
ファイル: MY_URI.php プロジェクト: rip-projects/ark-php
 function _set_uri_string($str)
 {
     $this->original_uri = $str;
     $pos = strrpos($str, '.');
     $this->extension = pathinfo($str, PATHINFO_EXTENSION);
     $rpos = strrpos($str, '.');
     if ($rpos !== FALSE) {
         $str = substr($str, 0, $rpos);
     }
     parent::_set_uri_string($str);
 }