Exemplo n.º 1
0
 /**
  *
  */
 function __construct()
 {
     $this->resetInternal();
     // Load default tags/attributes
     $this->allowedAttrs = AllowedAttributes::getAttributes();
     $this->allowedTags = AllowedTags::getTags();
 }
Exemplo n.º 2
0
 /**
  * Test that an array is returned
  */
 public function testThatItReturnsAnArray()
 {
     $result = AllowedAttributes::getAttributes();
     $this->assertInternalType('array', $result);
 }