method __set documentation in bbn\Models\Cls\Data

function($name, $value) { if ( ($name !== 'db') && \in_array($name, self::$_bbn_protected_properties, true) && method_exists($this, 'set_'.$name) ){ $this->{'set_'.$name}($value); } else if ( isset(self::$columns[$name]) ){ $this->db->update(self::$table, [$name => $value], [self::$primary => $this->id]); } } }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.