public function __set($key, $value) { switch ($key) { case 'odeme_yontem_bilgi_model': $value = new SiparisOdemeYontem($value); break; case 'kargo_yontem_bilgi_model': $value = new SiparisKargoYontem($value); break; case 'fatura_adres_bilgi_model': $value = new SiparisAdres($value); break; case 'teslimat_adres_bilgi_model': $value = new SiparisAdres($value); break; case 'fatura_adres': $value = new SiparisAdres($value); break; case 'teslimat_adres': $value = new SiparisAdres($value); break; case 'urunler': $collection = new Collection(); foreach ($value as $item) { $collection->push(new SiparisUrun($item)); } $value = $collection; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'kategori': $value = new ProductCategory($value); break; case 'resimler': $collection = new Collection(); foreach ($value as $item) { $collection->push(new Resim($item)); } $value = $collection; break; case 'ozellikler': $collection = new Collection(); foreach ($value as $item) { $collection->push(new Ozellik($item)); } $value = $collection; break; case 'categories': $collection = new Collection(); foreach ($value as $item) { $collection->push(new ProductCategory($item)); } $value = $collection; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'kategori': $value = new HaberKategori($value); break; case 'resim_orjinal': case 'resim_detay': case 'resim_kucuk': $value = new Resim($value); break; case 'kullanici_ekleyen': case 'kullanici_hazirlayan': $value = new Kullanici($value); break; case 'galeriler': $values = new Collection(); foreach ($value as $item) { $values->push(new Galeri($item)); } $value = $values; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'tip': $value = new EmlakTip($value); break; case 'kategori': $value = new EmlakKategori($value); break; case 'tur': $value = new EmlakTur($value); break; case 'danisman': $value = new EmlakDanisman($value); break; case 'resimler': $collection = new Collection(); foreach ($value as $item) { $collection->push(new Resim($item)); } $value = $collection; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'tur': $value = new OzellikTur($value); break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'imageOriginal': case 'imageCropped': $value = new Resim($value); break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'resim_orjinal': case 'resim_kirpilmis': $value = new Resim($value); break; case 'kategori': $value = new MansetKategori($value); break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'yetkiler': $collection = new Collection(); foreach ($value as $item) { $collection->push(new Yetki($item)); } $value = $collection; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'gruplar': $collection = new Collection(); foreach ($value as $item) { $collection->push(new OzellikGrup($item)); } $value = $collection; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'images': $collection = new Collection(); foreach ($value as $item) { $collection->push(new Resim($item)); } $value = $collection; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'kategori': $value = new SanatKategori($value); break; case 'sanatcilar': $collection = new Collection(); foreach ($value as $item) { $collection->push(new Kullanici($item)); } $value = $collection; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'parent': $value = new ProductCategory($value); break; case 'childs': $collection = new Collection(); foreach ($value as $item) { $collection->push(new ProductCategory($item)); } $value = $collection; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'ustKategori': $value = new SayfaKategori($value); break; case 'altKategoriler': $values = new Collection(); foreach ($value as $item) { $values->push(new SayfaKategori($item)); } $value = $values; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'varsayilanIcerik': $value = new GaleriIcerik($value); break; case 'icerikler': $collection = new Collection(); foreach ($value as $item) { $collection->push(new GaleriIcerik($item)); } $value = $collection; break; } parent::__set($key, $value); }
public function __set($key, $value) { switch ($key) { case 'resim_orjinal': case 'resim_kirpilmis': $value = new Resim($value); break; case 'gruplar': $collection = new Collection(); foreach ($value as $item) { $collection->push(new Grup($item)); } $value = $collection; break; } parent::__set($key, $value); }