public function getTranslatedList($user_id, $status = true)
    {
        $conditions = array(
            'status' => $status,
            'user_id' => $user_id
        );

        $addresses = array();
        foreach ((array) $this->getList($conditions) as $address_id => $address) {
            $addresses[$address_id] = $this->getTranslated($address, true);
        }

        return $addresses;
    }
public function getTranslatedList($user_id, $status = true)
    {
        $conditions = array(
            'status' => $status,
            'user_id' => $user_id
        );

        $addresses = array();
        foreach ((array) $this->getList($conditions) as $address_id => $address) {
            $addresses[$address_id] = $this->getTranslated($address, true);
        }

        return $addresses;
    }
public function getTranslatedList ( $ user_id , $ status = true ) { $ conditions = array ( 'status' => $ status , 'user_id' => $ user_id ) ; $ addresses = array ( ) ; foreach ( ( array ) $ this -> getList ( $ conditions ) as $ address_id => $ address ) { $ addresses [ $ address_id ] = $ this -> getTranslated ( $ address , true ) ; } return $ addresses ; }
Returns an array of addresses with translated address fields for the user
@param integer $user_id
@param boolean $status
@return array
Returns an array of addresses with translated address fields for the user