امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I'm working on my controller file and for testing purposes I just want to pass a variable through to my Entity so that it can be saved into the db 'filesize' column.
Code:
Read more
Code:
کد:
public function actionAdd()
{
$store = $this->em()->create('Path\To:Manage');
$store->filesize = 12345;
return $this->storeAddEdit($store);
}
public function actionEdit(ParameterBag $params)
{
$store = $this->assertStoreExists($params->store_id);
$store->filesize =...
Read more
