src/Qotd.php
public function getQuotesAsStore() {

        if ( is_null($this->quotes) ) return array(array('id'=>0, 'quote'=>$this->no_quotes_message));

        $return = array();
        
        foreach($this->quotes as $id=>$quote) array_push($return, array('id'=>$id, 'quote'=>$quote));

        return $return;

    }
public function getQuotesAsStore() {

        if ( is_null($this->quotes) ) return array(array('id'=>0, 'quote'=>$this->no_quotes_message));

        $return = array();
        
        foreach($this->quotes as $id=>$quote) array_push($return, array('id'=>$id, 'quote'=>$quote));

        return $return;

    }
public function getQuotesAsStore ( ) { if ( is_null ( $ this -> quotes ) ) return array ( array ( 'id' => 0 , 'quote' => $ this -> no_quotes_message ) ) ; $ return = array ( ) ; foreach ( $ this -> quotes as $ id => $ quote ) array_push ( $ return , array ( 'id' => $ id , 'quote' => $ quote ) ) ; return $ return ; }
Get all quotes as a store

@return  array
Get all quotes as a store