SetAlias() public method

Function to set alias which will be expanded on page rendering.
public SetAlias ( string $name, string $value ) : void
$name string name of the alias
$value string value of the alias
return void
Ejemplo n.º 1
0
 /**
  * Test for PDF::getPDFData
  *
  * @group large
  * @return void
  */
 public function testAlias()
 {
     $arr = new PDF();
     $arr->SetAlias('{00}', '32');
     $this->assertContains('PDF', $arr->getPDFData());
 }