Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->meta = array(
- "price",
- "featured",
- "total"
- );
- // callback field
- foreach ($this->meta as $meta {
- $crud->callback_edit_field($meta ,
- function($meta){
- return '<input type="text" value="'.$this->pk.'" name="'.$meta.'">';
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement