Example #1
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    array $data  
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     $this->setAction($data->get('action'));
     $this->setEnctype($data->get('enctype'));
     $this->setMethod($data->get('method'));
     parent::setData($data);
 }
Example #2
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    array $data  
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     $this->setWidth($data->get('width'));
     $this->setAlign($data->get('align'));
     $this->setAlign($data->get('valign'));
     $this->setColspan($data->get('colspan'));
     $this->setRowspan($data->get('rowspan'));
     parent::setData($data);
 }
Example #3
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $data
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     $this->setLegend($data->getDef());
     $this->setLegend($data->get('legend'));
     parent::setData($data);
 }
Example #4
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $data
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     $this->setTabTitle($data->getDef());
     $this->setTabTitle($data->get('tab_title'));
     $this->setHref($data->get('href'));
     $this->setSelected($data->get('selected'));
     parent::setData($data);
 }
Example #5
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $data
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     $this->setCount($data->getDef());
     $this->setCount($data->get('count'));
     parent::setData($data);
 }
Example #6
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $data
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     $this->setAlign($data->get('align'));
     $this->setValign($data->get('valign'));
     parent::setData($data);
 }
Example #7
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $data
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     $this->setTextStyle($data);
     $this->setText($data->getDef());
     $this->setText($data->get('text'));
     parent::setData($data);
 }
Example #8
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $data
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     $this->setCellspacing($data->get('cellspacing'));
     $this->setCellpadding($data->get('cellpadding'));
     $this->setFrame($data->get('frame'));
     $this->setBorder($data->get('border'));
     $this->setRules($data->get('rules'));
     $this->setWidth($data->get('width'));
     $this->setSummary($data->get('summary'));
     $this->setOddClass($data->get('odd'));
     $this->setEvenClass($data->get('even'));
     $this->setHoverClass($data->get('even'));
     parent::setData($data);
 }
Example #9
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $data
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     parent::setData($data);
 }
Example #10
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    mixed $data
  * @return   void
  */
 function setData(WidgetResultSet $data)
 {
     $this->setHREF($data->getDef());
     $this->setAttribute('rel', $data->get('rel'));
     $this->setAttribute('rev', $data->get('rev'));
     $this->setName($data->get('name'));
     $this->setAttribute('target', $data->get('target'));
     /*if(($text = $data->getDef()) !== null && !$this->items->count())
                $this->items->setText($text);
            if(($text = $data->get('text')) !== null && !$this->items->count())
     		$this->items->setText($text);*/
     $href = $data->get('href');
     if (isset($href)) {
         if (is_array($href)) {
             $page = null;
             if (isset($href['page'])) {
                 $page = $href['page'];
                 unset($href['page']);
             }
             $this->setHREF(Controller::getInstance()->makeURL($page, $href));
         } else {
             $this->setHREF($href);
         }
     }
     parent::setData($data);
 }