Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it L'avatar di strae
    Registrato dal
    Apr 2008
    Messaggi
    407

    problema con ZendFramework

    ciao..

    ho un problema con ZF lavorando su GData, provando a listare i feed di calendar, con i codice di esempio proposto nella documentazione ZF:

    Codice PHP:
    try {
        
    $listFeed $service->getCalendarListFeed();
    } catch (
    Zend_Gdata_App_Exception $e) {
        echo 
    "Error: " $e->getResponse();
    }

    echo 
    "<h1>Calendar List Feed</h1>";
    echo 
    "<ul>";
    foreach (
    $listFeed as $calendar) {
      echo 
    "[*]" $calendar->title " (Event Feed: " $calendar->id ")";
    }
    echo 
    "[/list]"
    a video mi esce
    'Object id #31 (Event Feed: Object id #28)'..

    se invece l'echo lo scrivo in questo modo
    Codice PHP:
        echo "[*]";
        echo 
    $calendar->title;
        echo 
    " (Event Feed: ";
        echo 
    $calendar->id;
        echo 
    ")"
    ottengo il risultato corretto, cioè
    'Calendario di test (Event Feed: http://www.google.com/calendar/feeds/default/mioaccount)'

    ...coma mai mi succede questa cosa? le due sintassi non dovrebbero essere equivalenti?
    You HAVE to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.
    I can accept failure, everyone fails at something - But I can't accept not trying.

  2. #2
    Utente di HTML.it L'avatar di strae
    Registrato dal
    Apr 2008
    Messaggi
    407
    up..
    You HAVE to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.
    I can accept failure, everyone fails at something - But I can't accept not trying.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.