public function setUserPreference($userLogin, $preferenceName, $preferenceValue)
    {
        Piwik::checkUserHasSuperUserAccessOrIsTheUser($userLogin);
        Option::set($this->getPreferenceId($userLogin, $preferenceName), $preferenceValue);
    }
public function setUserPreference($userLogin, $preferenceName, $preferenceValue)
    {
        Piwik::checkUserHasSuperUserAccessOrIsTheUser($userLogin);
        Option::set($this->getPreferenceId($userLogin, $preferenceName), $preferenceValue);
    }
public function setUserPreference ( $ userLogin , $ preferenceName , $ preferenceValue ) { Piwik :: checkUserHasSuperUserAccessOrIsTheUser ( $ userLogin ) ; Option :: set ( $ this -> getPreferenceId ( $ userLogin , $ preferenceName ) , $ preferenceValue ) ; }
Sets a user preference
@param string $userLogin
@param string $preferenceName
@param string $preferenceValue
@return void
Sets a user preference