class uye {

	public $kullaniciAdi;
	protected $mailAdresi;
	private $sifre;
	
	const VARSAYILAN_K_A = "Default";
	const VARSAYILAN_M_A = "None";
	const VARSAYILAN_SIFRE = "Password";
	
	public static $uyeSayisi = 0;
	
	public function helloWorld() {

		echo "Hello World";

	}
	
	public function __construct() {

		self::$uyeSayisi++;

		$this->kullaniciAdi = uye::VARSAYILAN_K_A;
		$this->mailAdresi = self::VARSAYILAN_M_A;
		$this->sifre = uye::VARSAYILAN_SIFRE;
		
	}
	
	public function uyeKaydet($a, $b, $c) {
	
		$this->kullaniciAdi = $a;
		$this->mailAdresi = $b;
		$this->sifre = $c;
	
	}
	
	public function uyeGoster() {
	
		echo "Kullanıcı Adı : " . $this->kullaniciAdi . "<br/>";
		echo "Mail Adresi : " . $this->mailAdresi . "<br/>";
		echo "Şifre : " . $this->sifre . "<br/><br/>";
	
	}
	
	private function uyeDegistir() {

		$this->kullaniciAdi .= " - xx";
		$this->mailAdresi .= " - xx";
		$this->sifre .= " - 00";

	}
	
	public function uyeGuncelle() {

		$this->uyeDegistir();

	}
	
}