text stringlengths 2 1.03M |
|---|
<?php
namespace GetCandy\Observers;
use GetCandy\Base\Purchasable;
use GetCandy\Exceptions\NonPurchasableItemException;
use GetCandy\Models\CartLine;
class CartLineObserver
{
/**
* Handle the CartLine "creating" event.
*
* @param \App\Models\CartLine $user
*
* @return void
*/
pu... |
<!DOCTYPE html>
<html>
<body>
<ul>
<li><a href="<?php echo base_url(); ?>Candidatos">Candidatos</a></li>
<li><a href="<?php echo base_url(); ?>Empresas">Empresas</a></li>
<li><a href="<?php echo base_url(); ?>Blog">Blog</a></li>
<li><a href="<?php echo base_url(); ?>Cursos">Cursos</a... |
<?php
namespace SerEducacional\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use SerEducacional\Http\Requests;
use Prettus\Validator\Contracts\ValidatorInterface;
use Prettus\Validator\Exceptions\ValidatorException;
use SerEducacional\Http\Requests\CargoCreateRequest;
use SerEdu... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Caracteristiques extends Model {
protected $fillable = [
'name', 'value', 'type_materiel_id'
];
public function materiel() {
return $this->belongsTo('App\Materiels');
}
public function type_materiel() {
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<div class="main-content">
<div class="main-content-inner">
<div class="breadcrumbs ace-save-state" id="breadcrumbs">
<ul class="breadcrumb">
<li>
<i class="ace-icon fa fa-home home-icon"></i>
<a href="#">Home</a>
</li>
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call(StateSeeder::class);
}
} |
<?php
use yii\helpers\Url;
use eagle\modules\util\helpers\TranslateHelper;
use yii\data\Sort;
use yii\helpers\Html;
$this->registerCssFile(\Yii::getAlias('@web') . '/css/listing/wish_list.css');
$this->registerJsFile ( \Yii::getAlias('@web') . '/js/project/listing/wish_list.js',['depends' => ['yii\web\JqueryAsset... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Pages */
$this->title = Yii::t('app', 'Create Pages');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Pages'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="pages-create">
<h1... |
@extends('admin.header')
@section('custom-css')
@endsection
@section('header')
<span class="fas fa-tags" style="font-size:25px;"></span> Manage Coupons
@endsection
@section('breadcrumb')
<li class="breadcrumb-item"><a href="{{ route('admin.index') }}">Home</a></li>
<li class="breadcrumb-item active"><a href="{{ route('... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2008 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... |
@extends('layouts.app')
@section('content')
<div class="panel-body" id="demo_eployee">
<a class="btn btn-primary" href="{{ route('customer.create') }}">Add an customer</a>
<table id="demo-table"
data-show-refresh="true"
data-show-toggle="true"
data-toggle="table"
data1-url="data1.j... |
<?php namespace Talifhani\PHPDataStructures\LinkedList;
interface ILinkedList
{
public function append($element): void;
public function prepend($element): void;
public function insert($element, $index): void;
public function clear(): void;
public function getFirst();
public function peekLast();
public function ... |
<?php
namespace Codememory\Routing;
use Codememory\HttpFoundation\Interfaces\RequestInterface;
use Codememory\HttpFoundation\Interfaces\ResponseInterface;
use Codememory\Routing\Exceptions\SoftwareWithoutParentException;
use Codememory\Routing\Exceptions\UndefinedSoftwareException;
use Codememory\Routing\Interfaces\S... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class adminNotification extends Notification
{
use Queueable;
/**
* Create a new notification instan... |
<?php namespace Vankosoft\ApplicationBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\JsonResponse;
use FOS\RestBundle\View\View;
use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
use Sylius\Component\Reso... |
<?php
Flatsome_Option::add_section( 'header_buttons',
array(
'title' => __( 'Buttons', 'flatsome-admin' ),
'panel' => 'header',
)
);
Flatsome_Option::add_field( '',
array(
'type' => 'custom',
'settings' => 'custom_title_button_1',
'label' => __( '', 'flatsome-admin' ),
'section' => 'header_butt... |
<?php
/**
* Created by PhpStorm.
* User: yf
* Date: 2018/7/24
* Time: 上午12:38
*/
namespace EasySwoole\Component;
use Swoole\Coroutine as Co;
class Context
{
use Singleton;
private $register = [];
private $context = [];
function register(string $name,$object)
{
$this->register[$name]... |
<?php
/*
* Gemaakt door Samerton
* en vertaald door Sander Lambrechts en Derkades
*
* https://github.com/NamelessMC/Nameless/
* NamelessMC version 2.0.0-pr8
*
* License: MIT
*
* Nederlandse taal - Taal versie
*/
// Welke versie van NamelessMC is dit taal bestand geüpdatet voor?
$language_version = '2.0... |
@extends('admin.layouts.master')
@section('content')
<h1>
{{ $page_title or null }}
<small>{{ $page_description or null }}</small>
</h1>
<ol class="breadcrumb">
<li><a href="{{url('/dashboard')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="{{url('/dashboard/r... |
<?php
abstract class ATree implements IMesh, IBark, ITexture
{
protected $mesh;
protected $bark;
protected $texture;
public function __construct()
{
$this->bark = new Bark();
$this->mesh = new Mesh();
$this->texture = new Texture();
}
/**
* @return Mesh
... |
<!-- Main content -->
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-lg-6">
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">
... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\EmployeesSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Employees';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="employees-index">
<h1><?= Html::encod... |
@extends('admin.layouts.master')
@section('title','View Categories')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="header-icon">
<i class="fa fa-eye"></i>
... |
<?php
namespace im\users\models;
use im\users\Module;
use im\users\traits\ModuleTrait;
use yii\db\ActiveRecord;
use Yii;
/**
* Token model.
*
* @property integer $id
* @property integer $user_id
* @property string $token
* @property integer $type
* @property integer $created_at
* @property integer $expire_at... |
<?php
namespace App\Helpers;
use Firebase\JWT\JWT;
use Illuminate\Support\Facades\DB;
use App\User;
class jwtAuth {
public $key;
public function __construct() {
$this->key='p-i-x-e-l-p-r-o-g-r-a-m-e-r-c-l-a-v-e-AJDIJ*24KSDA-WIUJOEN+X@QOJEOR$/%/IJWAFBWBV-EIR2R2398*-/5283YFJJDGJEJFQ-23J40-OIUU-8923KJEC... |
<?php
/**
* PHPUnit
*
* Copyright (c) 2010-2013, Sebastian Bergmann <sebastian@phpunit.de>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSkillsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('skills', functio... |
<script>
var values = @json( $values );
$('input .form-control, textarea .form-control').each(function() {
$(this).val(values[$(this).attr("name")]);
});
</script> |
<?php
use App\Http\Controllers\GuestController;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\HallController;
use App\Http\Controllers\RoomController;
use App\Http\Controllers\ServiceController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTableEmpleados extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('empleados', f... |
<?php
/**
*
*/
class Rest extends CI_model
{
function __construct()
{
parent::__construct();
}
public function SelectData($table, $data, $where) {
if ($where) {
$this->db->where($where);
}
$this->db->select($data);
$this->db->from($table);
return $this->db->get()->result();
}
public function Se... |
<?php
namespace common\components;
use yii\base\Behavior;
use yii\base\Exception;
/**
* Created by PhpStorm.
* User: DezMonT
* Date: 18.03.2015
* Time: 14:18
* @property xlsImport $owner
*/
class xlsSaveBehavior extends Behavior
{
public function saveByMode($model)
{
try
{
$m... |
<?php
namespace Lullabot\Mpx\Service\AccessManagement;
use GuzzleHttp\Psr7\Uri;
use Symfony\Component\PropertyInfo\PropertyTypeExtractorInterface;
use Symfony\Component\PropertyInfo\Type;
/**
* Extracts URIs with string array keys.
*
* Unfortunately, PhpDocExtractor's code uses private variables and final
* clas... |
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also ... |
<?php
namespace App\Controllers;
class Finish extends BaseController
{
public function index()
{
return view('front/done');
}
//--------------------------------------------------------------------
} |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... |
<?php
namespace FondOfSpryker\Zed\AllowedProductQuantitySearch\Communication\Plugin\Event\Subscriber;
use Codeception\Test\Unit;
use Spryker\Zed\Event\Dependency\EventCollectionInterface;
class AllowedProductQuantitySearchEventSubscriberTest extends Unit
{
/**
* @var \FondOfSpryker\Zed\AllowedProductQuantit... |
<?php
namespace Database\Factories;
use App\Models\Single;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class SingleFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Single::class;
/... |
<?php declare(strict_types=1);
namespace Shopware\Core\Framework\Test\DataAbstractionLayer\Field\TestDefinition;
use Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition;
use Shopware\Core\Framework\DataAbstractionLayer\Field\Flag\PrimaryKey;
use Shopware\Core\Framework\DataAbstractionLayer\Field\Flag\Requir... |
<?php
require_once __DIR__ . '/../vendor/autoload.php';
use PHPUnit\Framework\TestCase;
use Fuse\Fuse;
class RecurseArrayObjectsTest extends TestCase
{
protected static $fuse;
public static function setUpBeforeClass()
{
static::$fuse = new Fuse([
[
'ISBN' => '076534827... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware ... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Trading\Types;
/**
*
* @property \DTS\eBaySDK\Trading\Enums\AccountHistorySelectionCodeT... |
<?php
/**
* This file is part of PHPWord - A pure PHP library for reading and writing
* word processing documents.
*
* PHPWord is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright and license inf... |
<?php
/*
* This file is part of the Hautelook\AliceBundle package.
*
* (c) Baldur Rensch <brensch@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace Fidry\AliceDataFixtures\Persistenc... |
<?php defined('SYSPATH') or die('No direct script access.');
class HTTP_Cache extends Kohana_HTTP_Cache {} |
<?php
/**
* Provide a public-facing view for the plugin
*
* This file is used to markup the public-facing aspects of the plugin.
*
* @link https://github.com/kanafghan
* @since 1.0.0
*
* @package Simple_User
* @subpackage Simple_User/public/partials
*/
?>
<!-- This file should primarily consis... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\AuthController;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register ... |
<div class="md-card">
<div class="md-card-content">
<h3 class="heading_a">List Message Sending</h3>
<div class="uk-grid" data-uk-grid-margin="">
<div class="uk-width-medium-1-2 uk-row-first">
</div>
</div>
</div>
</div> |
<?php
namespace App\Http\Controllers;
use App\Models\Transaction;
use Illuminate\Database\QueryException;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Symfony\Component\HttpFoundation\Response;
class TransactionController extends Controller
{
/**
* Display a listing of the reso... |
<?php
/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Spryker\Sniffs\Commenting;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
/**
* No spaces around pipes in doc block hints.
*/
class DocBlockPipeSpacin... |
<?php
namespace App\Http\Controllers\backends\loan;
use App\Models\loan\LoanScheme;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Crypt;
use Yajra\DataTables\Facades\DataTables;
use App\Http\Requests\backends\loan\StoreLoanSchemeRequest;
use Auth;
class LoanSchemeCo... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePaymentsTable extends Migration
{
public function up()
{
Schema::create('payments', function(Blueprint $table) {
$table->increments('id');
$table->string('openId');
$table... |
<?php
namespace Omnipay\PayBear;
use Omnipay\Common\AbstractGateway;
class Gateway extends AbstractGateway
{
public function getName ()
{
return 'PayBear';
}
public function getDefaultParameters ()
{
return [
'apiSecretKey' => '',
];
}
public function getApiSecretKey ()
{
return $this->getParam... |
<?php
namespace Mokhosh\Reporter\View\Components;
use Illuminate\Contracts\View\View;
use Illuminate\Database\Eloquent\Model;
use Illuminate\View\Component;
use JetBrains\PhpStorm\Pure;
use Stringable;
class Row extends Component
{
public function __construct(
public Model $row,
public array $col... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
... |
@extends('dashboard.master')
@section('content')
<a class="btn btn-success mt-2 mb-2" href="{{ route('prestamo.export') }}"><i class="fa fa-1x fa-file-excel"></i> Exportar Excel </a>
<a class="btn btn-danger mt-2 mb-2" href="{{ route('prestamo.pdf') }}"><i class="fa fa-1x fa-file-pdf"></i> Exportar PDF </a>
<form act... |
<?php
/**
* Copyright 2016 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Imagier
{
function __construct()
{
$this->ci = &get_instance();
$this->ci->output->enable_profiler(false);
}
public function articles($size='', $file='')
{
$image = "images/articles/{$size}/{$file}";
if(file_exists($image) && i... |
<?php
// Copyright 2019 NEC Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
<?php
Route::get('category/{slug?}', 'joelumarlin\productso\Http\Controllers\PrsoCategoryController@show'); |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use app\models\Users;
/* @var $this yii\web\View */
/* @var $model app\models\WebboardForum */
$this->title = $model->forum_id;
$this->params['breadcrumbs'][] = ['label' => 'Webboard Forums', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\y... |
<?php
namespace AppBundle\Entity;
/**
* Comment
*/
class Comment
{
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $text;
/**
* @var \DateTime
*/
private $dateCreation;
/**
* @var boolean
*/
private $isHidden;
/**
... |
<?php declare(strict_types=1);
namespace Symplify\EasyCodingStandard\Tests\DependencyInjection;
use PHPUnit\Framework\TestCase;
use Symplify\EasyCodingStandard\Configuration\Exception\ConflictingCheckersLoadedException;
use Symplify\EasyCodingStandard\DependencyInjection\ContainerFactory;
final class ConflictingChec... |
<?php
namespace backend\assets;
use yii\web\AssetBundle;
/**
* Main backend application asset bundle.
*/
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/site.css',
'css/new.css',
];
public $js = [
'js/ne... |
--TEST--
imagecreatefromwbmp with invalid wbmp
--SKIPIF--
<?php
if (!function_exists('imagecreatefromwbmp')) die("skip gd extension not available\n");
if (!GD_BUNDLED) die("skip requires bundled GD library\n");
?>
--FILE--
<?php
$filename = __DIR__ . '/_tmp.wbmp';
$fp = fopen($filename,"wb");
if (!$fp) {
exit("Fa... |
@foreach(langs() as $lang)
@php
$attributes=['class'=>'form-control','label'=>trans('app.Title').' '.$lang,'placeholder'=>trans('app.Title')];
if($lang=='en')
$attributes['required']=1;
@endphp
@include('form.input',['name'=>'title['.$lang.']','value'=>$row->getTranslation('title',$lang),'type'=>'text','attributes'=>$a... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="{{asset('user-style/styles.css')}}">
<link rel="stylesheet" href="https://use.font... |
<?php
namespace Genesis\Database\Models;
use Illuminate\Database\Eloquent\Model as EloquentModel;
class Model extends EloquentModel
{
} |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="__PUBLIC__/css/bootstrap.3.3.5.min.css"/>
<link rel="stylesheet" href="__PUBLIC__/css/bootstrap-theme.3.3.5.min.css"/>
<link rel="stylesheet" href="__PUBLI... |
<?php
class Callecterall_Model_DbTable_DbChangeCallecterall extends Zend_Db_Table_Abstract
{
protected $_name = 'ln_callecteralllist';
public function getUserId(){
$session_user=new Zend_Session_Namespace(SYSTEM_SES);
return $session_user->user_id;
}
function addcallecteralllist($data){
... |
<?php
namespace QuickUser\Exceptions;
use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
//
];
/**... |
<nav class="navbar navbar-expand-md navbar-light navbar-laravel">
<div class="container">
<a class="navbar-brand" href="{{ url('/') }}">
{{ config('app.name', 'Laravel') }}
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedConte... |
<?php
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wizGrade V 1.2 (Formerly SDOSMS) is Designed & Developed by Igweze Ebele Mark | https://www.iem.wizgrade.com
https://www.wizgrade.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... |
<?php
namespace rosasurfer\xtrade\model\metatrader;
use rosasurfer\db\orm\PersistableObject;
use rosasurfer\exception\IllegalArgumentException;
use rosasurfer\exception\IllegalTypeException;
use rosasurfer\exception\InvalidArgumentException;
use rosasurfer\util\PHP;
use rosasurfer\util\Windows;
use rosasurfer\xtrade\X... |
<?php
namespace DeckBrew;
use GuzzleHttp\ClientInterface as HttpClient;
use DeckBrew\Criteria\Specifications as Spec;
use Psr\Http\Message\MessageInterface;
class ClientTest extends \PHPUnit_Framework_TestCase
{
const RESPONSE = '["response"]';
private $httpClient;
protected function setUp()
{
... |
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... |
<?php
namespace ccxt;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
use \ccxt\ArgumentsRequired;
use \ccxt\OrderNotFound;
class kuna extends Exchange {
public functio... |
@extends('layouts.main')
@section('title', 'Se connecter')
@section('content')
<div class="login-splitscreen">
<h1 class="hidden" role="heading" aria-level="1">Gameon</h1>
<div class="login-left"></div>
<div class="login-right">
<section class="login-wrapper">
<h2 role="heading" aria-le... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="~">
<title>Login</title>
<link href="https://unpkg.com/tailwindcss@^2/dist... |
<?php
namespace Google\AdsApi\Dfp\v201702;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class Goal
{
/**
* @var string $goalType
*/
protected $goalType = null;
/**
* @var string $unitType
*/
protected $unitType = null;
/**
* @var int $units
*/
pr... |
<?php
namespace Dan\MemeGenerator\Helpers;
/**
* Class SubscriptionMgUser
*
* @method create(array $options = []) \Dan\MemeGenerator\Client
* @method delete(array $options = []) \Dan\MemeGenerator\Client
*/
class SubscriptionMgUser extends AbstractHelper
{
/** @var array $endpoints */
public static $end... |
<?php
error_reporting(E_ALL);
ini_set('display_errors', 'On');
require_once '../bootstrap.php';
use NFePHP\Sintegra\Elements\Z61R;
$std = new stdClass();
$std->MESTRE = 'R';
$std->PERIODO_EMISSAO = '200505';
$std->COD_PRODUTO = '1';
$std->QUANTIDADE = '2';
$std->VALOR_PRODUTO = '100';
$std->VL_BC_ICMS = '100';
$std-... |
<?php
/**
* Paradox Labs, Inc.
* http://www.paradoxlabs.com
* 717-431-3330
*
* Need help? Open a ticket in our support system:
* http://support.paradoxlabs.com
*
* @author Ryan Hoerr <support@paradoxlabs.com>
* @license http://store.paradoxlabs.com/license.html
*/
namespace ParadoxLabs\Authnetcim\O... |
@extends('master.layout')
@section('page_title', $page['page_title'])
@section('page_description', $page['page_description'])
@section('content')
<div id="content" class="well">
@if(Session::has('message'))
<div class="row errMsg" style="margin:1em;">
<div class="alert alert-succ... |
@push('css')
<style>
.right-sidebar {
z-index: 100;
}
</style>
@endpush
<div class="right-sidebar" id="right_side_bar">
<div class="container p-0">
<div class="modal-header p-l-20 p-r-20">
<div class="col-sm-12 p-0">
<h6 class="modal-title font-weight-bold"><i class="icon-map-alt"></i> Penambaha... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace App\Requests;
use App\Models\User;
interface ListTasksOwnedByUserRequestInterface
{
/**
* User getter
* @return User
*/
public function getUser() : User;
/**
* User setter
* @param User $user
* @return void
*/
public function setUser(User $... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<h1>Benvenuto</h1>
<header>
<ul>
<li>
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Start_apps extends User_auth {
function __construct(){
parent::__construct();
}
public function index()
{
$this->load->view('admin_design/header');
}
public function get_data()
{
$this->db->from("modul");
return $this->db->ge... |
<?php
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Illuminate\Database\Eloquent\SoftDeletes;
use Laravel\Passport\HasApiTokens;
use Psr\Http\Message\RequestInterface;
class User extends Authenticatab... |
<?php
Route::get('/test', function () {
// CREATE ROLES
// return Role::create([
// 'name' => 'Guest',
// 'slug' => 'guest',
// 'description' => 'Administrator',
// 'full-access' => 'yes',
// ]);
// CREATE PERMISSIONS
// return Permission::create([
// 'n... |
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Bro... |
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>Chimera EVO simulator</title>
<link rel="shortcut icon" href="images/logo.png">
<!-- SEO: If your mobile... |
<?php namespace App;
use Illuminate\Database\Eloquent\Model as Eloquent;
class CaseNote extends Eloquent
{
protected $table = 'caseNotes';
protected $fillable = ['caseId','user','note','active'];
} |
<?php
declare(strict_types=1);
/*
* This file is part of the TSantos Serializer package.
*
* (c) Tales Santos <tales.augusto.santos@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace TSantos\Serializer\Mapping;... |
<?php
use Illuminate\Support\Facades\Route;
use Illuminate\Http\Request;
use \App\Models\Department;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for y... |
<div class="fw-content clear-after">
<div class="column sidebar">
<?php foreach([
['Профили пользователей', 'fa fa-users'],
['Брошенные корзины', 'fa fa-shopping-cart'],
['Рассылки', 'fa fa-scribd'],
['Список заказов', 'fa fa-shopping-bag'],
['Вопросы и ответы', 'fa fa-question'],
] as $settings) : ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.