Flash the input for the current request to the session.

@param  string $filter
@param  array $keys
508703
public function flash( $filter = null, $keys = [] )
	{
		$flash = ( !is_null( $filter ) ) ? $this->$filter( $keys ) : $this->input();

		$this->session()->flashInput( $flash );
	}
945453
public function getByKey(string $key, AbstractFilter $filter = null)
    {
        return $this->children->getByKey($key, $filter);
    }
14304
public function flash_except( $keys ) {
		$this->session()->flash_input(
			$this->except( is_array( $keys ) ? $keys : func_get_args() )
		);
	}
173721
public function setFilters($filters)
    {
        if(is_null($filters)){
            $filters = "";
        }
        if (is_string($filters)) {
            $filters = $this->parseFilters($filters);
        }

        $this->filters = array_merge($this->filters, $filters);
    }
1190199
private function _match($key, $value, $filter)
    {
        if ($this->scanKeys) {
            if ($filter->match($key)) {
                return true;
            }
        }

        if ($filter->match($value)) {
            return true;
        }

        return false;
    }
616455
public function sendByGroup($filter = [], $message = [])
    {
        $msg = array_merge(['filter' => $filter], $message);
        $msg['msgtype'] = array_keys($message)[0];

        return $this->http->jsonPost(self::API_SEND, $msg);

    }
282788
protected function _input($data, $filter = true)
    {
        // validates input
        if (is_array($filter)) {
            $data = array_intersect_key($data, array_flip($filter));
        }

        unset($data['id']);
        unset($data['_id']);
        unset($data['user_id']);
        unset($data['user']);

        return $data;
    }
185660
public function multiPrefixs(array $keys, array $values, $bool = "must", $filter = false, array $params = []) {
        $subQuery = $this->orWhere($bool);
        foreach ($keys as $key) {
            $subQuery->prefixs($key, $values, $bool, true, $params);
        }
        $subQuery->endSubQuery();
        return $this;
    }
141271
public static function flash(string $key, $value = null)
  {
    /**
     * Check if session already has variables.
     *
     * If variables have already been set, merge the new
     * variables with the old ones.
     */
    return $_SESSION['application']['with'] = array_merge(
                                                isset($_SESSION['application']['with']) ? $_SESSION['application']['with'] : [],
                                                [$key => $value]
                                              );
  }
311864
public function filter($key, $filter=null, $option=null) {
		if (is_int(strpos($key,'.'))) {
			list($key,$fkey) = explode('.',$key,2);
			if (!isset($this->relFilter[$key.'.']))
				$this->relFilter[$key.'.'] = array();
			$this->relFilter[$key.'.'][$fkey] = array($filter,$option);
		} else
			$this->relFilter[$key] = array($filter,$option);
		return $this;
	}
511447
public function now($key, $value)
    {
        $this->put($key, $value);

        $this->push('_flash.old', $key);
    }
146265
public function sortByKeyFilter($input, $filter, $direction = SORT_ASC, $sort_flags = SORT_REGULAR)
    {
        return Utils::sortArrayByKey($input, $filter, $direction, $sort_flags);
    }
1201934
public function channels(array $filter = array()) {
        $this->setTokenValue($this->getEntityIdName(), $this->getId());

        $collection_name = '\\Kazoo\\Api\\Collection\\Channels';
        return new $collection_name($this, array($filter));
    }
1039024
public function addFilters(array $filters)
    {
        foreach ($filters as $filter) {
            if ($filter === null) {
                continue;
            }

            $this->addFilter($filter);
        }

        return $this;
    }
1371966
public function flash_only( $keys ) {
		$this->session()->flash_input(
			$this->only( is_array( $keys ) ? $keys : func_get_args() )
		);
	}
6608
protected function initDataPacket($filter, $key)
    {
        if (!array_key_exists($key, $_POST)) {
            $this->errorMessage = $this->config->messages[$key];
            $this->ajax_response_handler();
        }
        $this->dataPacket[$key] = $filter($_POST[$key]);
    }
249260
public function multiMatch(array $keys, $value, $bool, $filter = false, array $params = []) {
        $this->addBool($this->makeFilteredQuery(["multi_match" => ["query" => $value, "fields" => $keys] + $params], $filter), $bool, $filter);
        return $this;
    }