Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Capitalsource {
- private $id;
- private $user;
- private $type;
- private $state;
- private $accountNumber;
- private $bankCode;
- private $comment;
- private $validTil;
- private $validFrom;
- private $groupUse;
- public function __construct($id,$user) {
- $this->id = $id;
- $this->user = $user;
- }
- }
- $yac = new Yac();
- $user=new Capitalsource(-1,NULL);
- for($i=0;$i < 1024 ; $i++ ) {
- if(!$yac->get('hugo'.$i)) {
- $user = new Capitalsource($i,$user);
- $yac->set(('hugo'.$i),$user);
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement