text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateUnitOfficeSecondariesTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('unit_office_secondaries', function(Blueprint $table) {
$table->... |
<nav class="navbar navbar-default">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
... |
<?php
declare (strict_types=1);
namespace TenantCloud\BetterReflection\Relocated;
trait TheTrait
{
} |
<?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 Library\Component\RPC\AbstractInterface;
use Library\Component\RPC\Common\Package;
use Library\Component\Socket\Client\TcpClient;
abstract class AbstractPackageParser
{
abstract function decode(Package $result,TcpClient $client,$rawData);
/*
* must return string
*/
abstract fu... |
<?php declare(strict_types=1);
namespace App\Entity;
use DateTime as DateTime;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Ramsey\Uuid\Doctrine\UuidGenerator;
use Ramsey\Uuid\UuidInterface as UuidInterface;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity(repo... |
<?php
/**
* Created by Cristian.
* Date: 02/10/16 07:37 PM.
*/
namespace Reliese\Meta;
use ArrayIterator;
use RuntimeException;
use IteratorAggregate;
use Illuminate\Database\MySqlConnection;
use Illuminate\Database\SQLiteConnection;
use Illuminate\Database\SqlServerConnection;
use Illuminate\Database\ConnectionI... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateEquiposTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('equipos', function(Blueprint $table)
{
$table->increments('id');
$table-... |
<nav class="navbar navbar-findcond navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span clas... |
<?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
namespace Modules\Seller\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Database\Eloquent\Factory;
class SellerServiceProvider extends ServiceProvider
{
/**
* @var string $moduleName
*/
protected $moduleName = 'Seller';
/**
* @var string $moduleNameLower
*/
... |
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
</ul>
<form class="navbar-form navbar-left">
<div class="form-group">
<input type="text" class="form-c... |
<?php
return [
'title' => 'Kelurahan/Desa',
'subTitle' => 'Master',
'modalTitleTambah' => 'Tambah Kelurahan/Desa',
'placeHolderTambah' => 'Masukkan Kelurahan/Desa',
'modalTitleUbah' => 'Ubah Kelurahan/Desa',
]; |
<main class="adm adm__main">
<div class="adm__sidebar sidebar">
<div class="sidebar__top">
<div class="sidebar__login login">
<div class="login__avatar">
<img src="<?php echo($_SESSION['user_ava'] == "" ? "img/admin/ava__adm1.jpeg" : $_SESS... |
<?php
namespace Google\AdsApi\AdManager\v201811;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class FieldPathElement
{
/**
* @var string $field
*/
protected $field = null;
/**
* @var int $index
*/
protected $index = null;
/**
* @param string $field
*... |
<!--{template header}-->
<section class="ui-container">
<!--{template user_title}-->
<ul class="tab-head">
<li class="tab-head-item current"><a href="{url user/invatelist}" title="邀请的人">邀请的人</a></li>
... |
<?php
namespace App\Models\Marketing\Client;
use App\Models\Auth\User;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class ContactFace extends Model
{
use HasFactory, SoftDeletes;
protected $table = 'contact_faces... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class Location extends Model
{
protected $fillable = [
'nom' , 'tarif'
];
} |
<?php
namespace App\Http\Requests\NewQuestion;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Facades\Auth;
class UpdateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<?php
/* @WebProfiler/Profiler/base_js.html.twig */
class __TwigTemplate_d219dae35ea7d41f35f78bbecc879251aff868ee49f6ac1b3092807897043351 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arra... |
<?php
namespace Tnhnclskn\Docker\API\Model;
class SwarmJoinPostBody
{
/**
* Listen address used for inter-manager communication if the node
gets promoted to manager, as well as determining the networking
interface used for the VXLAN Tunnel Endpoint (VTEP).
*
* @var string|null
*/
... |
@extends('template')
@section('content')
<h1>Create a donation</h1>
<!-- if there are creation errors, they will show here -->
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
<... |
<?php
namespace App\Admin\Controllers;
use App\Models\Comment;
use App\Models\Post;
use Encore\Admin\Auth\Database\Administrator;
use Encore\Admin\Controllers\AdminController;
use Encore\Admin\Form;
use Encore\Admin\Grid;
use Encore\Admin\Show;
class CommentController extends AdminController
{
/**
* Title f... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Wishlist extends Model
{
public $guarded = [];
} |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1>
Ap3Aulac2M2
</h1>
</section>
<div class="content">
<div class="box box-primary">
<div class="box-body">
<div class="row" style="padding-left: 20px">
... |
<?php
namespace app\common\library;
use think\Hook;
/**
* 短信验证码类
*/
class Sms
{
/**
* 验证码有效时长
* @var int
*/
protected static $expire = 120;
/**
* 最大允许检测的次数
* @var int
*/
protected static $maxCheckNums = 10;
/**
* 获取最后一次手机发送的数据
*
* @param int ... |
<?php
/**
* ABC124-bの問題をテストする
*
* PHP Version 7.3.11
*
* @category Example
* @package None
* @author Vermee81 <hrksb5029@gmail.com>
* @license None license
* @link http://url.com
*/
/**
* 海が見える旅館の数を返却する
*
* @param integer $N 旅館の数
* @param array $heights 旅館の高さ
*
* @return integer ... |
<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('ZonePriceLevel', 'doctrine');
/**
* BaseZonePriceLevel
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $id
* @property integer $from_zone_id
* @property integer $to_zone_id
* @prop... |
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
</head>
<body>
<h2>Hello Administrator</h2>
@if($type == 'completed') New client has completed the Steps. @endif
@if($type == 'plan_change') A client has selected a new plan, information is below: @endif
... |
<?php
namespace Tighten\TLint\Formatters;
use PhpParser\Lexer;
use PhpParser\Node;
use PhpParser\NodeTraverser;
use PhpParser\NodeVisitor\FindingVisitor;
use PhpParser\Parser;
use Tighten\TLint\BaseFormatter;
use Tighten\TLint\Linters\Concerns\LintsMigrations;
class NoDocBlocksForMigrationUpDown extends BaseFormatte... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Model\Product\Compare;
/**
* @magentoDataFixture Magento/Catalog/_files/product_simple.php
* @magentoDataFixture Magento/Customer/_files/customer.php
*/
class ListCompareTest extends \P... |
<?php
namespace app\controllers;
use Yii;
use app\models\LookupKemajuaanTahun2;
use yii\data\ActiveDataProvider;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* LookupKemajuaanTahun2Controller implements the CRUD actions for LookupKemajuaanTahun2 model.
*/
class LookupK... |
<?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
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\helpers\Url;
$script = <<< JS
$(document).ready(function(){
$('.register-g').click(function(){
$('.modal').modal('show')
... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
namespace AndrewSvirin\Ebics\Exceptions;
/**
* NoOnlineChecksException used for 011301 EBICS error
*
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @author Guillaume Sainthillier
*/
class NoOnlineChecksException extends EbicsResponseException
{
public function __construct(?... |
<?php
namespace net\authorize\api\contract\v1;
/**
* Class representing MobileDeviceLoginResponse
*/
class MobileDeviceLoginResponse extends ANetApiResponseType
{
/**
* @property \net\authorize\api\contract\v1\MerchantContactType $merchantContact
*/
private $merchantContact = null;
/**
... |
<?php
namespace SeniorProgramming\FanCourier\Exceptions;
class FanCourierInstanceException extends \Exception {
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Card extends CI_Controller {
//main index of website
public function index()
{
$this->load->view('card_view');
}
//output function for card
public function card_json(){
$number_of_players = ... |
@extends('errors::minimal')
<section class="section">
<div class="container">
<div class="page-error">
<div class="page-inner">
<h1>429</h1>
<div class="page-description">
Terlalu banyak permintaan
</div>
<div c... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Rule;
use App\Models\User;
use App\Models\Tweet;
use App\Models\Follower;
class UsersController extends Controller
{
/**
* Display a listing of the resource.
*
* @... |
<?php
namespace App\Models;
use App\Traits\HasSucursals;
use App\Traits\HasRolesAndPermissions;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Aut... |
@extends('clients.layout')
@extends('clients.menu')
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Edit Task</h2>
</div>
<div class="pull-right">
<a class="btn btn-primary" href="{{ rout... |
<div class="col-md-12">
<div class="portlet light ">
<div class="portlet-title tabbable-line">
<div class="caption caption-md">
<i class="icon-globe theme-font hide"></i>
<span class="caption-subject font-blue-madison bold uppercase">Profile Account</span>
... |
<?php
/*
* jQuery File Upload Plugin PHP Example
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* https://opensource.org/licenses/MIT
*/
error_reporting(E_ALL | E_STRICT);
require('UploadHandler.php');
$upload_hand... |
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main_nav" aria-controls="main_nav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>... |
<?php
// Get options
$options = WS_Form_Config::get_options();
// Get current tab
$tab_current = WS_Form_Common::get_query_var('tab', false);
if($tab_current === false) {
$tab_current = WS_Form_Common::get_query_var_nonce('tab', 'appearance', false, false, true, 'POST');
}
if($tab_current == 'setup') { $tab... |
<?php
/**
* Disable error reporting
*
* Set this to error_reporting( -1 ) for debugging
*/
error_reporting( 0 );
/** Set ABSPATH for execution */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', dirname( __DIR__ ) . '/' );
}
define( 'WPINC', 'wp-includes' );
require ABSPATH . 'wp-admin/includes/noop.php';
re... |
<?php
namespace app\Index\controller;
use think\Controller;
use think\Request;
class User extends Controller
{
/**
* 显示资源列表
*
* @return \think\Response
*/
public function index()
{
return "aa";
}
/**
* 显示创建资源表单页.
*
* @return \think\Response
*/
... |
<?php
class ConcreteTest extends AbstractTest
{
public function testTwo()
{
}
} |
<?php
/**
* Website: https://mudew.com/
* Author: Lkeme
* License: The MIT License
* Email: Useri@live.cn
* Updated: 2020 ~ 2021
*/
namespace BiliHelper\Plugin;
use BiliHelper\Core\Log;
use BiliHelper\Core\Curl;
use BiliHelper\Util\TimeLock;
class Silver
{
use TimeLock;
protected static $task = [... |
<!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>{{ config('app.name') }}</title>
<meta name="description" content="">
<link href="{{ asset('images/... |
<?php
/**
* Copyright (C) 2014-2018 ServMask Inc.
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This pro... |
<?php
namespace Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine;
/*
* This file is part of the Neos.Flow package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was di... |
<?php
namespace Hatchet\LaravelCloudwatchLogger\Tests;
use Orchestra\Testbench\TestCase;
use Hatchet\LaravelCloudWatchLogger\LaravelCloudWatchLoggerServiceProvider;
class ExampleTest extends TestCase
{
protected function getPackageProviders($app)
{
return [LaravelCloudWatchLoggerServiceProvider::cla... |
<?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 CoverageClassExtendedTest extends TestCase
{
/**... |
<?php
namespace Proxies\__CG__\AppBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Enseignant extends \AppBundle\Entity\Enseignant implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object... |
<?php
function isOneDimension($arr) {
if (!is_array($arr) || count($arr) == 0) {
return false;
}
foreach($arr as $i => $val) {
if (is_array($val)) {
return false;
}
}
return true;
}
function displayItemsCatsCkBoxes($arr, $str = '', $catsColl, $itemsCatsColl,... |
<?php
require_once './config.php';
use newzflash\Regexes;
$page = new AdminPage();
$regexes = new Regexes(['Settings' => $page->settings, 'Table_Name' => 'category_regexes']);
$page->title = "Category Regex List";
$group = ((isset($_REQUEST['group']) && !empty($_REQUEST['group'])) ? $_REQUEST['group'] : '');
$offse... |
<?php declare(strict_types=1);
/*
* 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.
*/
namespace PHPUnit\Framework;
interface SkippedTest
{
} |
<?php
namespace App\Http\Responses\Backend\Student;
use Illuminate\Contracts\Support\Responsable;
class CreateResponse implements Responsable
{
/**
* To Response
*
* @param \App\Http\Requests\Request $request
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*
... |
<?php
namespace Cov\ReclamationBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction()
{
return $this->render('CovReclamationBundle:Default:index.html.twig');
}
} |
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Admin Login</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" type="text/css" href="/media/css/style.css">
<link rel="stylesheet" type="text/css" href="/media/css/bootstrap.mi... |
<?php
namespace Test\Endpoint;
use azkdev\WexnzApi\Endpoint\TradeEndpoint;
use madmis\ExchangeApi\Client\GuzzleClient;
use PHPUnit\Framework\TestCase;
/**
* Class TradeEndpointTest
* @package Test\Endpoint
*/
class TradeEndpointTest extends TestCase
{
/**
* @expectedException \Symfony\Component\OptionsRe... |
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of La... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBrandsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('brands', functio... |
<?php
namespace App\Http\Controllers\admin;
use App\Http\Controllers\Controller;
use App\Model\Career;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Validator;
class CareerController extends Controller
{
protected $career;
public function __construct(Career $... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateQaTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('qa', function (Bluep... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Response;
use Illuminate\Http\Request;
use App\Traits\ApiResponser;
use App\Services\User1Service;
class User1Controller extends Controller
{
use ApiResponser;
/**
* The service to consume the User1 Microservice
* @var User1Service
*/
... |
<?php
namespace common\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\Stock;
/**
* SearchStock represents the model behind the search form about `common\models\Stock`.
*/
class SearchStock extends Stock
{
public $supplier;
public $part;
public $part_category_... |
<?php
use Laravel\Lumen\Testing\DatabaseTransactions;
use Impark\Mutator\test\MutatorTestClass as Mutator;
use Illuminate\Http\Request;
use Laravel\Lumen\Application;
class MutatorTest extends TestCase
{
public function testMakeWithMutableOptions()
{
$ruta = '/'.__FUNCTION__;
$app = new Appl... |
<?php
namespace ContainerXj5BxkJ;
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 getDoctrine_ClearEntityRegionCom... |
<?php
/**
* Created by PhpStorm.
* User: dev_001
* Date: 20/6/22
* Time: 下午6:01
*/
//global $api_error_msg;
//$api_error_msg = [
// '0'=>'请求成功',
// '1001'=>'手机号码格式不正确',
// '1002'=>'邮箱格式不正确',
// '1003'=>'缺少参数',
// '1004'=>'数据库错误',
// '1005'=>'用户未登录'... |
<?php namespace App\library {
use WBoyz\LaravelEnum\BaseEnum;
class CheckValueType extends BaseEnum
{
const cvtInteger = 1;
const cvtFloat = 2;
const cvtDate = 3;
const cvtDateTime = 4;
const cvtString = 5;
const cvtBool = 6;
}
} |
<section class="content-header">
<h1>
Create Student Exchange
</h1>
<a href="{{ url($role. '/student-exchange/10') }}" class="no-link"><i class="fa fa-arrow-circle-o-left tosca"></i> Back</a>
<ol class="breadcrumb">
<li><a href="{{ url($role. '/') }}">Home</a></li>
<li><a href="{{ ... |
<?php
namespace App\Models;
use App\Models\DbHelper;
class FilterModel extends DbHelper
{
public function __construct() {
parent::__construct();
}
public function loadState($zone)
{
$where = false;
if($zone){
$where = array('region' => $zone);
}
$sta... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... |
@extends('layouts.mainMaster')
@section('main_content')
<div class="page-wrapper wrapper pa-0 ma-0 auth-page">
{{-- @include('layouts.partials.errorHeader') --}}
@yield('content')
</div>
@endsection |
<?php
use think\migration\Seeder;
class User extends Seeder
{
/**
* Run Method.
*
* Write your database seeder using this method.
*
* More information on writing seeders is available here:
* http://docs.phinx.org/en/latest/seeding.html
*/
public function run()
{
... |
<?php
namespace Base\Logging;
use Laminas\Stratigility\Middleware\ErrorHandler;
use Psr\Container\ContainerInterface;
class LoggingErrorListenerDelegatorFactory
{
public function __invoke(ContainerInterface $container, string $name, callable $callback) : ErrorHandler
{
$listener = new LoggingErrorL... |
<?php
/*
* This file is part of YaEtl
* (c) Fabrice de Stefanis / https://github.com/fab2s/YaEtl
* This source file is licensed under the MIT license which you will
* find in the LICENSE file or at https://opensource.org/licenses/MIT
*/
namespace fab2s\YaEtl\Events;
use fab2s\NodalFlow\Events\FlowEvent;
/*... |
<?php
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.31.1.5860.78bb27cc6 modeling language!*/
class Ym_n__m_n
{
//------------------------
// MEMBER VARIABLES
//------------------------
//Ym_n__m_n Attributes
private $v;
//Ym_n__m_n Associations
private $xVar;
//------... |
<?php
namespace TheRealJanJanssens\Pakka\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\DB;
class ProviderSchedule extends Model
{
use Notifiable;
public $timestamps = false;
/**
* The attributes that are mass assignable.
... |
<?php
/**
* ENV configuration values
*
* @package jhframe
* @license http://opensource.org/licenses/MIT The MIT License
* @author Ryan Kelley
* @copyright 2011-2015 Jakked Hardcore Gym
*/
$isAjax = (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) &&
strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlht... |
<?php
declare(strict_types=1);
/*
* This file is part of the your app package.
*
* The PHP Application For Code Poem For You.
* (c) 2018-2099 http://yourdomian.com All rights reserved.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.... |
<?php
namespace App\Http\Controllers\Dashboard;
use App\Http\Controllers\Controller;
use App\Models\Movies;
use Illuminate\Http\Request;
class MoviesController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePasswordsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('passwords', f... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\DishSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Блюда';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="dish-index">
<h1><?= Html::encode($this->title... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCartsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('carts', function(... |
<?php
namespace OppCoreClasses\Model;
use \OppCoreClasses\Helper;
use \PDO;
use \PDOException;
class Model {
public $dbh; // handle of the db connection
private static $instance;
private function __construct() {
try {
$config = Helper::load('config')['mysql_config'][Helper::$environ... |
<?PHP
$__lang = $this->session->userdata($this->site_session->__lang_h());
$this->load->view('site/includes/header_menu');
$this->load->view('site/includes/custom_styles_header');
$title = 'title_'.$__lang; $name = 'name_'.$__lang; $city = 'City_'.$__lang; ?>
<style>
header{
z-index: -1;
}
.... |
<?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
/*
* 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 Symfony\Bundle\WebProfilerBundle\Tests\Profiler;
use Symfony\Bundle\Web... |
<?php
namespace FilippoToso\Travelport\UProfile;
class FieldDataSearch
{
/**
* @var typeFieldID $FieldID
*/
protected $FieldID = null;
/**
* @var StringLength1to255 $Name
*/
protected $Name = null;
/**
* @var anonymous566 $Value
*/
protected $Value = null;
... |
<?php
namespace Tests\Feature;
use App\Models\Post;
use App\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Livewire\Livewire;
use Tests\TestCase;
class PostLikeTest extends TestCase
{
use RefreshDatabase;
/** @test */
public function prev... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\helpers\Url;
use yii\widgets\Pjax;
use kartik\daterange\DateRangePicker;
use backend\widgets\Alert;
use common\models\Handler;
$this->title = '存钱记录';
?>
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"><?= Html::encode($this->titl... |
<?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\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class KenzhekhanCategory extends Model
{
use SoftDeletes;
protected $table = 'product_categories';
protected $fillable = ['name'];
public function kenzhekhan()
{
return $this-... |
<?php
namespace Psr7Middlewares\Middleware;
use Psr7Middlewares\Utils;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
* Middleware to read the response.
*/
class ReadResponse
{
use Utils\FileTrait;
use Utils\StreamTrait;
private $continueOnError = false;
... |
<?php
namespace Institution\Controller;
use Cake\Event\Event;
use Cake\ORM\Entity;
use Page\Model\Entity\PageElement;
use App\Controller\PageController;
use App\Model\Traits\OptionsTrait;
class InstitutionContactPersonsController extends PageController
{
use OptionsTrait;
private $preferredOptions = [];
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.