Exemplo n.º 1
0
  function CreativeWork() {
    parent::__construct();
    $this->about->tag->tagtype = 'span';
    $this->author->tag->tagtype = 'span';
    $this->setaboutAttributes('about');
    $this->setauthorAttributes('author');
}
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $keys = ['author', 'publisher'];
     foreach ($keys as $key) {
         $this->properties[$key] = null;
     }
 }
Exemplo n.º 3
0
 /**
  * Organization constructor. Merges extendedStructure up
  *
  * @param array $attributes
  * @param array $extendedStructure
  */
 public function __construct(array $attributes, array $extendedStructure = [])
 {
     parent::__construct($attributes, array_merge($this->structure, $this->extendedStructure, $extendedStructure));
 }