コード例 #1
0
 /**
  *
  * {@inheritDoc}
  *
  * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::compile()
  */
 public function compile(JsUtils $js = NULL, &$view = NULL)
 {
     if (\is_array($this->content)) {
         $this->content = JArray::sortAssociative($this->content, ["icon", "image", "content"]);
     }
     return parent::compile($js, $view);
 }
コード例 #2
0
ファイル: HtmlTable.php プロジェクト: jcheron/phalcon-jquery
 /**
  *
  * {@inheritDoc}
  *
  * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::compile()
  */
 public function compile(JsUtils $js = NULL, &$view = NULL)
 {
     $this->content = JArray::sortAssociative($this->content, ["thead", "tbody", "tfoot"]);
     if ($this->propertyContains("class", "sortable")) {
         $this->addEvent("execute", "\$('#" . $this->identifier . "').tablesort();");
     }
     return parent::compile($js, $view);
 }
コード例 #3
0
 /**
  *
  * {@inheritDoc}
  *
  * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::compile()
  */
 public function compile(JsUtils $js = NULL, $view = NULL)
 {
     $this->content = JArray::sortAssociative($this->content, ["header", "image", "content", "extra-content"]);
     return parent::compile($js, $view);
 }
コード例 #4
0
 /**
  *
  * {@inheritDoc}
  *
  * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::compile()
  */
 public function compile(JsUtils $js = NULL, &$view = NULL)
 {
     $this->content = JArray::sortAssociative($this->content, ["bar", "label"]);
     return parent::compile($js, $view);
 }
コード例 #5
0
 public function compile(JsUtils $js = NULL, $view = NULL)
 {
     $this->titleElement = $this->createTitleElement();
     return parent::compile($js, $view);
 }