获取过滤后的参数

@return mixed
434180
public static function paramFilter($param) {
        if (empty($param)) {
            $param = '';
        }

        if (is_array($param)) {
            foreach ($param as $key => $value) {
                $param[$key] = String::urlSafetyFilter($value);
            }
        }

        if (is_string($param)) {
            $param = String::urlSafetyFilter($param);
        }

        return $param;
    }
150752
public function key() {
		$keys = array_keys($this->data);
		return isset($keys[$this->position]) ? $keys[$this->position] : null;
	}
435377
public function get()
    {
        $result = [];

        foreach ($this->map as $attribute => $key) {
            $value = $this->getByKey($key);
            $result[$attribute] = $value;
        }

        return $result;
    }
1369438
public function getData()
    {
        $data = array();
        foreach (get_object_vars($this) as $key => $value) {
            if (strpos($key, '__') !== 0) {
                $data[$key] = $value;
            }
        }

        return $data;
    }
734295
public function connect()
    {
        if ($this->validate()) {
            $this->user = User::findByEmail($this->email);
            if ($this->user === null) {
                $this->user = Yii::createObject([
                    'class' => User::className(),
                    'scenario' => User::SCENARIO_CREATE_WECHAT,
                    'email' => $this->email,
                    'password' => $this->password
                ]);
                $this->user->generateUsername();//生成用户名
                if (!$this->user->create()) {
                    $this->addErrors($this->user->getErrors());
                    return false;
                }
            } else {
                if (!Password::validate($this->password, $this->user->password_hash)) {
                    $this->addError('password', Yii::t('user', 'Invalid login or password'));
                    return false;
                }
                if ($this->user->getIsBlocked()) {
                    $this->addError('login', Yii::t('user', 'Your account has been blocked.'));
                    return false;
                }
            }
            $this->wechat->connect($this->user);
            return Yii::$app->user->login($this->user, $this->getSetting('rememberFor'));
        } else {
            return false;
        }
    }
1216271
public function getData()
    {
        $this->validate('txnTime', 'orderId', 'trId');

        $data = array(
            'version'       => $this->getVersion(),  //版本号
            'encoding'      => $this->getEncoding(),  //编码方式
            'certId'        => $this->getTheCertId(),    //证书ID
            'signMethod'    => $this->getSignMethod(),  //签名方法
            'txnType'       => '79',        //交易类型
            'txnSubType'    => '05',        //交易子类
            'bizType'       => '000301',    //业务类型 000301 000902
            'accessType'    => '0',         //接入类型
            'channelType'   => '07',        //渠道类型 05:语音 07:互联网 08:移动
            'encryptCertId' => $this->getEncryptCertId(),
            'merId'         => $this->getMerId(),     //商户代码
            'orderId'       => $this->getOrderId(),     //商户订单号，填写开通并支付交易的orderId
            'txnTime'       => $this->getTxnTime(),    //订单发送时间
            'tokenPayData'  => sprintf('{trId=%s&tokenType=01}', $this->getTrId()), //标记请求者 trId
        );

        $data = $this->filter($data);

        $data['signature'] = $this->sign($data);

        var_dump($data);

        return $data;
    }
976156
public function getValue()
    {
        $value = $this->getModelValue();
        if (is_null($value)) {
            $value = $this->getDefaultValue();
        }

        return $value;
    }
189086
public function getData()
    {
        if (null === $this->data) {
            $this->data = $this->loadData();
        }

        return $this->data;
    }
511229
public function getValue()
    {
        if (!(is_array($this->data) && count($this->data))) {
            return null;
        }

        return implode('', $this->data);
    }
661428
public function getValue()
    {
        if (!$this->exists()) {
            return null;
        }
        $amount = $this->getAmount();
        $currency = $this->getCurrency();
        if (empty($currency)) {
            return $amount;
        }
        return $amount . ' ' . $currency;
    }
662164
public function getDataValue()
    {
        $count = count($this->dataValues);
        if ($count == 0) {
            return null;
        } elseif ($count == 1) {
            return $this->dataValues[0];
        }
        return $this->dataValues;
    }
1339547
public function get()
	{
		if ( ! file_exists($this->file))
			return array();

		$data = unserialize(base64_decode(file_get_contents($this->file)));

		return $data ?: array();
	}
20818
public function get()
    {
        $url = $this->url;
        if (!empty($this->replaceParams)) {
            $url = self::buildUri($url, $this->replaceParams);
        }
        if (!empty($this->queryParams)) {
            $url .= '?' . http_build_query($this->queryParams);
        }
        $this->adapter->setResponseTimeout($this->getResponseTimeout());
        $this->adapter->setConnectTimeout($this->getConnectTimeout());

        return $this->adapter->get(
            $url,
            array(
                self::HEADERS => $this->headers,
            )
        );
    }
1175488
private function getResult() {
        //返回数据集
        $result =   $this->PDOStatement->fetchAll(PDO::FETCH_ASSOC);
        $this->numRows = count( $result );
        return $result;
    }
1075559
public function get()
	{
		$view = $this->getView();

		try
		{
			$total = 0;
			$params = $this->storeSearchParams( $view->param( 'uo', [] ), 'customerorder' );
			$orderItems = $this->getOrderItems( $view->item, $params, $total );
			$baseItems = $this->getOrderBaseItems( $orderItems );

			$view->orderItems = $orderItems;
			$view->orderBaseItems = $baseItems;
			$view->orderTotal = $total;
			$view->orderBody = '';

			foreach( $this->getSubClients() as $client ) {
				$view->orderBody .= $client->search();
			}
		}
		catch( \Aimeos\MShop\Exception $e )
		{
			$error = array( 'customer-order' => $this->getContext()->getI18n()->dt( 'mshop', $e->getMessage() ) );
			$view->errors = $view->get( 'errors', [] ) + $error;
			$this->logException( $e );
		}
		catch( \Exception $e )
		{
			$error = array( 'customer-order' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
			$view->errors = $view->get( 'errors', [] ) + $error;
			$this->logException( $e );
		}

		return $this->render( $view );
	}
244704
public function get()
    {
        if (!isset($this->data) && isset($this->session[$this->key])) {
            $this->data = $this->session[$this->key];
            unset($this->session[$this->key]);
        }
        
        return $this->data ? (object)$this->data : null;
    }
486288
public function get()
    {
        $parameters = [];
        foreach ($this->parameters as $parameter) {
            $parameters[] = $parameter->get();
        }

        return [
            'type' => 'new',
            'class' => $this->className,
            'parameters' => $parameters,
            'dynamic' => $this->dynamic,
            'file' => $this->file,
            'line' => $this->line,
            'char' => $this->char,
        ];
    }