public function setMailable($mailable)
    {
        $values['gr2t_mailable'] = $mailable ? 1 : 0;

        return $this->_updateTrack($values, $this->currentUser->getUserId());
    }
public function setMailable($mailable)
    {
        $values['gr2t_mailable'] = $mailable ? 1 : 0;

        return $this->_updateTrack($values, $this->currentUser->getUserId());
    }
public function setMailable ( $ mailable ) { $ values [ 'gr2t_mailable' ] = $ mailable ? 1 : 0 ; return $ this -> _updateTrack ( $ values , $ this -> currentUser -> getUserId ( ) ) ; }
Set the mailability for this respondent track.

@param boolean $mailable Should this respondent track be st to mailable
@param int $userId The current user
@return int 1 if the token has changed, 0 otherwise
Set the mailability for this respondent track .