Пример #1
0
 /**
  * Make formatting on an array value.
  *
  * @access   public
  * @param    array $values
  * @return   mixed
  * @since    1.0.0-alpha
  * @version  1.0.0-alpha
  */
 public function formatArray(array $values)
 {
     $aFormattedValues = parent::formatArray($values);
     $sOutput = View::factory('base/view/field_formatter/swiper')->bind('aValuesList', $aFormattedValues)->bind('bButtons', $this->showButtons)->bind('bPagination', $this->showPagination)->bind('bScrollbar', $this->showScrollbar)->render();
     return $sOutput;
 }
Пример #2
0
 /**
  * Format value.
  *
  * @access   public
  * @param    array $value
  * @return   string
  * @since    1.0.0-alpha
  * @version  1.0.0-alpha
  */
 public function format($value)
 {
     parent::format($value);
 }