Overview
Comment:Rendre getArgType public car utilisé dans Squelette
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: b82b088636309f71b5cec3a8b30f403540f160c0
User & Date: bohwaz on 2017-05-01 04:45:02
Other Links: branch diff | manifest | tags
Context
2017-05-01
05:45
Modernisation du code check-in: 2eb85374b2 user: bohwaz tags: dev
04:45
Rendre getArgType public car utilisé dans Squelette check-in: b82b088636 user: bohwaz tags: dev
2017-04-28
07:38
Merge changements du trunk avec branche de dév check-in: 52c8d1e88b user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/DB.php from [f26c99ab91] to [e3dd232e5a].

129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
    {
        $this->connect();
        $this->db->exec('ROLLBACK;');
        $this->transaction = 0;
        return true;
    }

    protected function getArgType(&$arg, $name = '')
    {
        switch (gettype($arg))
        {
            case 'double':
                return \SQLITE3_FLOAT;
            case 'integer':
            case 'boolean':







|







129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
    {
        $this->connect();
        $this->db->exec('ROLLBACK;');
        $this->transaction = 0;
        return true;
    }

    public function getArgType(&$arg, $name = '')
    {
        switch (gettype($arg))
        {
            case 'double':
                return \SQLITE3_FLOAT;
            case 'integer':
            case 'boolean':