public function __construct($setDefaults = true, RedBean_OODBBean $bean = null) { parent::__construct($setDefaults, $bean); if ($bean == null) { $this->readOnly = 69; } }
public function __construct($setDefaults = true, RedBean_OODBBean $bean = null) { parent::__construct($setDefaults, $bean); if ($bean == null) { // The NOT recommended way, but is set at // construction, but won't be saved with // the metadata. $this->email1 = '*****@*****.**'; } }