ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,656
- Points
- 823
Reputation:
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
Continue reading...
Code:
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
Continue reading...