From: <gem...@li...> - 2012-02-02 14:48:33
|
Revision: 446 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=446&view=rev Author: matijsdejong Date: 2012-02-02 14:48:27 +0000 (Thu, 02 Feb 2012) Log Message: ----------- Fixes + small extensions Modified Paths: -------------- branches/1.5.x/library/classes/Gems/Tracker/RespondentTrack.php branches/1.5.x/library/snippets/EditTrackSnippet.php Modified: branches/1.5.x/library/classes/Gems/Tracker/RespondentTrack.php =================================================================== --- branches/1.5.x/library/classes/Gems/Tracker/RespondentTrack.php 2012-02-02 14:47:15 UTC (rev 445) +++ branches/1.5.x/library/classes/Gems/Tracker/RespondentTrack.php 2012-02-02 14:48:27 UTC (rev 446) @@ -201,7 +201,7 @@ /** * Makes sure the respondent data is part of the $this->_respTrackData */ - private function _ensureRespondentData() + protected function _ensureRespondentData() { if (! isset($this->_respTrackData['grs_id_user'], $this->_respTrackData['gr2o_id_user'], $this->_respTrackData['gco_code'])) { $sql = "SELECT * @@ -452,6 +452,16 @@ } /** + * Returns the description of this track as stored in the fields. + * + * @return string + */ + public function getFieldsInfo() + { + return $this->_respTrackData['gr2t_track_info']; + } + + /** * Returns the first token in this track * * @return Gems_Tracker_Token Modified: branches/1.5.x/library/snippets/EditTrackSnippet.php =================================================================== --- branches/1.5.x/library/snippets/EditTrackSnippet.php 2012-02-02 14:47:15 UTC (rev 445) +++ branches/1.5.x/library/snippets/EditTrackSnippet.php 2012-02-02 14:48:27 UTC (rev 446) @@ -153,7 +153,6 @@ } if ($refresh) { - Gems_Tracker::$verbose; // Perform a refresh from the database, to avoid date trouble $this->respondentTrack->refresh(); $this->respondentTrack->checkTrackTokens($this->userId); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |