PDO->setAttribute()

(no version information, might be only in CVS)

PDO->setAttribute() --  Set an attribute

Descrição

class PDO {

bool setAttribute ( int attribute, mixed value )

}

Sets an attribute on the database handle. Some of the available generic attributes are listed below; some drivers may make use of additional driver specific attributes.

Valores de retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.