public function queueSummary($name)
    {
        $qid = $this->getQueueId($name);
        
        $db = $this->getDb();
        $list = array();
        $sql = 'SELECT * FROM ' . $this->messageTable . ' WHERE queue_id = :queue_id';
        $sth = $db->prepare($sql);
        $sth->execute(array('queue_id'=>$qid));
        foreach($sth->fetchAll() as $msg) {
            $o = unserialize(base64_decode($msg['body']));
            $list[] = array(
                'queue_name'    => $name,
                'message_id'    => $msg['message_id'],
                'message_class' => get_class($o),
                'handle'        => $msg['handle'],
                'log'           => $msg['log'],
                'created'       => $msg['created'],
                'params'        => $o->toArray(),
                'timeout'       => $msg['timeout'],
            );
        }
        return $list;
    }
public function queueSummary($name)
    {
        $qid = $this->getQueueId($name);
        
        $db = $this->getDb();
        $list = array();
        $sql = 'SELECT * FROM ' . $this->messageTable . ' WHERE queue_id = :queue_id';
        $sth = $db->prepare($sql);
        $sth->execute(array('queue_id'=>$qid));
        foreach($sth->fetchAll() as $msg) {
            $o = unserialize(base64_decode($msg['body']));
            $list[] = array(
                'queue_name'    => $name,
                'message_id'    => $msg['message_id'],
                'message_class' => get_class($o),
                'handle'        => $msg['handle'],
                'log'           => $msg['log'],
                'created'       => $msg['created'],
                'params'        => $o->toArray(),
                'timeout'       => $msg['timeout'],
            );
        }
        return $list;
    }
public function queueSummary ( $ name ) { $ qid = $ this -> getQueueId ( $ name ) ; $ db = $ this -> getDb ( ) ; $ list = array ( ) ; $ sql = 'SELECT * FROM ' . $ this -> messageTable . ' WHERE queue_id = :queue_id' ; $ sth = $ db -> prepare ( $ sql ) ; $ sth -> execute ( array ( 'queue_id' => $ qid ) ) ; foreach ( $ sth -> fetchAll ( ) as $ msg ) { $ o = unserialize ( base64_decode ( $ msg [ 'body' ] ) ) ; $ list [ ] = array ( 'queue_name' => $ name , 'message_id' => $ msg [ 'message_id' ] , 'message_class' => get_class ( $ o ) , 'handle' => $ msg [ 'handle' ] , 'log' => $ msg [ 'log' ] , 'created' => $ msg [ 'created' ] , 'params' => $ o -> toArray ( ) , 'timeout' => $ msg [ 'timeout' ] , ) ; } return $ list ; }
Return Queue summary

@param string $name
@return array
Return Queue summary