/** * Set menu parameters from this track engine * * @param \Gems_Menu_ParameterSource $source * @return \Gems_Tracker_Engine_TrackEngineInterface (continuation pattern) */ public function applyToMenuSource(\Gems_Menu_ParameterSource $source) { $source->setTrackId($this->_trackId); $source->offsetSet('gtr_active', isset($this->_trackData['gtr_active']) ? $this->_trackData['gtr_active'] : 0); return $this; }
/** * Set menu parameters from this track engine * * @param \Gems_Menu_ParameterSource $source * @return \Gems_Tracker_Engine_TrackEngineInterface (continuation pattern) */ public function applyToMenuSource(\Gems_Menu_ParameterSource $source) { $source->setTrackId($this->_trackId); return $this; }