DbSQLite3::ExistTable PHP Method

ExistTable() public method

public ExistTable ( $table )
$table
    public function ExistTable($table)
    {
        $a = $this->Query($this->sql->ExistTable($table));
        if (!is_array($a)) {
            return false;
        }
        $b = current($a);
        if (!is_array($b)) {
            return false;
        }
        $c = (int) current($b);
        if ($c > 0) {
            return true;
        } else {
            return false;
        }
    }