Пример #1
0
 public function __construct($content = null, $properties = null)
 {
     $properties['class'] = 'fb-like';
     $properties['data-share'] = 'true';
     $properties['data-width'] = '450';
     $properties['data-show-faces'] = 'true';
     parent::__construct($content, $properties);
 }
Пример #2
0
 public function __construct($content = 'Skeli', $properties = null)
 {
     $properties['class'] = 'fb-page';
     $properties['data-href'] = 'https://www.facebook.com/SKELIjedeSVOU/';
     $properties['data-tabs'] = 'timeline,events,messages';
     $properties['data-width'] = 600;
     $properties['data-small-header'] = 'true';
     $properties['data-adapt-container-width'] = 'true';
     $properties['data-hide-cover'] = 'false';
     $properties['data-show-facepile'] = 'true';
     parent::__construct(new \Ease\Html\Div('<blockquote cite = "https://www.facebook.com/SKELIjedeSVOU/"><a href = "https://www.facebook.com/SKELIjedeSVOU/">Skeli</a></blockquote>', ['class' => 'fb-xfbml-parse-ignore']), $properties);
 }
Пример #3
0
 /**
  * Main Menu Object
  */
 function __construct()
 {
     parent::__construct(null, ['id' => 'MainMenu']);
 }
Пример #4
0
 /**
  * Articles
  *
  * @param News $news
  */
 public function __construct($news)
 {
     parent::__construct();
     $this->newsEngine = $news;
 }
Пример #5
0
 /**
  * Přidá do formuláře tlačítko "Uložit a další"
  */
 function addSubmitSaveAndNext()
 {
     $this->savers->addItem(new \Ease\Html\InputSubmitTag('gotonew', _('Uložit a další'), ['class' => 'btn btn-success']));
 }