original_string: public function get_start() {
  
          if ($this->starttime !== null) {
              return $this->starttime;
          }
  
          // The field always exist but may have no valid if the course is created through a sync process.
          if (!empty($this->get_course_data()->startdate)) {
              $this->starttime = (int)$this->get_course_data()->startdate;
          } else {
              $this->starttime = 0;
          }
  
          return $this->starttime;
      }
code: public function get_start() {
  
          if ($this->starttime !== null) {
              return $this->starttime;
          }
  
          // The field always exist but may have no valid if the course is created through a sync process.
          if (!empty($this->get_course_data()->startdate)) {
              $this->starttime = (int)$this->get_course_data()->startdate;
          } else {
              $this->starttime = 0;
          }
  
          return $this->starttime;
      }
code_tokens: public function get_start ( ) { if ( $ this -> starttime !== null ) { return $ this -> starttime ; } // The field always exist but may have no valid if the course is created through a sync process. if ( ! empty ( $ this -> get_course_data ( ) -> startdate ) ) { $ this -> starttime = ( int ) $ this -> get_course_data ( ) -> startdate ; } else { $ this -> starttime = 0 ; } return $ this -> starttime ; }
docstring: Get the course start timestamp.
  
  @return int Timestamp or 0 if has not started yet.
docstring_tokens: Get the course start timestamp .