绑定值
@param array $param
433423
public function bind(array $param) {
		foreach ($param as $key => $value) {
			if (is_null($value)) {
				$type = \PDO::PARAM_NULL;
			} else if (is_bool($value)) {
				$type = \PDO::PARAM_BOOL;
			} else if (is_int($value)) {
				$type = \PDO::PARAM_INT;
			} else {
				$type = \PDO::PARAM_STR;
			}
			$this->result->bindValue(is_int($key) ? ++$key : $key, $value, $type);
		}
	}
337309
public function getParam($param = null)
    {
        if (null === $param) {
            return $this->_params;
        }

        return isset($this->_params[$param]) ? $this->_params[$param] : null;
    }
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;
    }
901062
public function remove($param)
    {
        if ( ! $this->isOpened()) {
            $this->start();
        }
        if (isset($this->attributes[$param])) {
            unset($this->attributes[$param]);
        }
        return $this;
    }
1087910
public function param($param, $help, $required = false)
    {
        $options = array();

        $options['name'] = $param;
        if ($required) {
            $options['help'] = '<' . $param . '> ' . $help;
            $options['required'] = true;
        } else {
            $options['help'] = '[' . $param . '] ' . $help;
            $options['required'] = false;
        }

        $this->setParam($options);
    }
1313883
public function setParam($param, $value)
    {
        if (isset($this->stream)) {
            switch ($param) {
                case 'timeout':
                    if ($this->stream) {
                        stream_set_timeout($this->stream, $value);
                    }
                    break;

                case 'blocking':
                    if ($this->stream) {
                        stream_set_blocking($this->stream, 1);
                    }
            }
        }
        $this->params[$param] = $value;
    }
1146339
public function init($param = null)
    {

        $this->setOptions($param);

        try {
            $this->readIndexList();
            // load the cache into the memory for faster access
            if (!empty($this->cacheListing)) {
                $this->loadCache();
            }
            $this->setConnected(true);

        } catch (CacheException $e) {
            throw $e;
        }

        return true;
    }
781177
public function hasParam($param)
	{
		$param = (string)$this->params[$param];
		
		return strlen($param) > 0 ? true : false;
	}
1136387
function isFunctionParam( $param )
    {
        $isFunction = false;
        if( is_array( $param) && isset( $param['_function'] ) )
            $isFunction = true;

        return $isFunction;
    }
1275882
public function getParam($param = null)
    {
        if (null === $param) {
            return $this->params;
        }

        return isset($this->params[$param]) ? $this->params[$param] : null;
    }
351316
public static function setParams(&$param)
    {
        $arr_req = array();
        foreach($param as $key=>$value){
            if(is_array($value)) {
                $arr_req[] = "${key}=".implode("&",$value);
            } else {
                if ($value == '') {
                    continue;
                }
                $arr_req[] = "${key}=${value}";
            }
        }
        $str = implode("&",$arr_req);

        return $str;
    }
1099245
private function bindParam($stmt)
    {
        // Bind parameters
        for ($i = 1; $i <= count($this->bindings); $i++) {
            $stmt->bindParam($i, $this->bindings[$i - 1]);
        }
    }
1051612
public function bind($para, $value)
    {
        if (is_string($para)) {
            $this->parameters[sizeof($this->parameters)] = ":" . $para . "\x7F" . $value;
        } else {
            $this->parameters[sizeof($this->parameters)] = $para . "\x7F" . $value;
        }
    }
931622
final protected function throwIfArray(ReflectionParameter $param, ?string $type): void
    {
        if ($type === 'array') {
            throw new Exception('The parameter `$' . $param->getName() . '` on method ' . $this->getMethodFullName($param->getDeclaringFunction()) . ' is type hinted as `array` and is not overridden via `@API\Argument` annotation. Either change the type hint or specify the type with `@API\Argument` annotation.');
        }
    }
472147
private function setTimeInfo(int $value, array $param)
    {
        if (!$this->certeza[$param[0]] && !isset($this->data[$param[0]])) {
            $this->data[$param[0]] = $value;

        } elseif (!$this->certeza[$param[1]] && !isset($this->data[$param[1]])) {
            $temp = $this->data[$param[0]];
            $this->data[$param[0]] = $value;
            $this->data[$param[1]] = $temp;

        } elseif ($this->certeza[$param[0]]) {
            if (!$this->certeza[$param[1]]) {
                $this->data[$param[1]] = $value;
            }

        } elseif ($this->certeza[$param[1]]) {
            if (!$this->certeza[$param[0]]) {
                $this->data[$param[0]] = $value;
            }
        }
    }
811751
public function call($param = null)
    {
        if (!$this->strategy) {
            return null;
        }

        return $this->getStrategy()->call($param);
    }
1288821
public function addArray(array $param = null)
    {
        $this->param = array_merge($this->param, $param);

        return $this;
    }