示例#1
0
 public function __construct(MarkdownInterface $parser)
 {
     parent::__construct($parser);
     $this->counter = PluginCounter::getInstance();
     $this->config = array('section_style' => array('color' => '', 'background-image' => '', 'background-color' => '', 'min-height' => ''), 'container_style' => array('vertical-align' => ''), 'nojumbotron' => false, 'align' => '', 'class' => '');
     $this->specialIdAttribute = $this->specialClassAttribute = null;
 }
示例#2
0
 public function __construct(MarkdownInterface $parser)
 {
     parent::__construct($parser);
     $this->classAttribute = '';
     $this->type = self::$DEFAULT_TYPE;
     $this->dismissable = false;
     $this->customCssClassName = '';
 }
示例#3
0
 public function __construct(\Michelf\MarkdownInterface $parser)
 {
     parent::__construct($parser);
     $this->type = 'default';
     $this->isCondensed = false;
     $this->forResponsive = false;
     $this->customCssClassName = '';
 }
示例#4
0
 public function __construct(MarkdownInterface $parser)
 {
     parent::__construct($parser);
     $class_name = get_called_class();
     $this->row = $this->createRow()->prependClassAttribute($class_name::$PREFIX_CLASS_ATTRIBUTE);
     $this->setDelimiter(self::COL_DELIMITER);
     $this->violateColumnSize = false;
 }
示例#5
0
 public function __construct(\Michelf\MarkdownInterface $parser)
 {
     parent::__construct($parser);
     $this->imagePath = self::$DEFAULT_IMAGE;
     $this->type = $this->customClass = $this->float = '';
     $this->titleText = $this->altText = $this->style = '';
     $this->block = false;
 }
示例#6
0
 public function __construct(MarkdownInterface $parser)
 {
     parent::__construct($parser);
     $this->classAttribute = '';
     $this->url = self::$DEFAULT_URL;
     $this->type = self::$DEFAULT_TYPE;
     $this->size = self::$DEFAULT_SIZE;
     $this->block = false;
     $this->customCssClassName = '';
 }
示例#7
0
 public function renderView($data = array())
 {
     $html = parent::renderView($data);
     if ($this->row) {
         $this->row[0]->setContent($html);
         return $this->row->render();
     }
     return $html;
 }
示例#8
0
 public function __construct(\Michelf\MarkdownInterface $parser)
 {
     parent::__construct($parser);
     $this->type = self::$DEFAULT_TYPE;
     $this->customCssClassName = '';
 }