Tasks::get PHP Method

get() public method

public get ( $id )
    public function get($id)
    {
        $q = $this->base_tasks_q . ' WHERE tasks.sid= :id';
        $qresult = $this->basecoat->db->selectOne($q, array('id' => $id), true);
        if (!is_array($qresult) && $qresult < 0) {
            $this->logError($qresult . ' ' . \Basecoat\Core::$db->errorMsg . ' :: ' . $q);
        }
        return $qresult;
    }