text stringlengths 2 1.03M |
|---|
<?php
namespace App;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Schedule extends Model
{
use HasFactory;
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAccountsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('accounts', fun... |
<?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 maiorADV\eBaySDK\Test\Browse\Types;
use maiorADV\eBaySDK\Browse\Types\GetItemRestRequest;
class GetIt... |
<div class="row">
<div class="col-md-12">
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul style="list-style-type: none; padding: 0;">
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
... |
<div style="font-weight: bold" id="quiz-time-left"></div>
<div id="time">
</div>
<script>
var c=0;
var timer =select('#timer');
timer.html('0')
function timeIt()
{
c++;
timer.html(c);
c++;
}
setInterval(timeIt, 1000);
</script> |
<?php
return [
'hooks' => [
'after_step' => [ // 流程步骤执行完时执行
'App\Models\Zyd\Flow\Hook\PreOrder' // 需要是hook类的子类
],
],
'steps' => [
'step1'=>[
'title' => 'step1',
'action' => [ // 执行的动作,系统默认动作在Action中提供,也可以自定义
'Pvol\FlowMatrix\Action@... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', fun... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "person".
*
* @property int $id
* @property string $name
* @property int $region_id
* @property string $address
* @property double $income
* @property string $created_at
* @property int $created_by
*
* @property Regions $region
... |
<?php
namespace frontend\models\users;
use yii\db\ActiveQuery;
use yii\db\ActiveRecord;
/**
* This is the model class for table "favourites".
*
* @property int $id
* @property string $dt_add
* @property int $user_id
* @property int $favourite_person_id
*
* @property Users $favouritePerson
* @property Users ... |
@extends('layouts.app_db_student')
@section('search')
@section('content')
@stop |
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/backoffice/master_user.js"></script>
<div class="row">
<div class="col-xs-12">
<?php
error_reporting(E_ALL & ~E_NOTICE);
echo "Hello, user " . $name->name . ".<br />";
?>
<!-- Button trigger modal... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use Illuminate\Auth\Events\Registered;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Hash;
use... |
<?php
namespace Molezinha\Formatters;
use Exception;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\Log;
use Optimus\Heimdal\Formatters\BaseFormatter;
class QueryExceptionFormatter extends BaseFormatter
{
public function format(JsonResponse $response, Exception $e, array $reporterResponses)
{
... |
<?php
return [
'adminEmail' => 'kot903491@gmail.com'
]; |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StoreDeleteRequest;
use App\Http\Requests\UpdateDeleteRequest;
use App\Models\Delete;
class DeleteController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function i... |
<?php
namespace ContainerPgFZDL3;
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 getTranslation_WarmerService ext... |
<div class="container-fluid">
@component('hive::components.card', ['title' => 'Informações gerais'])
<div class="row form-group">
<div class="col-lg-8">
{!! Form::label('nome', 'Nome da etapa') !!}
{!! Form::text('nome', null, ['class' => 'form-control']) !!}... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePostsTabls extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function ... |
<?php
namespace App\Http\Controllers;
use App\Models\Language;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Requests\LanguageRequest;
class LanguagesController extends Controller
{
public function __construct()
{
$this->middleware('auth', ['except' => ['index', 'show... |
<?php
/*
* Aikar's Minecraft Timings Parser
*
* Written by Aikar <aikar@aikar.co>
* http://aikar.co
* http://starlis.com
*
* @license MIT
*/
namespace Starlis\Timings;
/**
* Provides method to translate JSON Data into an object using PHP Doc comments.
*
* @see https://gist.github.com/aikar/52d2ef0870483696... |
<?php declare(strict_types=1);
/**
* PHP version 7.4
*
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
namespace Ewallet\Memberships;
/**
* Handle the persistence of members information
*/
interface Members
{
/**
* @throws UnknownMember If the memb... |
@extends('templates.admin-login')
@section('css-view')
@endsection
@section('js-view')
@endsection
@section('templates.menu-superior-admin')
@endsection
@section('conteudo-view')
<div id="line-one">
<div id="line-one">
<div class="container">
<div class="row" style="height: 50px; width: 1170px; posi... |
<?php
/*
* Made by Samerton
* https://github.com/NamelessMC/Nameless/
* NamelessMC version 2.0.0-pr4
*
* License: MIT
*
* German Language - Users
*/
/*
* Translation by BukkitTNT
*
* http://BukkitTNT.de
* http://twitter.com/BukkitTNT
*
*/
$language = array(
/*
* Change this for the account va... |
<?php
namespace App\Form\Steps;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\FormBuilderInterface;
class PhysicalExaminationStep42Form extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
... |
<?php
########## Maintenance ##########
/**
* The maintenance "mode"
* Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
* 0 is default and disables maintenance mode.
* @var int 0, 1, 2
* @global int $maintenance
*/
$maintenance = 0;
/**
* Title fo... |
@extends('layouts.app')
@section('title','Registrar negociacion')
@section('content')
<body style="background-color:#E0F2F0">
<div class="panel panel-default">
<div class="panel-heading" style="background-color:#8BCEE5; color:white"><h2><i class="fa fa-briefcase"></i> Registrar negociación</h2>
</div>
... |
<?php
/**
* Copyright 1999-2000 (c) The SourceForge Crew
* Copyright (c) BrownBear, 2016 - Present. All Rights Reserved.
*
* This file is a part of Tuleap.
*
* Tuleap 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 Softwar... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Display Debug backtrace
|--------------------------------------------------------------------------
|
| If set to TRUE, a backtrace will be displayed along with php err... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
<?php
$scriptName = "SearchItemsByCategories.php";
include("PHPprinter.php");
$startTime = getMicroTime();
$categoryName = NULL;
if (isset($_POST['categoryName']))
{
$categoryName = $_POST['categoryName'];
}
else ... |
<?php
///////////////////////////////////////////////////////////////////////////////
//
// Licensed Source Code - Property of ProjectKit.net
//
// © Copyright ProjectKit.net 2014. All Rights Reserved.
//
///////////////////////////////////////////////////////////////////////////////
/**
*
* The AmfAuth class is use... |
<?php
use App\Helpers\MarkdownService;
use App\Providers\AppServiceProvider;
if (! function_exists('parse')) {
function parse($file) {
$var = MarkdownService::parse($file);
return $var;
}
} |
<?php
use Illuminate\Support\Facades\Broadcast;
/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------------
|
| Here you may register all of the event broadcasting channels that your
| application suppo... |
<?php
namespace spec\FSi\Bundle\AdminBundle\Menu\Item;
use PhpSpec\ObjectBehavior;
class ItemSpec extends ObjectBehavior
{
public function it_has_default_options(): void
{
$this->getOptions()->shouldReturn(['attr' => ['id' => null, 'class' => null]]);
}
} |
<?php
namespace Pidev\FrontBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Pidev\FrontBundle\Entity\OffreMission;
use Pidev\FrontBundle\Form\OffreMissionType;
use Symfony\Component\HttpFoundation\Response ;
class OffreMissionController extends Controller{
public function list... |
<?php namespace App;
use Illuminate\Database\Eloquent\Model;
class Falla28 extends Model {
protected $table = 'falla28';
protected $fillable = [
'Numero_Carga',
'Fecha_Moldeo',
'Fecha_Falla',
'Numero_Dias',
'Lugar_Falla',
'Falla1',
'Falla2',
'Falla3',
'Codigo_Diseño',
'Nombre_Proyecto',
... |
<?php
/**
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
... |
<?php
namespace App\Http\Controllers\Admin;
use App\CompanySetting;
use App\Helper\Files;
use App\Helper\Reply;
use App\Http\Requests\Company\UpdateCompany;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class CompanySettingsController extends AdminBaseController
{
public function __construct(... |
<?php
namespace Koma136\MyTarget\Domain\V1\Targeting;
use Koma136\MyTarget\Mapper\Annotation\Field;
class Fulltime
{
/**
* @var int[]
* @Field(name="sun", type="array<int>")
*/
private $sun;
/**
* @var int[]
* @Field(name="mon", type="array<int>")
*/
private $mon;
... |
<div class="menu-block">
<div class="category-title">Категории:</div>
<div class="d-flex justify-content-center">
<ul>
<li><a href="/admin">Редактор страниц</a></li>
<li><a href="/admin/munchkin">Манчкин</a></li>
<li><a href="#">Категория 3</a></li>
<li><a... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Rou... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ReturnProductDetail extends Model
{
public function return_product()
{
return $this->belongsTo('App\ReturnProduct');
}
public function product()
{
return $this->belongsTo('App\Product');
}
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Support\Facades\Storage;
class LearningMaterial extends Model {
protected $guarded = [];
public function lesson(): BelongsTo {
return $this->belongsTo(Lesson::class);
}
public fu... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Article;
class DetailsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Request $request, $id)
{
//
$... |
<?php
/*
|--------------------------------------------------------------------------
| Home Menu - Russian
|--------------------------------------------------------------------------
|
|
|
*/
return [
'home' => 'Главная',
'people' => 'Люди',
'teams' => 'Команды',
'help' => 'Помощь',
... |
<?php
namespace App\Repository;
use App\Entity\Formato;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @method Formato|null find($id, $lockMode = null, $lockVersion = null)
* @method Formato|null findOneBy(array $criteria, array $orderBy = nul... |
<?php
/**
* Copyright © 2017 Divante, Inc. All rights reserved.
* See LICENSE for license details.
*/
namespace OpenLoyalty\Bundle\EarningRuleBundle\Form\Type;
use OpenLoyalty\Bundle\EarningRuleBundle\Form\DataTransformer\LabelsDataTransformer;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Ext... |
<?php
declare(strict_types=1);
namespace App\Tasks\Task04\Domain;
use Ramsey\Uuid\UuidInterface;
interface HasUuid
{
public function getUuid() : UuidInterface;
} |
<div class = "modal fade" id= "new">
<div class = "modal-dialog">
<div class = "modal-content">
<div class = "modal-header">
<button tyle = "button" class = "close" data-dismiss = "modal" aria-hidden="true">×</button>
<h4 class = "modal-title">Nuevo Derech... |
<?php
namespace php_active_record;
/* DATA-1793
coraltraits Tuesday 2019-02-05 11:37:23 AM {"measurement_or_fact_specific.tab":56713,"occurrence_specific.tab":33518,"reference.tab":555,"taxon.tab":1547} -- first run
coraltraits Tuesday 2019-02-19 10:57:19 PM {"measurement_or_fact_specific.tab":56713,"occurrence_specif... |
<?php
use yii\helpers\Url;
return [
[
'class' => 'kartik\grid\CheckboxColumn',
'width' => '20px',
],
[
'class' => 'kartik\grid\SerialColumn',
'width' => '30px',
],
// [
// 'class'=>'\kartik\grid\DataColumn',
// 'attribute'=>'id',
// ],
[
... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddTypeFieldToJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('jobs', func... |
<?php
namespace App\Listeners;
use App\Events\ProductConcesionado;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
class NotificarConcesion
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
... |
<?php
namespace App\Modules\Error;
use Solarfield\Lightship\Errors\UnresolvedRouteException;
use Solarfield\Lightship\Events\DoTaskEvent;
use Solarfield\Lightship\Events\ProcessRouteEvent;
use Solarfield\Lightship\Errors\HttpExceptionInterface;
use Solarfield\Lightship\Errors\UserFriendlyException;
use Solarfield\Ligh... |
<?php
namespace Alfonsobries\LaravelSpreadsheetImporter\Tests;
use Alfonsobries\LaravelSpreadsheetImporter\Jobs\StartImport;
use Alfonsobries\LaravelSpreadsheetImporter\Tests\stubs\Models\MyModel;
use Illuminate\Support\Facades\Schema;
class StartImportTest extends TestCase
{
/** @test */
public function it_... |
<!-- Main sidebar -->
<div class="sidebar sidebar-main">
<div class="sidebar-content">
<!-- User menu -->
<div class="sidebar-user">
<div class="category-content">
<div class="media">
<a href="#" class="media-left"><img src="{{ url('Admin/') }}/images... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\WebScrappingController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your ap... |
<div class="row">
<div class="col-md-12">
<?php echo form_open('presente/receberPresente'); ?>
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Recebimento de Presentes</h3>
</div>
<div class="box-body... |
<?php
/*
* Copyright 2021 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Todo extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'todos';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fil... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<?php
/**
* @author Víctor Ruiz Gómez
* @file \brief Script con utilidades para trabajar con los cookies del usuario
*/
/**
* Esta clase proporciona métodos para acceder y/o modificar los cookies del cliente.
*/
class Cookies
{
/**
* @return Devuelve el nombre de usuario guardado en los cookies... |
<?php
/**
* linkedin-client
* Scope.php
*
* PHP Version 5
*
* @category Production
* @package Default
* @author Philipp Tkachev <zoonman@gmail.com>
* @date 8/22/17 09:02
* @license http://www.zoonman.com/projects/linkedin-client/license.txt linkedin-client License
* @version GIT: 1.0
* @link ht... |
<?php
/**
* namespace de localizacao do nosso controller
*/
namespace Contato\Controller;
// import ZendMvc
use Zend\Mvc\Controller\AbstractActionController,
Zend\View\Model\ViewModel;
use Contato\Model\Contato,
Contato\Form\ContatoForm;
class ContatosController extends AbstractActionController
{
p... |
<?php
namespace App\Services;
use Illuminate\Database\Eloquent\Collection;
interface IUserService{
public function getAllUsers(): Collection;
public function getNotApprovedUser($args);
public function findUserById($id);
public function deleteUser($id);
} |
<?php
/* SonataAdminBundle:CRUD:show_trans.html.twig */
class __TwigTemplate_75cb23f481a5114fb4e0f10667c52e85963baecb2568ff5615d4f88c73cfc79d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 11
try {
$this->pare... |
<?php
include('functions.php');
$id = $_GET['id'];
$query = "DELETE FROM `personne` WHERE `personne`.`id` = '$id';";
if(performQuery($query)){
echo "Le compte a ete rejete.";
}else{
echo "Une erreur inconnue s'est produite. Veuillez réessayer.";
}
?>
<br... |
<?php
/**
* TOP API: taobao.logistics.orders.get request
*
* @author auto create
* @since 1.0, 2011-09-09 13:49:16
*/
class LogisticsOrdersGetRequest
{
/**
* 买家昵称
**/
private $buyerNick;
/**
* 创建时间结束
**/
private $endCreated;
/**
* 需返回的字段列表.可选值:Shipping 物流数据结构中的以下字段:
tid,seller_nick,buyer_ni... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
class SearchController extends Controller
{
public function results()
{
$users = User::where('name','like', '%'.request('query').'%')->get();
return view('backend.search',)->with('name', 'Search results... |
<?php
// use App\Http\Livewire\Ticket;
use App\Http\Controllers\TicketController;
// use App\Http\Livewire\Ticket\Create;
use App\Http\Livewire\Users\Index as UsersIndex;
use App\Http\Livewire\Tickets\Index;
use Illuminate\Support\Facades\Route;
/*
|-------------------------------------------------------------------... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ieltsTestResult extends Model
{
use HasFactory;
public $table = "ielts_test_result";
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Mlogin extends CI_Model
{
function __construct(){
parent::__construct();
}
public function ingresar($user,$psw){
$this->db->select('idUsuario,user,clave,permiso,idPersona,nuevo');
$this->db->FROM('usuario');
$this->db->WHERE('us... |
<?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 RectorPrefix20211118\Symfony\Component\DependencyInjection\Compiler;
use... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
use Illuminate\Support\Facades\Auth;
class ResetPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Passwor... |
<?php
/**
* This file is part of the Tracy (https://tracy.nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
namespace RectorPrefix20211228\Tracy;
/**
* @internal
*/
final class DeferredContent
{
/** @var SessionStorage */
private $sessionStorage;
/** @v... |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class TypeAnneeScolaireTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
DB::table('type_annees')->insert([
[
'li... |
<?php
// @formatter:off
namespace PHPSTORM_META {
/**
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
* Generated on 2020-06-28 06:47:37.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
override(new \Illum... |
<?php
/**
* Omeka
*
* @copyright Copyright 2007-2012 Roy Rosenzweig Center for History and New Media
* @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3
* @package Omeka
*/
// Define the current version of Omeka.
define('OMEKA_VERSION', '2.7.1');
// Define the application environment.
if (!defined('AP... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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/LICENS... |
<?php
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Fixer\CastNotation;
use PhpCs... |
<?php
/**
* Created by Linzh.
* Email: linzhv@outlook.com
* Date: 2018/11/15
* Time: 10:25
*/
namespace driphp\throws\database;
use driphp\throws\DatabaseException;
class NotFoundException extends DatabaseException
{
} |
<?php
/* @var $this \yii\web\View */
/* @var $content string */
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use common\widgets\Alert;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$ap... |
<?php
namespace App;
use App\Converter\AtomConverter;
use App\Converter\ConverterInterface;
use App\Converter\RssConverter;
class ConverterResolver
{
private static $converters = [
'rss' => RssConverter::class,
'atom' => AtomConverter::class
];
public static function resolve($params) : C... |
<?php
/**
* tpshop
* ============================================================================
* 版权所有 2015-2027 深圳搜豹网络科技有限公司,并保留所有权利。
* 网站地址: http://www.tp-shop.cn
* ----------------------------------------------------------------------------
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 .
* 不允许对程序代码以任何形式任何目的的再发布。
... |
<?php
namespace App\Events;
use App\Events\Event;
use Illuminate\Queue\SerializesModels;
class UserContactEvent extends Event
{
use SerializesModels;
public $contact_id;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($contact_id)
{
$... |
<?php if($paginator->hasPages()): ?>
<nav>
<ul class="pagination">
<?php if($paginator->onFirstPage()): ?>
<li class="page-item disabled" aria-disabled="true" aria-label="<?php echo app('translator')->get('pagination.previous'); ?>">
<span class="... |
<?php
namespace Catalyst\InventoryBundle\Template\Entity;
use Doctrine\ORM\Mapping as ORM;
use Catalyst\InventoryBundle\Entity\Warehouse;
trait HasWarehouse
{
/**
* @ORM\ManyToOne(targetEntity="\Catalyst\InventoryBundle\Entity\Warehouse")
* @ORM\JoinColumn(name="warehouse_id", referencedColumnName="id"... |
<?php
namespace App\Http\Controllers;
use App\Models\pago_facturas;
use App\Models\factura;
use Illuminate\Http\Request;
use Response;
class PagoFacturasController extends Controller
{
public function getPagoProveedor(Request $req)
{
$id_proveedor = $req->id_proveedor;
$facturas = factura::wh... |
<?php
declare(strict_types=1);
namespace App\Domain\ToolInstance\Command;
use App\Model\Command;
use App\Model\Modflow\VariableDensity;
use Exception;
class UpdateVariableDensityCommand extends Command
{
/** @var string */
private $id;
/** @var array */
private $variableDensity;
/**
* @re... |
<?php
/*
* Copyright 2014 Google Inc.
*
* 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 applicable law or agre... |
<?php
namespace Taskeet\MainBundle\Entity;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\ORM\Mapping as ORM;
/**
* Project
*
* @ORM\Table(name="project")
* @ORM\Entity(repositoryClass="Taskeet\MainBundle\Entity\ProjectRepository")
*/
class Project
{
/**
* @var integer
*
* @ORM\Column(n... |
@extends('admin.master')
@section('header','View Category')
@section('title','Category')
@section('main-content')
<section class="content">
<div class="container-fluid">
<div class="card">
<div class="card-header">
<h4> All Category</h4>
</div>
... |
<div class="holder medium top">
<div class="title">
<h1>Installation</h1>
</div>
<div class="installer instructions">
<ol>
<li>Please enter a new admin password below</li>
<li>Scan the Authenticator barcode or enter the secret key</li>
<li>Enter the generated code</li... |
<?php
namespace App\Http\Controllers;
use App\Model\User;
use App\Model\Affiliations;
use App\Model\UserAffiliations;
use App\Model\Code;
use App\Model\CodesUsed;
use App\Model\SystemLog;
use App\Model\PasswordResets;
use App\Model\UserAddress;
use App\Model\UserRegisteredPhones;
use App\Model\UserVacationalFunds;
use ... |
@extends('../template')
@section('title')
MyApp - Contact
@endsection
@section('content')
LA page contact
<form class="needs-validation" novalidate>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationCustom01">First name</label>
<i... |
<?php
$mysqli = new mysqli("localhost", "root", "root", "teste");
if (isset($_GET["busca"])) {
$busca = $_GET["busca"];
}
$sql = mysqli_query($mysqli, "
SELECT
produto_solicitado.id,
solicitacao_produto.id as id_solicitacao,
produtos.codigo_barras,
produtos.descricao,
produtos.saldo,
produtos.... |
<?php
namespace App\Controller;
use Awurth\Slim\Helper\Controller\Controller;
use Cartalyst\Sentinel\Checkpoints\ThrottlingException;
use Respect\Validation\Validator as V;
use Slim\Http\Request;
use Slim\Http\Response;
/**
* @property \Awurth\SlimValidation\Validator validator
* @property \Cartalyst\Sentinel\Sent... |
<?php
use backend\models\Dictionary;
use yii\db\Migration;
class m161006_112201_extra_state_values extends Migration
{
public function up()
{
$this->insert('Dictionary',array(
'Name'=>'Internment Extra Status',
'created_at'=>time(),
'updated_at'=>time(),
));... |
<div class="formcontainer" >
<form action="#" id="update_emp_address_form" class="form-horizontal">
<input type="hidden" value="" name="empidentityid"/>
<div class="form-body">
<div class="pull-right" style="padding-right... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.