setCharset() public méthode

Set charset
public setCharset ( mixed $charset ) : void
$charset mixed
Résultat void
Exemple #1
0
 /**
  * Test charset
  */
 public function testCharset()
 {
     $charset = 'ISO-8859-1';
     $this->vcard->setCharset($charset);
     $this->assertEquals($charset, $this->vcard->getCharset());
 }