获取绑定在占位符上的值

@return array
480771
public function getBindValuesSELECT()
    {
        $bind_values = $this->bind_values;
        $i           = 1;
        foreach ($this->bind_where as $val) {
            $bind_values[$i] = $val;
            $i++;
        }
        foreach ($this->bind_having as $val) {
            $bind_values[$i] = $val;
            $i++;
        }
        return $bind_values;
    }
58771
public function getValues()
        {
            $values = $this->values;

            foreach ($this->criteria as $criteria) {
                foreach ($criteria->getValues() as $value) {
                    if (is_array($value)) {
                        foreach ($value as $single_value) {
                            $values[] = $single_value;
                        }
                    } else {
                        $values[] = $value;
                    }
                }
            }

            return $values;
        }
19984
public function getValidValue()
    {
        $values = [];
        foreach($this->values as $key => $value) {
            if ($this->isValidValue($value)) {
                $values[$key] = $value->getValidValue();
            }
        }
        return $values;
    }
1092804
public function fetch(): array
    {
        $sql = $this->builder->buildSql();
        $this->builder = new QueryBuilder($this->pdo);
        return $this->fetchBySql($sql);
    }
754688
public function getData()
    {
        return [
            'recipient' => $this->user_ref ? ['user_ref' => $this->recipient] : ['id' => $this->recipient],
            'message' => [
                'text' => $this->text
            ],
            'tag'=> $this->tag,
            'notification_type'=> $this->notification_type,
            'messaging_type' => $this->messaging_type
        ];
    }
43994
public function values()
	{
		return array(
			'name' => $this->name,
			'description' => $this->description,
			'level' => $this->level,
			'status' => $this->status,
			'currentValue' => $this->value,
		);
	}
136580
public function getValues()
    {

        $values = [];
        foreach($this->getElements() as $name => $e) {
            /** @var $e \FrenchFrogs\Form\Element\Element */
            if ($e->isDiscreet()) {continue;}
            $values[$name] = $e->getValue();
        }

        return $values;
    }
529791
public function getStatus(): array
    {
        return [
            'url' => $this->request_url,
            'route' => $this->getCurrentRoute(),
            'ajax' => $this->ajax,
            'method' => $_SERVER['REQUEST_METHOD'],
            'format' => $this->format,
            'match' => $this->match
        ];
    }
860545
public function getBindings() {
        $keys = func_num_args() < 1 ? array_keys($this->bindings) : func_get_args();
        $args = [];
        foreach ($keys as $item) {
            if (!array_key_exists($item, $this->bindings)) {
                continue;
            }
            $args = array_merge($args, $this->bindings[$item]);
        }
        return $args;
    }
818987
public function fetch()
    {
        return [
            'name' => $this->getName($this->controllerName),
            'collection' => $this->getCollection(),
            'resource' => $this->getResource(),
            'model' => $this->getModel(),
            'namespace' => $this->getNamespace()
        ];
    }
298667
public function getValues()
    {
        $contentType = $this->getContenttype();
        if (!isset($contentType['fields'])) {
            return [];
        }

        $allValues = $this->toArray();

        return array_intersect_key($allValues, ($contentType['fields']));
    }
931659
public function getContext()
    {
        return [
            'username' => $this->username,
            'requestPath' => $this->requestPath,
            'errors' => $this->errors,
            'groups' => $this->groups,
            'successful' => !$this->errors
        ];
    }
1369270
public static function get()
    {
        return [
            self::$equals,
            self::$lessThan,
            self::$lessThanEqualTo,
            self::$greaterThan,
            self::$greaterThanEqualTo,
            self::$doesNotEqual,
            self::$doesNotEqualAlt,
            self::$is,
            self::$isA,
            self::$isNot,
            self::$like,
        ];
    }
608747
public function fetch() {
		if ($this->selection) {
			$fetch = $this->selection->fetch();
			if ($fetch) {
				return $this->createEntity($fetch);
			} else {
				return array();
			}
		} else {
			return array();
		}
	}
1242707
public function getOptions()
    {
        if ($this->connect) {
            if (! $this->options) {
                $this->options = collect();
            } else {
                $this->options = collect($this->options);
            }
            $model = new $this->connect->model;
            $get_options_query = $model;
            if (isset($this->connect->where_key) && $this->connect->where_key) {
                $get_options_query = $get_options_query->where($this->connect->where_key, '=', $this->connect->where_value);
            }

            if (isset($this->connect->group_by) && $this->connect->group_by) {
                $get_options_query = $get_options_query->whereNotNull($this->connect->group_by)->groupBy([$this->connect->group_by]);
            }

            if ($get_options = $get_options_query->get()) {
                foreach ($get_options as $get_options_value) {
                    if ($get_options_value !== null) {
                        if ($this->option_key) {
                            $this->options->put($get_options_value->{$this->option_key}, $get_options_value->{$this->option_title});
                        } else {
                            $this->options->push($get_options_value);
                        }
                    }
                }
            }

            if (!$this->option_key) {
                $this->options = $this->options->pluck($this->name);
            }
        } else {
            $this->options = collect($this->options);
        }

        return $this->options->unique();
    }
148656
public function get(): array
    {
        /**
         * @var $queryObject   \Pecee\Pixie\QueryBuilder\QueryObject
         * @var $executionTime float
         * @var $start         float
         * @var $result        array
         */

        $queryObject = $this->getQuery();
        $this->connection->setLastQuery($queryObject);

        $this->fireEvents(EventHandler::EVENT_BEFORE_SELECT, $queryObject);

        $executionTime = 0;
        $startTime = microtime(true);

        if ($this->pdoStatement === null) {

            [$this->pdoStatement, $executionTime] = $this->statement(
                $queryObject->getSql(),
                $queryObject->getBindings()
            );
        }

        $result = \call_user_func_array([$this->pdoStatement, 'fetchAll'], $this->fetchParameters);
        $this->pdoStatement = null;

        $executionTime += microtime(true) - $startTime;

        $this->fireEvents(EventHandler::EVENT_AFTER_SELECT, $queryObject, [
            'execution_time' => $executionTime,
        ]);

        return $result;
    }
559341
public function getItems()
    {
        if (!$this->itemsChanged && $this->cacheItems && count($this->cacheItems) === count($this->entity->getItems())) {
            return $this->cacheItems;
        } else {
            $this->itemsChanged = false;
            $this->cacheItems = array();
            foreach ($this->entity->getItems() as $item) {
                $this->cacheItems[] = $this->itemFactory->createApiEntity($item, $this->locale, $this->getCurrencyCode());
            }
        }

        return $this->cacheItems;
    }