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'];
    }
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'];
    }
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' ] ; }
Return the description of the current procedure

@return string or null when not found
Return the description of the current procedure