Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Make Validation Config to Extend BaseConfig
Post: RE: Make Validation Config to Extend BaseConfig

kenjis Wrote: (10-14-2022, 05:06 AM) -- See https://github.com/codeigniter4/shield/blob/f4cdfb672b600a032a6f0bfc0b7735411bee0cae/src/Config/Registrar.php#L31 and https://codeigniter4.github.io/CodeI...
6,008 Views
7 Replies
10-14-2022, 07:21 AM
ipmeel
    Thread: Make Validation Config to Extend BaseConfig
Post: RE: Make Validation Config to Extend BaseConfig

kenjis Wrote: (03-08-2022, 11:18 PM) -- Now Registrars can add rules. https://github.com/codeigniter4/CodeIgniter4/pull/5789 -- Hi, I am still unable to figure out to use Registrar to extend Vali...
6,008 Views
7 Replies
10-14-2022, 04:27 AM
ipmeel
    Thread: If hashed password in entity, it is not get validate length of model validation
Post: RE: If hashed password in entity, it is not get va...

iRedds Wrote: (04-18-2021, 12:46 PM) -- Don't use model validation. =) -- If the model validations not used, the email validation (is_unique) would not work! :idea: PHP Code: -- 'email' => 'requir...
3,819 Views
3 Replies
04-18-2021, 12:51 PM
ipmeel
    Thread: Entity JSON encode and manually decode
Post: RE: Entity JSON encode and manually decode

includebeer Wrote: (04-18-2021, 09:15 AM) -- That's not in json format, that's encoded with serialize() (https://www.php.net/manual/en/function.serialize.php). You need to use unserialize() (https://...
5,009 Views
4 Replies
04-18-2021, 09:25 AM
ipmeel
  Exclamation Thread: If hashed password in entity, it is not get validate length of model validation
Post: If hashed password in entity, it is not get valida...

User model PHP Code: --
3,819 Views
3 Replies
04-18-2021, 09:17 AM
ipmeel
    Thread: Entity JSON encode and manually decode
Post: Entity JSON encode and manually decode

In entity Code: -- protected $casts = [ 'courses'        => 'array', 'courses_object' => 'json', 'courses_array'  => 'json-array', ]; -- The posted array Code: -- courses = array{"bsc-bio",...
5,009 Views
4 Replies
04-18-2021, 07:40 AM
ipmeel
  Exclamation Thread: Model is not producing MySQL error #1292
Post: Model is not producing MySQL error #1292

Code: -- $this->set('verification_code', NULL)     ->set('email_verified_at', "Any-string")     ->where([         'email'=> $email,         'email_verified_at' => NULL,         'verification_cod...
2,457 Views
1 Replies
04-17-2021, 11:18 AM
ipmeel

Theme © iAndrew 2016 - Forum software by © MyBB