示例#1
0
文件: Loop.php 项目: guancio/Runalyze
 /**
  * @return array
  */
 public function sliceElevation()
 {
     if ($this->Object->hasCorrectedElevations()) {
         return $this->slice(Entity::ELEVATIONS_CORRECTED);
     } elseif ($this->Object->hasOriginalElevations()) {
         return $this->slice(Entity::ELEVATIONS_ORIGINAL);
     }
     return array();
 }