original_string: public function getProcedureDescription()
      {
          if (! (isset($this->_gemsData['gap_id_procedure']) && $this->_gemsData['gap_id_procedure'])) {
              return null;
          }
          if (!array_key_exists('gapr_name', $this->_gemsData)) {
              $sql = "SELECT gapr_name FROM gems__agenda_procedures WHERE gapr_id_procedure = ?";
  
              $this->_gemsData['gapr_name'] = $this->db->fetchOne($sql, $this->_gemsData['gap_id_procedure']);
  
              // Cleanup db result
              if (false === $this->_gemsData['gapr_name']) {
                  $this->_gemsData['gapr_name'] = null;
              }
          }
          return $this->_gemsData['gapr_name'];
      }
code: public function getProcedureDescription()
      {
          if (! (isset($this->_gemsData['gap_id_procedure']) && $this->_gemsData['gap_id_procedure'])) {
              return null;
          }
          if (!array_key_exists('gapr_name', $this->_gemsData)) {
              $sql = "SELECT gapr_name FROM gems__agenda_procedures WHERE gapr_id_procedure = ?";
  
              $this->_gemsData['gapr_name'] = $this->db->fetchOne($sql, $this->_gemsData['gap_id_procedure']);
  
              // Cleanup db result
              if (false === $this->_gemsData['gapr_name']) {
                  $this->_gemsData['gapr_name'] = null;
              }
          }
          return $this->_gemsData['gapr_name'];
      }
code_tokens: public function getProcedureDescription ( ) { if ( ! ( isset ( $ this -> _gemsData [ 'gap_id_procedure' ] ) && $ this -> _gemsData [ 'gap_id_procedure' ] ) ) { return null ; } if ( ! array_key_exists ( 'gapr_name' , $ this -> _gemsData ) ) { $ sql = "SELECT gapr_name FROM gems__agenda_procedures WHERE gapr_id_procedure = ?" ; $ this -> _gemsData [ 'gapr_name' ] = $ this -> db -> fetchOne ( $ sql , $ this -> _gemsData [ 'gap_id_procedure' ] ) ; // Cleanup db result if ( false === $ this -> _gemsData [ 'gapr_name' ] ) { $ this -> _gemsData [ 'gapr_name' ] = null ; } } return $ this -> _gemsData [ 'gapr_name' ] ; }
docstring: Return the description of the current procedure
  
  @return string or null when not found
docstring_tokens: Return the description of the current procedure