From: <gem...@li...> - 2012-07-13 09:43:33
|
Revision: 837 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=837&view=rev Author: michieltcs Date: 2012-07-13 09:43:23 +0000 (Fri, 13 Jul 2012) Log Message: ----------- Add convenience method getCode() Modified Paths: -------------- trunk/library/classes/Gems/Tracker/Survey.php Modified: trunk/library/classes/Gems/Tracker/Survey.php =================================================================== --- trunk/library/classes/Gems/Tracker/Survey.php 2012-07-13 09:36:33 UTC (rev 836) +++ trunk/library/classes/Gems/Tracker/Survey.php 2012-07-13 09:43:23 UTC (rev 837) @@ -246,6 +246,15 @@ } /** + * + * @return string Internal code of the survey + */ + public function getCode() + { + return $this->_gemsSurvey['gsu_code']; + } + + /** * The time the survey was completed according to the source * * @param Gems_Tracker_Token $token Gems token object This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |