Example #1
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     return $meta;
 }
Example #2
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     $meta->dimensions->respectMinContentSize = true;
     return $meta;
 }
Example #3
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     // You can further add your own meta here
     return $meta;
 }
Example #4
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     // We do not want to display the font attributes and font styles
     $meta->properties['fonts'] = false;
     return $meta;
 }
Example #5
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     $template = EB::template();
     $meta->blockWrapper = $template->output('site/composer/blocks/handlers/text/block_wrapper');
     $meta->contentWrapper = $template->output('site/composer/blocks/handlers/text/content_wrapper');
     return $meta;
 }
Example #6
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     // We do not want to display the font attributes and font styles
     $meta->properties['fonts'] = false;
     $meta->properties['textpanel'] = false;
     $template = EB::template();
     $meta->wrapper = $template->output('site/composer/blocks/handlers/dailymotion/wrapper');
     return $meta;
 }
Example #7
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     // We do not want to display the font attributes and font styles
     $meta->properties['fonts'] = false;
     $meta->properties['textpanel'] = false;
     // Set the template for the video player
     $theme = EB::template();
     $meta->preview = $theme->output('site/composer/blocks/handlers/file/preview');
     return $meta;
 }
Example #8
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     // We do not want to display the dimensions fieldset, font fieldset and text panel.
     $meta->dimensions->enabled = false;
     $meta->properties['fonts'] = false;
     $meta->properties['textpanel'] = false;
     // Set the template for the video player
     $template = EB::template();
     $meta->player = $template->output('site/composer/blocks/handlers/video/player');
     return $meta;
 }
Example #9
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     // Disable dimensions fieldset
     $meta->properties['fonts'] = false;
     $template = EB::template();
     $meta->thumbContainer = $template->output('site/composer/blocks/handlers/thumbnails/container');
     $meta->thumbColumn = $template->output('site/composer/blocks/handlers/thumbnails/column');
     $meta->thumbItem = $template->output('site/composer/blocks/handlers/thumbnails/item');
     $meta->thumbPlaceholder = $template->output('site/composer/blocks/handlers/thumbnails/placeholder');
     return $meta;
 }
Example #10
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     // We do not want to display the font attributes and font styles
     $meta->properties['fonts'] = false;
     $template = EB::template();
     $meta->galleryContainer = $template->output('site/composer/blocks/handlers/gallery/container');
     $meta->galleryItem = $template->output('site/composer/blocks/handlers/gallery/item');
     $meta->galleryPlaceholder = $template->output('site/composer/blocks/handlers/gallery/placeholder');
     $meta->galleryMenuItem = $template->output('site/composer/blocks/handlers/gallery/menu_item');
     $meta->galleryListItem = $template->output('site/composer/blocks/handlers/gallery/list_item');
     return $meta;
 }
Example #11
0
 public function meta()
 {
     static $meta;
     if (isset($meta)) {
         return $meta;
     }
     $meta = parent::meta();
     // Disable dimensions fieldset
     $meta->dimensions->enabled = false;
     $meta->properties['fonts'] = false;
     // Store image template
     $template = EB::template();
     $meta->imageContainer = $template->output('site/composer/blocks/handlers/image/container');
     $meta->imageCaption = $template->output('site/composer/blocks/handlers/image/caption');
     $meta->imagePopupButton = $template->output('site/composer/blocks/handlers/image/popup_button');
     $meta->imageHint = $template->output('site/composer/blocks/handlers/image/hint');
     return $meta;
 }