Exakat\Data\Methods::getBugFixes PHP Method

getBugFixes() public method

public getBugFixes ( )
    public function getBugFixes()
    {
        $return = array();
        $query = <<<SQL
SELECT * FROM bugfixes ORDER BY SUBSTR(solvedIn71, 5) + 0 DESC, SUBSTR(solvedIn70, 5) + 0 DESC, SUBSTR(56, 5) + 0 DESC 
SQL;
        $res = $this->sqlite->query($query);
        while ($row = $res->fetchArray(\SQLITE3_ASSOC)) {
            $return[] = $row;
        }
        return $return;
    }

Usage Example

Beispiel #1
0
 public function dependsOn()
 {
     $data = new Methods();
     $this->bugfixes = $data->getBugFixes();
     $depends = array();
     foreach ($this->bugfixes as $bugfix) {
         if (!empty($bugfix['analyzer'])) {
             $depends[] = $bugfix['analyzer'];
         }
     }
     return $depends;
 }
All Usage Examples Of Exakat\Data\Methods::getBugFixes