예제 #1
0
 /**
  * Implements __construct().
  *
  * @param array|\ChapterThree\AppleNewsAPI\Document\GalleryItem $items
  *   GalleryItem items.
  * @param mixed $identifier
  *   Identifier.
  */
 public function __construct(array $items, $identifier = NULL)
 {
     parent::__construct('gallery', $identifier);
     $this->setItems($items);
 }
 /**
  * Implements __construct().
  *
  * @param mixed $identifier
  *   Identifier.
  */
 public function __construct($identifier = NULL)
 {
     parent::__construct('medium_rectangle_advertisement', $identifier);
 }
예제 #3
0
 /**
  * Implements __construct().
  *
  * @param mixed $role
  *   Role.
  * @param mixed $text
  *   Text.
  * @param mixed $identifier
  *   Identifier.
  */
 public function __construct($role, $text, $identifier = NULL)
 {
     parent::__construct($role, $identifier);
     $this->setText($text);
 }
예제 #4
0
 /**
  * Implements __construct().
  *
  * @param mixed $identifier
  *   Identifier.
  */
 public function __construct($identifier = NULL)
 {
     parent::__construct('divider', $identifier);
 }
예제 #5
0
 /**
  * {@inheritdoc}
  */
 public function __construct($identifier = NULL)
 {
     return parent::__construct('role', $identifier);
 }
예제 #6
0
 /**
  * Implements __construct().
  *
  * @param mixed $identifier
  *   Identifier.
  */
 public function __construct($identifier = NULL)
 {
     parent::__construct('banner_advertisement', $identifier);
 }