Access to the body

matt's Avatar

matt

20 Jan, 2009 06:43 PM

Ok im having problems accessing the from the ticket that lighthouse returns when i request it, All the other elements return properly but the body and the versions are always missing for some reason.

the fucntion im using to get the results looks like this;

public function getTicket($projID,$ticketID, $getParams=array()){

    if (!empty($getParams)){
        foreach ($getParams as $key => $val){
            $qString .= '&'.$key.'='.urlencode($val).'';
        }
        $qString = '?'.substr($qString, 1);
    }
    $res = $this->curl->get("projects/".$projID."/tickets/".$ticketID.".xml".$qString);
    $this->checkCode($res); 

    return $this->loadObj($res['response']);

like i say, all the other values return but never any body or versions... im a bit lost now.

  1. 1 Posted by matt on 22 Jan, 2009 09:36 AM

    matt's Avatar

    No matter, reseolved this issue now.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac