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,573
- Points
- 823
Reputation:
I am trying to save data directly to db calling from the middle of another function (not by submitting process).
I can dump the data but it's not being saved. What's wrong? Is the filter related to new field or the incoming data?
Code:
Read more
Continue reading...
I can dump the data but it's not being saved. What's wrong? Is the filter related to new field or the incoming data?
Code:
Code:
public function createItem($data)
{
$item = $this->em()->create('My\Addon:Class');
$input = $this->filter([
'id' => 'uint',
'name' => 'str',
'qty' => 'uint',
])...
Read more
Continue reading...