开启后, 可以选择多个日期, 仅在 date 下可用, 默认为false

@param bool $bool
@return $this
8108
public function multiple($bool = true)
    {
        if ($this->props['type'] == 'date')
            $this->props['multiple'] = (bool)$bool;
        else
            $this->props['multiple'] = false;

        return $this;
    }
771155
final public function distinct($boolean = TRUE)
    {
        $this->arrayDistinct = (is_bool($boolean)) ? $boolean : TRUE;
        return $this;
    }
887410
public function csrfProtect($bool = null)
    {
        if ($bool === null) {
            return $this->config->get('csrf_protect', true);
        }

        $this->config->set('csrf_protect', (bool) $bool);

        return $this;
    }
714055
public function validateAsArray($bool = null) {

		if(false === is_bool($bool) && null !== $bool) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type boolean, "%s" given', __METHOD__, gettype($bool)), E_USER_ERROR);
		}

		if(null === $bool) {
			$bool = true;
		}

		foreach($this -> getFieldnames() as $field) {
			$this -> validateAsArray[$field] = $bool;
		}

		return $this;
	}
811335
public function ignoreWhitespaces(bool $bool = true): Compare
    {
        $this->ignoreWhitespaces = $this->useOption('-w', $bool);
        return $this;
    }
973221
public function useColor($bool = true)
    {
        if ($this->output instanceof ColorfulOutputInterface) {
            $this->output->getProcessor()->setNoColors(!$bool);
        }

        return $this;
    }
1156077
public function isNormalized($bool = null)
	{
		if (isset($bool))
		{
			$this->isNormalized = $bool;
		}

		return $this->isNormalized;
	}
691185
public function setBoolean($boolean = null)
    {
        $this->boolean = null !== $boolean ? (bool) $boolean : null;

        return $this;
    }
672375
public function ifTrue($bool)
    {
        if (null !== $this->apply) {
            throw new \RuntimeException('Cannot nest ifTrue or ifFalse call');
        }

        $this->apply = (true === $bool);

        return $this;
    }
221918
public function isHmvc($boolean = null)
    {
        if ($boolean === null) {
            return $this->hmvc;
        }

        $this->hmvc = (bool) $boolean;

        return $this;
    }
493002
static function dbd($bool = true)
	{
		global $php;
		if($bool) $php->db->debug = true;
		else $php->db->debug = false;
	}
1040229
public function reverse($bool = true)
    {
        if ($bool) {
            $this->parameters['ScanIndexForward'] = false;
        } else {
            unset($this->parameters['ScanIndexForward']);
        }

        return $this;
    }
324832
function setDebug($bool)
    {
        $this->dbug = (boolean) $bool;
        $this->cfs_http->setDebug($this->dbug);
    }
692851
public function ignoreMemzero($bool = null)
    {
        if ($bool === null) {
            return $this->ignoreMemzero;
        }

        $this->ignoreMemzero = (bool) $bool;

        return $this;
    }
284286
public static function setRedirect($bool) {

		if(null !== $bool && false === is_bool($bool)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type boolean, "%s" given', __METHOD__, gettype($bool)), E_USER_ERROR);
		}

		static :: $isRedirect = $bool;
	}
661039
public function setSatisfied($bool = true)
    {
        $storage = $this->getStorage()->read() ?: [];
        $storage['is_satisfied'] = $bool;
        $this->getStorage()->write($storage);

        return $this;
    }
545035
public function boolean()
    {
        $message = ['%s is {{not|}} a boolean', $this->value];
        $this->assert(is_bool($this->value), $message);

        return $this;
    }