protected function getPassThruParams()
    {

        if ($this->passThruParams !== null) {
            return $this->passThruParams;
        }

        $this->passThruParams = [];

        $all = Input::all();

        $filtered = array_except($all, ['sync','uploadedFile','folderName']);

        // Security check
        if (count($filtered) > 30) {
            throw new RuntimeException('Too many query params');
        }

        foreach ($filtered as $key=>$value) {
            $this->passThruParams[$key] = strip_tags($value);
        }

        return $this->passThruParams;

    }
protected function getPassThruParams()
    {

        if ($this->passThruParams !== null) {
            return $this->passThruParams;
        }

        $this->passThruParams = [];

        $all = Input::all();

        $filtered = array_except($all, ['sync','uploadedFile','folderName']);

        // Security check
        if (count($filtered) > 30) {
            throw new RuntimeException('Too many query params');
        }

        foreach ($filtered as $key=>$value) {
            $this->passThruParams[$key] = strip_tags($value);
        }

        return $this->passThruParams;

    }
protected function getPassThruParams ( ) { if ( $ this -> passThruParams !== null ) { return $ this -> passThruParams ; } $ this -> passThruParams = [ ] ; $ all = Input :: all ( ) ; $ filtered = array_except ( $ all , [ 'sync' , 'uploadedFile' , 'folderName' ] ) ; // Security check if ( count ( $ filtered ) > 30 ) { throw new RuntimeException ( 'Too many query params' ) ; } foreach ( $ filtered as $ key => $ value ) { $ this -> passThruParams [ $ key ] = strip_tags ( $ value ) ; } return $ this -> passThruParams ; }
Get some parameters that should be added to every link.

@return array
Get some parameters that should be added to every link .