https://infinitbility.com/react-native/introduction-to-react-native
This file contains 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 | |
# print array in cakephp framework | |
debug($array);exit; | |
?> |
This file contains 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 | |
# credentials | |
$url = VPC_URL; // https://migs.mastercard.co.in/vpcpay or https://migs.mastercard.com/vpcpay | |
$merchantId = MERCHANT_ID; //value get from your bank | |
$accessCode = ACCESS_CODE; //value get from your bank | |
$SECURE_SECRET = SECURE_SECRET; //value get from your bank | |
$baseURL = "localhost/migs"; | |
# amount |
This file contains 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 | |
# inArray example | |
$fruits = ['Banana', 'Blackcurrant', 'Blueberry', 'Chili pepper', 'Cranberry', 'Eggplant', 'Gooseberry']; | |
# You get true or false | |
$result = in_array("Blueberry", $fruits); | |
# output true | |
# if value not available |
This file contains 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
//indexOf example | |
var fruits = ['Banana', 'Blackcurrant', 'Blueberry', 'Chili pepper', 'Cranberry', 'Eggplant', 'Gooseberry']; | |
// You get their index ( Key ) | |
var index = fruits.indexOf('Blueberry'); | |
// output 2 | |
// if value not available | |
var index = fruits.indexOf('Apple'); | |
// output -1 |
This file contains 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
<!-- Your Files --> | |
// @include('layout.navBar') | |
// @include('layout.sideBar') | |
<!-- Page wrapper --> | |
<!-- ============================================================== --> | |
<div class="page-wrapper"> | |
<!-- ============================================================== --> | |
<!-- Bread crumb and right sidebar toggle --> | |
<!-- ============================================================== --> |
This file contains 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
<!-- CSS FILES LIST --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" /> | |
<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet"> | |
<link href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css" rel="stylesheet"> | |
<!-- JS FILES LIST --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.0/jquery.validate.js"></script> | |
<script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script> | |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script> |
This file contains 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 | |
namespace App\Http\Controllers; | |
use App\Http\Controllers\Controller; | |
use App\User; | |
use Auth; | |
use Hash; | |
use Illuminate\Http\Request; | |
use Yajra\Datatables\Datatables; |
This file contains 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 | |
namespace App\Http\Controllers; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Http\Request; | |
use App\Http\Controllers\ChildController; | |
class ParentController extends Controller | |
{ |
This file contains 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 | |
namespace App\Http\Controllers; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Http\Request; | |
class ChildController extends Controller | |
{ | |
NewerOlder