Nette\Forms\Controls\TextBase::setNullable PHP 메소드

setNullable() 공개 메소드

Sets whether getValue() returns NULL instead of empty string.
public setNullable ( $value = TRUE ) : self
리턴 self
    public function setNullable($value = TRUE)
    {
        $this->nullable = (bool) $value;
        return $this;
    }