public function setJpegPhoto($string)
    {
        if (! base64_decode($string, $strict = true)) {
            $string = base64_encode($string);
        }

        return $this->setAttribute($this->schema->jpegPhoto(), $string);
    }
public function setJpegPhoto($string)
    {
        if (! base64_decode($string, $strict = true)) {
            $string = base64_encode($string);
        }

        return $this->setAttribute($this->schema->jpegPhoto(), $string);
    }
public function setJpegPhoto ( $ string ) { if ( ! base64_decode ( $ string , $ strict = true ) ) { $ string = base64_encode ( $ string ) ; } return $ this -> setAttribute ( $ this -> schema -> jpegPhoto ( ) , $ string ) ; }
Sets the users JPEG photo.

@param string $string

@return $this
Sets the users JPEG photo .