PHP Classes

File: documentation/method/en/set_default.md

Recommend this page to a friend!
  Classes of Aby Dahana   Aksara   documentation/method/en/set_default.md   Download  
File: documentation/method/en/set_default.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change: Update set_default.md
Update set_default.md
Update set_default.md

Doc Set value
Date: 2 years ago
Size: 292 bytes
 

Contents

Class file image Download

This method enables you to set values for inserts or updates.

Example : <br />

<br />
or
<br />

$data = [ 'created_by' => get_userdata('user_id'), 'updated_by' => get_userdata('user_id') ]; $this->set_default($data);