This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function updateProfil($id) | |
{ | |
$this->_user_model->save([ | |
'id' => $id, | |
'firstname' => $this->request->getVar('firstname'), | |
'lastname' => $this->request->getVar('lastname'), | |
'username' => $this->request->getVar('username'), | |
'email' => $this->request->getVar('email'), | |
]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAILURE: Build failed with an exception. | |
* Where: | |
Build file 'C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-2.5.0\android\build.gradle' line: 38 | |
* What went wrong: | |
A problem occurred evaluating project ':firebase_core'. | |
> Could not find method platform() for arguments [com.google.firebase:firebase-bom:31.2.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. | |
* Try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================ CONTROLLER ====================== // | |
Future<void> delPegawai(String pegawaiId) async { | |
PegawaiResponse? result = await pegawaiRepository.deletePegawai(pegawaiId: pegawaiId); | |
if (result!.status.toString() == "true") { | |
CustomLoading( | |
status: "success", | |
message: result.message.toString(), | |
type: 'toast'); | |
await getPegawai(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function index_put() | |
{ | |
$this->form_validation->set_data($this->put()); | |
if ($this->_validationCheck() === false) { | |
$this->response([ | |
'status' => false, | |
'message' => strip_tags(validation_errors()), | |
], self::HTTP_BAD_REQUEST); | |
} else { | |
$id = $this->put('id_buku'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alert( | |
String title, Widget message, BuildContext context, String type, function) { | |
Color bgColor; | |
if (type.toLowerCase() == "success") | |
bgColor = ColorPallete.success; | |
else if (type.toLowerCase() == "warning") | |
bgColor = ColorPallete.warning; | |
else if (type.toLowerCase() == "danger") | |
bgColor = ColorPallete.danger; | |
else if (type.toLowerCase() == "primary") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); | |
class Admin_Controller extends MX_Controller { | |
public static $is_loaded; | |
function __construct() { | |
parent::__construct(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!defined('BASEPATH')) | |
exit('No direct script access allowed'); | |
/*** | |
* File: (Codeigniterapp)/libraries/Controllerlist.php | |
* | |
* A simple library to list al your controllers with their methods. | |
* This library will return an array with controllers and methods | |
* | |
* The library will scan the "controller" directory and (in case of) one (1) subdirectory level deep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); | |
/** | |
* My_Model Model Library | |
* | |
* Description: | |
* My_Model is an extension to CodeIgniter's core model that helps make | |
* developing models easier and less repetitive. | |
* | |
* @version 2011.07.02 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('BASEPATH') OR exit('No direct script access allowed'); | |
require_once APPPATH . 'controllers/api/Loginpengguna.php'; | |
class Pushnotif extends Loginpengguna | |
{ | |
private $datauser; | |
public function __construct() | |
{ | |
parent::__construct(); | |
$this->cektoken(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initializing gradle... 2.2s | |
Resolving dependencies... 11.8s | |
Request to incrementing alive workforce from 0. Current workforce (dead or alive) 0 | |
thread-pool size=4 | |
ProGuard, version 6.0.3 | |
Reading input... | |
Reading program jar [C:\Users\RAAVA\.gradle\caches\transforms-1\files-1.1\flutter.jar\136a87444ec933e46bd596babdcb498d\jetified-flutter.jar] (filtered) | |
Reading program directory [E:\Project\(2019) Project AAT\m_sianas\build\app\intermediates\javac\release\compileReleaseJavaWithJavac\classes] (filtered) | |
Reading program jar [E:\Project\(2019) Project AAT\m_sianas\build\app\intermediates\transforms\mergeJavaRes\release\0.jar] (filtered) | |
Reading library jar [C:\Users\RAAVA\AppData\Local\Android\Sdk\platforms\android-28\android.jar] |
NewerOlder