This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| public class Cart | |
| { | |
| public $KartIsım; | |
| public $Kartno; | |
| public $KartGecerlilikAy; | |
| public $KartGecerlilikYıl; | |
| public $CVC; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| public class Cart | |
| { | |
| public $KartIsım; | |
| public $Kartno; | |
| public $KartGecerlilikAy; | |
| public $KartGecerlilikYıl; | |
| public $CVC; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| public class BasePesonel | |
| { | |
| public $isim; | |
| public $gunlukBirimMaas; | |
| } | |
| public interface IPersonel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| Class InsanKaynakLari | |
| { | |
| function MaasHesapla($PersonelListesi) | |
| { | |
| $MaaaşListesi = []; | |
| foreach ($PersonelListesi as $key => $personel) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| Class KrediIslemleri | |
| { | |
| $user; | |
| function __constuct($user) | |
| { | |
| $this->user = $user; | |
| } | |
| public function KrediyeBasvur() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class KrediIslemleri | |
| { | |
| public function KrediyeBasvur($user) | |
| { | |
| if($user->KullanicininKendisimi==true && ($user->bakiye>=1000 || $user->varlik>=100 || $user->surekiCalismaYil>=3) && | |
| $user->yas>18) | |
| { | |
| //basvuruyu al |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class PaymentController | |
| { | |
| public function pay() | |
| { | |
| //sepet nesnemizi oluşturalım | |
| $sepet = new Basket($_SESSION["basket"]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class PaymentController { | |
| public function pay() | |
| { | |
| //sepet verilerini session'dan alalim | |
| $basket = $_SESSION["basket"]; |
NewerOlder