text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateKategoriKamarsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('kategori... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\models\ClassesSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Classes';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="classes-index">
<h1>... |
@extends('layouts.app')
@section('content')
<div class="container-fluid px-4 py-5">
<a class="btn btn-sm btn-secondary float-right" href="{{route('users.create')}}">add user</a>
<h2>Users</h2>
<hr>
<div class="col-md-8 offset-md-2">
<div class="table-responsive">
<table class="table table-bordered">... |
<?php
namespace ContainerR7U861H;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/*
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getSecurity_Firewall_Map_Context_... |
<?php
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multip... |
@extends('layouts.app')
@section('title', 'Ubah Montir')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card">
<div class="card-body">
<h2>Ubah Montir</h2>
... |
<?php
/*
* Copyright (c) Terramar Labs
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
namespace Terramar\Packages\Plugin\Satis;
use Doctrine\ORM\EntityManager;
use Nice\Router\UrlGeneratorInterface;
use Symfony\Component\Filesyst... |
<?php
namespace App\DataFixtures;
use App\Entity\User;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Persistence\ObjectManager;
use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
class UserFixtures extends Fixture
{
private $passwordEncoder;
public function __construct(Use... |
--TEST--
Test array_multisort() function : case-sensitive
--FILE--
<?php
/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE], .... |
@extends('admin/layouts/default')
{{-- Page title --}}
@section('title')Data Tables @parent
@stop
{{-- page level styles --}}
@section('header_styles')
<link rel="stylesheet" type="text/css" href="{{ asset('assets/vendors/datatables/css/dataTables.bootstrap.css') }}" />
<style>
@media (max-width:425px){... |
<?php
/*
* This file is part of the Prophecy.
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* Marcello Duarte <marcello.duarte@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Prophecy\Promise;
use Pro... |
<?php
declare(strict_types=1);
namespace DosFarma\TestingBundle\DependecyInjection\Compiler;
use DosFarma\Testing\Behaviour\AMQP\AmqpConnectionFactory;
use DosFarma\Testing\Behaviour\AMQP\RabbitMQManager;
use PhpAmqpLib\Connection\AMQPStreamConnection;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassIn... |
<?php
namespace common\models;
Class ValueHelpers
{
/**
* return the value of a role name handed in as string
* example: 'Admin'
*
* @param mixed $role_name
*/
public static function getRoleValue($role_name)
{
$connection = \Yii::$app->db;
$sql = "SELECT role_value FROM role WHERE role_name=:role_name";
$command = $con... |
<?php
use yii\bootstrap4\Html;
use yii\bootstrap4\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\search\DenominationsSearch */
/* @var $form yii\bootstrap4\ActiveForm */
?>
<div class="denominations-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' =... |
<?php
use App\User;
use Illuminate\Database\Seeder;
class UserTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$user = User::create([
'name' => 'user',
'last_name' => 'ApellidoPaterno',
's... |
<?php
namespace RectorPrefix20211109;
if (\class_exists('tx_indexedsearch_mysql')) {
return;
}
class tx_indexedsearch_mysql
{
}
\class_alias('tx_indexedsearch_mysql', 'tx_indexedsearch_mysql', \false); |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateExamenCondicion extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('examen_condi... |
<?php
/*
** Zabbix
** Copyright (C) 2001-2019 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... |
@if($errors->any())
<div class="alert alert-danger">
@foreach($errors->all() as $error)
<p>{{ $error}}</p>
@endforeach
</div>
@endif |
<style>
.button {
background-color: #99CC00;
border: none;
color: white;
padding-top: 8px;
padding-bottom: 8px;
padding-right:15px;
padding-left:15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
margin: 4px 2px;
}
.button1 {border-radius: 2p... |
--TEST--
MongoDB\Driver\ReadPreference construction
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"?>
--FILE--
<?php
require_once __DIR__ . "/../utils/basic.inc";
var_dump(new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_PRIMARY));
var_dump(new MongoDB\Driver\ReadPreference(MongoDB\D... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit97f09a8e1023f1e4b9a88a435174e8ce::getLoader(); |
<?php
/**
* Output as a PDF file.
*/
namespace ZfcDatagrid\Renderer\TCPDF;
use TCPDF;
use Zend\Http\Headers;
use Zend\Http\Response\Stream as ResponseStream;
use ZfcDatagrid\Column\Style;
use ZfcDatagrid\Column\Type;
use ZfcDatagrid\Library\ImageResize;
use ZfcDatagrid\Renderer\AbstractExport;
class Renderer extend... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Inventory extends Model
{
use HasFactory;
protected $table='inventories';
protected $fillable = ['product_id','name','quantity'
];
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FotoVisita extends Model
{
use HasFactory;
protected $fillable = [
'caminho',
'comentario',
];
public function visita()
{
return $this->belong... |
<?php
namespace WGMSRM\Traits;
use WGMSRM\Classes\Database;
if (!defined('ABSPATH')) exit;
/**
* Trait PluginsLoadedActions
*/
trait PluginsLoadedActions
{
/**
* Fires after plugins loaded
*/
function wpgmap_do_after_plugins_loaded()
{
new Database();
}
} |
Spot added.
<?php echo $spot['title']; ?> has been added and will appear upon next retrieve. |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min... |
<?php
declare(strict_types=1);
namespace TestFile\CustomJson {
interface JsonSerializable
{
}
} |
<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
namespace MonorepoBuilder20211124\Nette\Neon\Node;
use MonorepoBuilder20211124\Nette\Neon;
use MonorepoBuilder20211124\Nette\Neon\Node;
/** @internal */
fi... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Self_learning extends CI_Controller {
function __construct(){
parent::__construct();
$this->load->database();
$this->load->helper('url');
$this->load->model("quiz_model");
$this->load->model("qbank_model");
$this->load->model("us... |
@extends('layouts.app')
@section('content')
<div class="container">
<h1>Product Registration</h1>
<div class="panel panel-primary">
<div class="panel-body">
@if ($errors->any())
<div class="alert alert-danger">
... |
<?php
/**
* Pimcore
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.pimcore.org/license
*
* @category Pimcore
* @package Staticroute
* @copyright ... |
<?php echo form_open('trainees/create'); ?>
<fieldset>
<div class="m-auto w-50 pt-3">
<legend><?= $title ?></legend>
<?php echo validation_errors('<p class="text-danger">', '</p>'); ?>
<div class="form-group">
<label for="id">Trainee ID</label>
<input type="text" clas... |
<?php
namespace ContainerPSmN4xb;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getValidator_NotCompromisedPassw... |
<?php
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2018
* @package yii2-tree-manager
* @version 1.1.1
*/
use artsoft\widgets\ActiveForm; //переопределено!!!
use kartik\tree\Module;
use kartik\tree\TreeView;
use kartik\tree\models\Tree;
use yii\helpers\ArrayHelper;
use yii\helpers\Ht... |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* VocabulaireRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class VocabulaireRepository extends EntityRepository
{
} |
--TEST--
IDN UTS #46 API error tests
--SKIPIF--
<?php
if (!extension_loaded('intl'))
die('skip');
if (!defined('INTL_IDNA_VARIANT_UTS46'))
die('skip no UTS #46 API');
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
echo "=> PHP level errors", "\n";
echo "bad variant:", "\n";
var_dump(idn... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Carte extends Model
{
protected $table ="ouvrages";
protected $fillable = [
'titre_propre' ,
'tyope_carte' ,
'echelle' ,
... |
<?php echo $__env->make('layouts._language', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->startSection('boost-content'); ?>
Leveling
<?php echo app('translator')->getFromJson('header.home'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('boost.boost', a... |
<?php
/**
* Created by PhpStorm.
*
* kookaburra
* (c) 2020 Craig Rayner <craig@craigrayner.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* User: craig
* Date: 2/01/2020
* Time: 08:18
*/
namespace App\Form\Type;
use App... |
<?php
namespace App\Entities;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
use App\Traits\SequenceTrait;
use ShaoZeMing\Merchant\Traits\AdminBuilder;
use ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
public function branch()
{
return $this->belongsTo('App\Branch');
}
public function client()
{
return $this->belongsTo('App\Client');
}
public function employee()
{
return ... |
<?php
namespace App\Repositories;
use App\Models\Slider;
class SliderRepository extends BaseRepository
{
public function __construct(Slider $slider)
{
$this->model = $slider;
}
} |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AdminConsentRequestPolicy File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights res... |
<?php
namespace App\Controller;
use App\Model\Post;
use Exception;
class PostController extends AbstractController
{
protected $model;
protected string $template = 'post/post.twig';
public function __construct()
{
parent::__construct();
$this->model = new Post();
}
public f... |
<?php namespace Sonnenglas\AmazonMws;
use Sonnenglas\AmazonMws\AmazonProductsCore;
/**
* Copyright 2013 CPI Group, LLC
*
* 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... |
<?php
namespace frontend\models;
use Yii;
/**
* This is the model class for table "catalog_variant_lang".
*
* @property integer $id
* @property integer $lang_id
* @property integer $object_id
* @property string $description
*/
class CatalogVariantLang extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
... |
{!! Form::model($new,array('url' => array('employee/news/update'),'class'=>'form-horizontal create-store-form','id'=>'form_add','method'=>'post','enctype'=>'multipart/form-data')) !!}
<lable class="col-sm-2 control-label">{!! trans('messages.product.photo') !!}</lable>
<div class="col-sm-10">
@if(!empty($new->photo... |
<?php
namespace App\Http\Controllers\ReservaVuelo;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Modulos\ReservaVuelo\Avion;
use App\Modulos\ReservaVuelo\Tramo;
use App\Modulos\ReservaVuelo\Aerolinea;
use App\Modulos\ReservaVuelo\Aeropuerto;
class TramosController extends Controller
{
... |
<?php
namespace App\Listeners;
use App\Events\ImageSet;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Facades\Image;
class OptimizeImage implements ShouldQueue
{
/**
* Create the event listener.
*
... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Liveinteraction\V20201214\Models\UpdateCallbackConfigResponseBody\result\imConfig;
use AlibabaCloud\Tea\Model;
class msgConfig extends Model
{
/**
* @description 消息撤回时间间隔,毫秒
*
* @var int
*/
public $ms... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Model_log extends CI_Model
{
public function save_log($param)
{
$sql = $this->db->insert_string('tb_log', $param);
$ex = $this->db->query($sql);
return $this->db->affected_rows($sql);
}
} |
<?php
namespace App\Http\Livewire;
use App\Package;
use Livewire\Component;
class PackagesPage extends Component
{
public function render()
{
return view('livewire.packages-page', [
'packages' => $this->packages(),
'filters' => $this->filters(),
]);
}
public f... |
<?php
/**
* Copyright 2011 Bas de Nooijer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of cond... |
<?php
// include_once __DIR__.'/../../../../../Configs/config.php';
// require __DIR__ . '/../../../../autoload.php';
if (preg_match('/\.(?:png|jpg|jpeg|gif|css|js|woff|woff2|ttf|html|otf|svg)/', $_SERVER["REQUEST_URI"])) {
return false; // serve the requested resource as-is.
//$_SERVER["REQUEST_URI"] .= "/... |
<?php
use Illuminate\Database\Seeder;
class SermonTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(App\Models\Sermon::class, 10)->create();
}
} |
<?php
namespace App\Http\Controllers;
use App\Answer;
use App\Question;
use Illuminate\Http\Request;
use Auth;
class AnswersController extends Controller
{
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
... |
<?php
/* @var $this HrHolidayPlansController */
/* @var $model HrHolidayPlans */
$this->createMenu('create', $model);
?>
<h1><?php echo $this->pageTitle; ?></h1>
<?php echo $this->renderPartial('_form', array('model' => $model)); ?> |
<?php
use Migrations\AbstractMigration;
class BlocksInitialMigration extends AbstractMigration
{
public function up()
{
$this->table('regions')
->addColumn('title', 'string', [
'default' => null,
'limit' => 100,
'null' => false,
]... |
<?php
/*--------------------
https://github.com/jazmy/laravelformbuilder
Licensed under the GNU General Public License v3.0
Author: Jasmine Robinson (jazmy.com)
Last Updated: 12/29/2018
----------------------*/
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use App\Models\Submission;
use App\Mode... |
<?php
namespace App;
use Illuminate\Foundation\Auth\User as Authenticatable;
class Payment extends Authenticatable
{
protected $fillable = [
'user', 'details' ,'beneficiaire','beneficiaire_id','payment_id','payer_id' , 'montant' ];
} |
@extends('layouts.app')
@section('content')
<!-- ここにページ毎のコンテンツを書く -->
<h1>タスク新規作成ページ</h1>
<div class="row">
<div class="col-6">
{!! Form::model($task, ['route' => 'tasks.store']) !!}
<div class="form-group">
{!! Form::label('status', 'ステータス:') !!}
... |
<?php
namespace App\Http\Requests;
use App\Http\Requests\Request;
class CandidateFormRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validatio... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row">
<?php echo $__env->make('admin.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="col-md-9">
<div class="card">
... |
<?php
namespace App\Http\Controllers;
use App\CategoryAspirant;
use App\Models\Aspirant;
use App\Models\Category;
use App\Models\City;
use App\Models\Departament;
use App\Models\DocumentType;
use App\Models\Ethnic;
use App\Models\Gender;
use App\Models\Proyect;
use App\User;
use Carbon\Carbon;
use Illuminate\Database... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD Lic... |
@extends('template.master')
@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Data Tabel OPD</h1>
</div>
<div class="col-sm-6">
... |
<?php
namespace Brisum\Wordpress\Theme\Plugin;
use WP_Query;
class Action
{
/**
* Action constructor.
*/
public function __construct()
{
add_action('template_redirect', [$this, 'actionTemplateRedirect'], 0);
add_action('pre_get_posts', [$this, 'actionPreGetPosts']);
}
/... |
@extends('site')
@section('content')
<!-- Main Content -->
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
@foreach($articles as $article)
<div class="post-preview">
<a href="/madreando/{{strtolower(urlencode($article->section->name))}}/{{$artic... |
<?php
namespace app\modules\doctorworkbench\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\doctorworkbench\models\CDiagtext;
/**
* CDiagtextSearch represents the model behind the search form about `app\modules\doctorworkbench\models\CDiagtext`.
*/
class CDiagtextSearch extend... |
<?php
//creare un array di elementi numerici, ordinarlo in modalità crescente e visualizzarlo a video
$ar=[1,5,3,9,7,10,15,12,4,2];
asort($ar);
print_r($ar);
/*
Array
(
[0] => 1
[9] => 2
[2] => 3
[8] => 4
[1] => 5
[4] => 7
[3] => 9
[5] => 10
[7] => 12
[6] => 15
)
... |
<?php
namespace app\canteen\controller;
use app\common\controller\Base;
use think\Request;
class ShopInfo extends Base
{
protected $canteen_id;
public function __construct()
{
parent::__construct();
$this->shopModel = Model('Shop');
$this->SchoolModel = Model('School');
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashbo... |
<?php
/*
* This file is part of the desarrolla2 download bundle package
*
* Copyright (c) 2017-2018 Daniel González
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Daniel González <daniel@desarrolla2.com>
*/
namespace ... |
<!doctype html>
<html lang="en">
<head>
<title>Tables | Klorofil - Free Bootstrap Dashboard Template</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scal... |
<?php
use Illuminate\Support\Facades\Schema;
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 ... |
<?php
namespace Marca\HomeBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class PageType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$bui... |
<?php
namespace common\models;
use Yii;
use yii\base\NotSupportedException;
use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;
use yii\helpers\ArrayHelper;
use yii\web\IdentityInterface;
/**
* User model
*
* @property integer $id
* @property string $username
* @property string $fullname
* @property s... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class UserLocation extends Model
{
protected $fillable = ['user_id'];
} |
<?php
namespace Jane\OpenApi3\Generator\RequestBodyContent;
use Jane\JsonSchema\Generator\Context\Context;
use Jane\OpenApi3\JsonSchema\Model\MediaType;
use PhpParser\Node\Arg;
use PhpParser\Node\Expr;
use PhpParser\Node\Name;
use PhpParser\Node\Scalar;
use PhpParser\Node\Stmt;
class JsonBodyContentGenerator extends... |
<?php
namespace Servicios\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 $middle... |
@extends('yonetim.layouts.master')
@section('title','Anasayfa')
@section('content')
<!-- PAGE CONTAINER-->
<div class="page-container">
<!-- MAIN CONTENT-->
<div class="main-content">
<div class="section__content section__content--p30">
<div class="con... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Mapel extends Model
{
protected $table = 'mapel';
protected $fillable = ['kode','nama','semester'];
public function siswa()
{
return $this->belongsToMany(Siswa::class)->withPivot(['nilai']);
}
public function guru()
... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace RectorPrefix20210607\Symfony\Component\Config\Definition\Exception;
/**
... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
/**
* Class CreateAzureTables
*/
class CreateAzureTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
// Azure Service Configuration
... |
<?php
/*
* This file is part of Chrome PHP.
*
* (c) Soufiane Ghzal <sghzal@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace HeadlessChromium\Test;
use finfo;
use HeadlessChromium\BrowserFactory;
use HeadlessC... |
<?php
namespace CommonBundle\Repository;
use Doctrine\ORM\QueryBuilder;
/**
* ProfessionalRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class ProfessionalRepository extends \Doctrine\ORM\EntityRepository
{
/**
* @return QueryBuilder
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class PkfkCustomerToOrder extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('orders', functi... |
@extends('masterhotels')
@section('body')
<div class="hidden-xs">
<h1><center>Book your hotel here!</center>
</h1>
<br>
<br>
<br>
<ins class="bookingaff" data-aid="1312269" data-target_aid="" data-prod="nsb... |
<?php
/*
* ------------------------------------------------------------------------
* ADL CRM
* ------------------------------------------------------------------------
*
* Copyright © 2018 ADL CRM All rights reserved.
*
* Unauthorised copying of this file, via any medium is stric... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pages', function ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>ITicket - All tickets</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class PapeisRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the... |
<?php declare(strict_types=1);
namespace Shopware\Core\Migration;
/**
* @deprecated tag:v6.5.0 Will be deleted. Migrations are now namespaced by major version
*/
class Migration1566293076AddAutoIncrement extends \Shopware\Core\Migration\V6_3\Migration1566293076AddAutoIncrement
{
} |
<?php
/*
type: layout
content_type: static
name: Mobile
description: Mobile
*/
?>
<?php
print load_module('pictures/admin');
if(array_key_exists('post', $_GET)){ ?>
<?php } else { ?>
<div id="content" style="padding-top: 120px;">
<div class="mw-ui-box" style="width: 800px;max-width: 80%;ma... |
@extends('admin.layout')
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1> {{ trans('labels.Rating / Reviews') }} <small>{{ trans('labels.Listing Rating / Reviews') }}...</small> </h1>
<ol class="breadcrumb">
... |
<?php
/**
* UserRegistration General Settings
*
* @class UR_Settings_General
* @version 1.0.0
* @package UserRegistration/Admin
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if ( ! class_exists( 'UR_Settings_General' ) ) :
/**
* UR_Settings_General Class
*/
class UR_Setti... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateGastosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('gastos', functio... |
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<?php
echo "H... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.