PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

fdf_set_version> <fdf_set_target_frame
Last updated: Fri, 18 Jul 2008

view this page in

fdf_set_value

(PHP 4, PHP 5)

fdf_set_value — Imposta il valore di un campo

Descrizione

bool fdf_set_value ( resource $fdf_document , string $fieldname , mixed $value [, int $isName ] )

La funzione fdf_set_value() imposta il campo fieldname al valore value . Il parametro value sarà memorizzato come stringa a meno che non si tratti di una matrice. In questo caso tutti gli elementi della matrice saranno memorizzati in una matrice di valori.

Nota: Nella vecchia versione del toolkit fdf l'ultimo parametro determinava se il valore del campo doveva essere convertito in un PDF Name (isName = 1) o in una stringa PDF (isName = 0). Questo campo non viene più utilizzato con l'attuale versione 5.0. Per motivi di compatibilità è ancora supportato come parametro opzionale a partire da PHP 4.3, ma viene ignorato.
Il supporto per value come matrice è stato aggiunto in PHP 4.3.

Vedere anche fdf_get_value() e fdf_remove_item().



add a note add a note User Contributed Notes
fdf_set_value
There are no user contributed notes for this page.

fdf_set_version> <fdf_set_target_frame
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites