Пример #1
0
 /**
  * Get vertical ratio
  * @return string
  */
 public function verticalRatio()
 {
     if ($this->Activity->verticalRatio() > 0) {
         return VerticalRatio::format($this->Activity->verticalRatio());
     }
     return '';
 }
Пример #2
0
 /**
  * Constructor
  * @param \Runalyze\View\Activity\Context $Context
  */
 public function __construct(\Runalyze\View\Activity\Context $Context)
 {
     parent::__construct(\Helper::Unknown(\Runalyze\Activity\VerticalRatio::format($Context->activity()->verticalRatio(), false), '-'), '%', __('Vertical Ratio'));
 }