text stringlengths 2 1.03M |
|---|
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class HotelFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => ucfirst($this->faker->text(20... |
@extends('layouts.app')
@section('content')
<div class="panel panel-default">
<div class="panel-heading text-center">
Update Tag
</div>
<div class="panel-body">
<form action="{{ route('updateTag',['$id'=>$tag->id]) }}" method="post">
@csrf
... |
<?php
namespace app\modules\people\models;
use Yii;
/**
* This is the model class for table "{{%res_person}}".
*
* @property int $id
* @property string $state สถานะการจองคิว
* @property string $date_queue วันที่จองคิว
* @property string $prefixes คำนำหน้า
* @property string $prefixes_en คำนำหน้าภาษาอังกฤษ
* ... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
/*
* This file is part of fof/stopforumspam.
*
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FoF\StopForumSpam;
use Flarum\Extend;
use Flarum\User\Event\RegisteringFromProvider;... |
<?php
/*
** Zabbix
** Copyright (C) 2001-2021 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** Th... |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 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... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\SDK_DATA_1598238000612\Models;
use AlibabaCloud\Tea\Model;
use AlibabaCloud\SDK\SDK_DATA_1598238000612\Models\GetuserstatusCorpHealthStepinfoParams;
class GetuserstatusCorpHealthStepinfoRequest extends Model {
public functio... |
<?php
namespace App\StaticFile\Infraestructure\Transformer;
use App\Shared\Infraestructure\File\FileUploader;
use App\StaticFile\Application\Create\StaticFileCreator;
use App\StaticFile\Domain\StaticFile;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symf... |
@extends('template.html')
@section('title')
<title>Edit destinasi</title>
@endsection
@section('content')
<h2 class="text-center">Tambah data </h2>
<section class="">
<div class="formUpload pt-5">
<div class="row justify-content-center">
<div class="col-lg-8 col-sm-10 col-10">
<f... |
<?php
namespace App\View\Components;
use App\Models\Country;
use Illuminate\View\Component;
class SelectCountry extends Component
{
public $countries;
public $name;
public $title;
public $value;
public $required;
public function __construct($name, $title, $value = '', $required = false)
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Department extends Model
{
//
protected $fillable = ['name', 'description'];
} |
<?php
declare(strict_types=1);
/*
* This file is part of Basket.
*
* (c) Brian Faust <hello@basecode.sh>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace BrianFaust\Basket\TaxRates\Europe;
use BrianFaust\Basket\Contrac... |
<?php
return [
'apikey' => env('GEOCODE_GOOGLE_APIKEY', ''),
'language' => env('GEOCODE_GOOGLE_LANGUAGE', 'en'),
]; |
<?php
namespace Mpyw\NullAuth\Tests\Unit;
use BadMethodCallException;
use Illuminate\Auth\GenericUser;
use Mpyw\NullAuth\NullAuthenticatable;
use Mpyw\NullAuth\StrictNullAuthenticatable;
use Mpyw\NullAuth\Tests\TestCase;
class NullAuthenticatableTest extends TestCase
{
/**
* @var array
*/
protected... |
<?php
/*
* This file has been created by developers from BitBag.
* Feel free to contact us once you face any issues or want to start
* You can find more information about us on https://bitbag.io and write us
* an email on hello@bitbag.io.
*/
declare(strict_types=1);
namespace BitBag\SyliusMolliePlugin\Payments\... |
<?php
namespace App\Controllers\Auth;
use App\Models\User;
use App\Controllers\Controller;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
/*
|------------------------------------------... |
<x-app-layout>
<div class="jumbotorn text-center">
<div class="text-center">
<h3><b>Selamat Datang Di Risma Lips</b></h3>
</x-app-layout> |
<?php
namespace BikeBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Livraison
*
* @ORM\Table(name="livraison")
* @ORM\Entity(repositoryClass="BikeBundle\Repository\LivraisonRepository")
*/
class Livraison
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class UserController extends Controller {
public function index() {
return view('frontend.home.login');
}
} |
<div class="box box-info padding-1">
<div class="box-body">
<div class="form-group">
{{ Form::label('comic_id') }}
{{ Form::text('comic_id', $comicsCharacter->comic_id, ['class' => 'form-control' . ($errors->has('comic_id') ? ' is-invalid' : ''), 'placeholder' => 'Comic Id']) }}
... |
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use PHPUnit\Framework\TestCase;
class ExceptionInTearDownTest extends TestCase
{
public... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>NEWS CMS | Admin</title>
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="{{asset('cms/plugin... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class PengirimController extends CI_Controller
{
public function __construct()
{
parent::__construct();
//Do your magic here
$this->load->library('dompdf_gen');
$this->load->model('Pengirim');
$this->... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Health Monitor Title
|--------------------------------------------------------------------------
|
| This is the title of the health check panel, that shows up at the top-left
| corner of the win... |
<?php
/**
* @see https://github.com/mezzio/mezzio-hal for the canonical source repository
* @copyright https://github.com/mezzio/mezzio-hal/blob/master/COPYRIGHT.md
* @license https://github.com/mezzio/mezzio-hal/blob/master/LICENSE.md New BSD License
*/
namespace Mezzio\Hal\Metadata;
class RouteBasedCol... |
<?php if($_SESSION['role']=="keuangan") {
$this->load->view('partials/sidebarkeu');
}
else
$this->load->view('partials/sidebar')
?>
<?php $this->load->view('partials/header') ;
$this->load->view('partials/navbar');
?>
<div class="main-panel">
<div class="content">
<div class="container-fluid">
<div c... |
<?php
/**
* This file is part of the OpenPNE package.
* (c) OpenPNE Project (http://www.openpne.jp/)
*
* For the full copyright and license information, please view the LICENSE
* file and the NOTICE file that were distributed with this source code.
*/
/**
* opDiaryPluginBackendRouteCollection
*
* @package ... |
--TEST--
swoole_table: negative
--SKIPIF--
<?php require __DIR__ . '/../include/skipif.inc'; ?>
--FILE--
<?php
require __DIR__ . '/../include/bootstrap.php';
$table = new swoole_table(65536);
$table->column('v1', swoole_table::TYPE_INT);
$table->column('v2', swoole_table::TYPE_FLOAT);
if (!$table->create())
{
e... |
<?php
/**
* Subclass for representing a row from the 'mlm_dist_eshare_ledger' table.
*
*
*
* @package lib.model
*/
class MlmDistEshareLedger extends BaseMlmDistEshareLedger
{
} |
<?php
/*
* Copyright (c) <2008> Justin Poliey <jdp34@njit.edu>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddEnabledColumnToUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users'... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... |
<?php
/**
* Our utility functions to use across the plugin.
*
* Not using a namespace on purpose so these functions can be used by others.
*
* @package InstallmentPlansWooSubs
*/
// Set our aliases.
use Nexcess\InstallmentPlansWooSubs as Core;
use Nexcess\InstallmentPlansWooSubs\Helpers as Helpers;
/**
* Get a... |
<!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">
<title>Module UserProfile</title>
</head>
<body>
@yield('content')
</body>
</h... |
<?php
/**
* MysqliDb Class
*
* @category Database Access
* @package MysqliDb
* @author Jeffery Way <jeffrey@jeffrey-way.com>
* @author Josh Campbell <jcampbell@ajillion.com>
* @author Alexander V. Butenko <a.butenka@gmail.com>
* @copyright Copyright (c) 2010-2017
* @license http://opensource.org/... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email',... |
@foreach($groups as $group)
<li class="list-group-item">
{{$group->group_name}}
<label class="switch ">
<input group-id="{{$group->id}}" type="checkbox"
{{ \App\Models\Permission\GroupUser::checkUserGroup($user->id,$group->id) }} class="groupId default">
<s... |
<?php
namespace app\common\model;
use think\Model;
class GoodsModel extends Model{
public function myCount($condition = []){
return $this->where($condition)->count();
}
public function getGoodsList($condition=[],$fields="",$sort = "",$page = 1,$limit = 20){
$goods = $this
->alias("g")
->join("category_good... |
<?php
namespace App\Http\Controllers\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Auth;
use Session;
use Validator;
class LoginController extends Controller
{
public function __construct()
{
$this->middleware('guest', ['except' => ['logout', 'userLogout']]);
}
... |
<div class="row">
<div class="col-md-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Evraklar Listing</h3>
<div class="box-tools">
<!-- <a href="<?php echo site_url('evraklar/evrak_ekle/'.$this->uri->segment("3").''); ?>" clas... |
<div style="width:100%; display: flex; justify-content: center; ">
<div>
<div style="width: 500px; border-bottom: 3px solid #fc0d0d; margin-bottom: 40px; padding-bottom: 10px;">
<img style="width: 160px;" src="{{asset('/img/logo-blue.png')}}" alt="">
</div>
<div>
<p s... |
@if(count($topics))
<ul class="list-unstyled">
@foreach($topics as $topic)
<li class="media">
<div class="media-left">
<a href="{{ route('users.show', [$topic->user_id]) }}">
<img class="media-object img-thumbnail mr-3" style="width: 52... |
<?php
namespace App\lib;
use App\lib\Registry;
class Utility
{
/**
* Function name
*
* what the function does
*
* @param (type) (name) about this param
* @return (type) (name)
*/
public static function apiAccessCheck($appId,$token)
{
$dbInstance=Registry::getDbInstance();
... |
<h3>Произведем двери-купе для:</h3>
<br>
Москвы и Московской области<br>
<br>
<p>
Выезд на замер в день заявки в городах:<br>
Ногинск, Электросталь, Лосино-Петровский, Щелково, Фрязино, Ивантеевка, Пушкино
</p> |
<?php
namespace VanguardLTE\Games\FeiCuiGongZhuJPPTM
{
include('CheckReels.php');
class Server
{
public function get($request, $game)
{
/*if( config('LicenseDK.APL_INCLUDE_KEY_CONFIG') != 'wi9qydosuimsnls5zoe5q298evkhim0ughx1w16qybs2fhlcpn' )
{
retur... |
<div class="ltn__modal-area ltn__quick-view-modal-area">
<div class="modal fade" id="modal_form" tabindex="-1">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\behaviors;
use Yii;
use yii\db\BaseActiveRecord;
/**
* BlameableBehavior automatically fills the specified attributes with the current user ID.
*
* T... |
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
'login/*',
... |
<?php
namespace App\Http\Requests\Api;
use Illuminate\Foundation\Http\FormRequest;
class PostQuestionRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'tag_id' => [
... |
<?php
namespace Milyoona\ModelConsumer;
use Illuminate\Support\ServiceProvider;
//Register depends
use Anik\Form\FormRequestServiceProvider;
use Bschmitt\Amqp\LumenServiceProvider;
use Flipbox\LumenGenerator\LumenGeneratorServiceProvider;
use Illuminate\Redis\RedisServiceProvider;
class ModelConsumerServiceProvider ... |
@extends('master')
@section('content')
<div class="basic-form-area mg-b-15">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="sparkline12-list shadow-reset mg-t-3">
<div class="sparkline12-hd">
<div class="main-sparkline12-hd">
<h1>Input Data S... |
<?php defined('BASEPATH') or exit('No direct script access allowed');
$lang['streams.user.name'] = 'Usuario';
$lang['streams.user.restrict_group'] = 'Restringe a Grupo';
$lang['streams.user.dont_restrict_groups'] = 'Don\'t Restrict Groups'; |
<?php
declare(strict_types=1);
namespace Laminas\ApiTools\Admin\InputFilter\Authentication;
use function is_array;
class OAuth2MongoInputFilter2 extends BaseInputFilter
{
public function init()
{
parent::init();
$this->add([
'name' => 'oauth2_type',
'filters... |
@extends('maingentelellatable')
@section('title', 'Daftar pemegang jabatan' )
@section('title2', $jabatan -> jabatan)
@section('content')
@include('layouts.gentelella.table_top')
<thead>
<tr>
<th>No</th>
<th>Nama</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@foreach ($jabatan_teams a... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSalesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sales', function ... |
@extends('admin.layouts.admin_layout')
@section('content')
<style type="text/css">
.table td, .table th {
font-size: 12px;
line-height: 2.42857 !important;
}
</style>
<div class="page-content-wrapper">
<!-- BEGIN CONTENT BODY -->
<div class="page-content">
<!-- BEGIN PAGE HEAD... |
<?php
use App\Maestra;
use Illuminate\Database\Seeder;
class MaestraSeed extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Maestra::create(['id'=>1, 'codigo'=>'TD', 'descripcion'=> 'TIPO DOCUMENTO']);
Maestra::create(['id'=>2, 'codigo'=>'G'... |
@extends('layouts.admin')
@section('title', 'Evento')
@section('content')
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="py-10"></div>
<div class="w-100 md:w-1/3 mx-auto pt-20">
<img src="{{ asset("/storage/".$evento->path) }}" alt="{{ $e... |
<div class="layui-header">
<ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">
<li class="layui-nav-item" lay-unselect>
<a href="javascript:;" layadmin-event="refresh" title="刷新">
<i class="layui-icon layui-icon-refresh-3" lay-tips="刷新当前标签"></i>
</a>
</li>
... |
<?php
/**
* SellerEventTest
*
* PHP version 7.2
*
* @category Class
* @package JTL\SCX\Client\Channel
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* SCX Channel API
*
* SCX Channel API
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://ope... |
<?php
/**
* Parameters
* ==========
*
* When creating a new file using a method like @{method:newFromFileData}, these
* parameters are supported:
*
* | name | Human readable filename.
* | authorPHID | User PHID of uploader.
* | ttl | Temporary file lifetime, in seconds.
* | viewPolicy | File visibili... |
<?php
/***********************************************************************
Copyright (C) 2002-2008 PunBB
This file is part of PunBB.
PunBB is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either v... |
<?php
use App\buku;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\bukuController;
use App\Http\Controllers\GuruController;
use App\Http\Controllers\kelasController;
use App\Http\Controllers\anggotaController;
use App\Http\Controllers\errorController;
use App\Http\C... |
<?php
class Ventas_model extends CI_Model{
public $name;
public $description;
public $group;
public $budget;
public $net_sale;
public $iva_sale;
public $exercised;
public $utility;
public $porcent;
public function get_vendedores( $branch_office, $month, $year ){
$dat... |
<?php
use PHPUnit\Framework\TestCase;
use Ackly\Health\Check\FS;
class FSCheckTest extends TestCase
{
const TEST_DIR = '/tmp/_x_php_health_test_dir';
public function setUp(): void
{
mkdir(self::TEST_DIR);
}
public function tearDown(): void
{
if (is_dir(self::TEST_DIR)) {
... |
<?php
namespace App\Http\Controllers;
use App\Models\Employee;
use Illuminate\Http\Request;
class EmployeeController extends Controller
{
public function login()
{
return view('auth.login');
}
public function index()
{
$users = Employee::get();
return view('users.table', ... |
<?php
namespace Database\Seeders;
use Carbon\Carbon;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class WorkgroupsSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('workgroups')->insert([
... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit764c6aaf386cd114d26e37eb0b010b8c
{
public static $files = array (
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
'a4a119a56e50fbb293281d9a4800... |
<?php
namespace App\Traits;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\Storage;
trait UploadTrait
{
public function uploadOne(UploadedFile $uploadedFile, $folder = null, $disk = 'public', $filename = null)
{
$name = !is_null($filename) ? $filename : str_random(25);
$fil... |
<?php
use App\Http\Controllers\LoginController;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register ... |
<?php
/**
* 2007-2018 PrestaShop
*
* 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.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not re... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
/**
* Post
*
* @mixin Builder
*/
class RateSubtype extends Model
{
use HasFactory;
protected array $guarded = [];
protected string $tab... |
<?php namespace Ivacuum\Generic\Rules;
use Illuminate\Contracts\Validation\Rule;
class ConcurrencyControl implements Rule
{
const FIELD = '_concurrency_control';
protected $key;
public function __construct($key)
{
$this->key = md5($key);
}
public function passes($attribute, $value):... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
/*
* This file is part of the "cashier-provider/core" project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Andrey Helldar <helldar@ai-rus.com>
*
* @copyright 2021 Andrey Helldar
*
* @license MIT
*
* @see ht... |
<?php
namespace Sampler\Benchmarks;
use \Athletic\AthleticEvent;
/**
* @codeCoverageIgnore
*/
final class ReservoirEvent extends AthleticEvent {
/**
* @var \Cli\RunnerFactory
*/
private $runnerFactory;
/**
* @var int
*/
private $stringLength = 100000;
public function classSetUp() {
echo sprintf('Sta... |
@extends('template_backend.home')
@section('sub-judul','Tambah datapersonel ')
@section('content')
@if(count($errors)>0)
@foreach($errors->all() as $error)
<div class="alert alert-danger" role="alert">
{{ $error }}
</div>
@endforeach
@endif
@if(Session::has('success'))
<div class="alert alert-success... |
<?php
namespace External\Model;
use External\Bean\LogBean;
class LogModel extends AbstractModel
{
/**
* @return LogBean
*/
protected function getBean()
{
return parent::getBean(); // TODO: Change the autogenerated stub
}
/**
* @param \library\Pgsql $model
* @return \l... |
<?php
/**
* Go! AOP framework
*
* @copyright Copyright 2011, Lisachenko Alexander <lisachenko.it@gmail.com>
*
* This source file is subject to the license that is bundled
* with this source code in the file LICENSE.
*/
namespace Go\Aop\Framework;
use Go\Aop\AdviceBefore;
use Go\Aop\Intercept\FieldAccess;
use G... |
a:19:{i:0;s:3:"uid";i:1;s:7:"useName";i:2;s:7:"usePass";i:3;s:7:"useType";i:4;s:8:"trueName";i:5;s:3:"sex";i:6;s:8:"birthDay";i:7;s:5:"phone";i:8;s:6:"school";i:9;s:7:"classid";i:10;s:9:"education";i:11;s:8:"workYear";i:12;s:7:"regTime";i:13;s:6:"status";i:14;s:3:"pid";i:15;s:3:"cid";i:16;s:7:"address";s:3:"_pk";s:3:"u... |
<?php
/**
* Testing class for \Terminus\Endpoint
*
*/
use \Terminus\Endpoint;
class EndpointTest extends PHPUnit_Framework_TestCase {
function testEndpoints() {
$host = getenv("TERMINUS_HOST") ?: 'dashboard.getpantheon.com';
// expected => test
$tests = array(
'https://'.$host.'/api/users/UUID/... |
<?php
declare(strict_types=1);
namespace aieuo\mineflow\event;
use pocketmine\event\entity\EntityDamageByEntityEvent;
class EntityAttackEvent extends EntityDamageByEntityEvent {
} |
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Roman_Cavalry
*/
get_header(); ?>
<div class="pagewrap">
<header>
<h1>404</h1>
</header>
</div><!-- /headerwrap -->
<div class="... |
<?php
namespace Adldap\Classes;
use Adldap\Models\User;
use Adldap\Schemas\ActiveDirectory;
class Contacts extends AbstractBase implements QueryableInterface, CreateableInterface
{
/**
* Finds a contact.
*
* @param string $name
* @param array $fields
*
* @return bool|\Adldap\Models... |
<script type="text/javascript" src="<?php echo base_url('assets/js/jquery.validate.js'); ?>"></script>
<div class="col-lg-12 main-chart">
<div class="col-md-12">
<h4> Add Room</h4>
<div class="box box-info col-md-12 thumbnail">
<!-- /.box-header -->
<form class="form-horizontal row-border form_validati... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use App\Mail\YourMail;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Str;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facad... |
<?php
/**
* PpModuleMailer
*
* @link https://github.com/cobyl/PpModuleMailer
* @copyright Copyright (c) www.pracowici-programisci.pl
*/
namespace ModuleMailer;
use ModuleMailer\Model\MailerTable;
use Zend\Db\ResultSet\ResultSet;
use Zend\Db\TableGateway\TableGateway;
use Zend\Mail\Transport\Smtp;
use Zend\M... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
declare(strict_types=1);
/*
* This file is part of Laravel Auto Presenter.
*
* (c) Shawn McCool <shawn@heybigname.com>
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespa... |
<?php namespace App\Http\Controllers;
use App\Article;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Requests\QueryRequest;
use App\Tag;
use Carbon\Carbon;
use Auth;
class QueryController extends Controller
{
/**
* Display a listing of the resource.
*
* @return Re... |
<?php
session_start();
session_unset();
session_destroy();
?> |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Township extends Model
{
protected $fillable = ['name'];
} |
<?php
/**
* This file is part of the BEAR.Saturday package.
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*/
/**
* Docomoエージェントアダプター
*/
class BEAR_Agent_Adapter_Docomo extends BEAR_Agent_Adapter_Mobile implements BEAR_Agent_Adapter_Interface
{
/**
* Constructor
*/
public funct... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Validation\Rules\Password;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
... |
@extends('layouts.app')
@section('body-class') locations @endsection
@section('title') {{_t('Creating a location')}} @endsection
@section('extra-js')
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key={{ env('GOOGLE_API_KEY') }}&libraries=places"></script>
<script type="text/javascript"... |
<?php
namespace App\Http\Livewire;
use App\Imports\CategoriesImport;
use App\Imports\SubcategoriesImport;
use App\Imports\VendorsImport;
use App\Imports\MenusImport;
use App\Imports\ProductsImport;
use Maatwebsite\Excel\Facades\Excel;
class ImportLivewire extends BaseLivewireComponent
{
public $dataType;
p... |
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\HttpFoundation\Request;
use App\E... |
<h1>passager: {{$nom_client}} {{$prenom_client}}</h1>
<h1>{{$dateNaissance}}</h1>
<h1>numéro de billet:{{$num_billet}}</h1>
{{-- <h1>numéro de billet:{{$numSiege}}</h1> --}}
<h1> vol: {{$vol->num_vol}}</h1>
<h1> référence de reservation: {{$reservation->reference_reservation}}</h1>
<h1> le numéro de siège: {{$siege}}</... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class RPSApiController extends Controller
{
function getQuote() {
$quotes = [
"Rock",
"Paper",
"Scissors",
];
$index = array("Rock", "Paper", "Scissors");
return response()->json... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.