text stringlengths 2 1.03M |
|---|
<?php
return array(
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Redirect;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class M_progress extends CI_Model{
function insert_progress($id_kelas=null,$id_peserta=null,$step=null){
$data = array(
'id_kelas' => $id_kelas,
'id_peserta' => $id_peserta,
'step' => $step
... |
<?hh // partial
namespace HH\Facts {
/**
* These are the different kinds of types that Facts concerns itself with.
* These values are replicated in ext_facts.h.
*/
enum TypeKind : string {
K_CLASS = 'class';
K_ENUM = 'enum';
K_INTERFACE = 'interface';
K_TRAIT = 'trait';
K_TYPE_ALIAS = 'typeAlias';
}
/**... |
<?php
namespace Bolt\Tests\Session;
use Bolt\Session\IniBag;
use PHPUnit_Framework_TestCase as TestCase;
/**
* IniBag Tests
*
* @author Carson Full <carsonfull@gmail.com>
*/
class IniBagTest extends TestCase
{
public function testAllGlobal()
{
$ini = new IniBag();
$expectedSubset = [
... |
<?php
namespace CodeProject\Entities;
use Illuminate\Database\Eloquent\Model;
class Client extends Model
{
protected $fillable = [
'name',
'responsible',
'email',
'phone',
'address',
'obs'
];
} |
@extends('backend.layouts.master')
@section('title')
Collection Statement List
@endsection
@section('content')
<div class="container-fluid">
{{-- @if (Session::has('message'))--}}
{{-- <div class="alert alert-success">--}}
{{-- <div>--}}
{{-- <p>{{ Session::g... |
<!-- Main Sidebar Container -->
<aside class="main-sidebar sidebar-dark-primary elevation-4">
<!-- Brand Logo -->
<a href="index3.html" class="brand-link">
<img src="<?= base_url('assets')?>/dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
... |
<?php
declare(strict_types=1);
namespace Carrooi\Menu;
/**
* @author David Kudera <kudera.d@gmail.com>
*/
interface IMenuItem extends IMenuItemsContainer
{
public function isActive(): bool;
public function isAllowed(): bool;
public function getAction(): ?string;
public function getActionParameters(): a... |
<?php
// This file was auto-generated from sdk-root/src/data/lightsail/2016-11-28/docs-2.json |
<script src="{{ asset('/admin') }}/bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap 3.3.7 -->
<script src="{{ asset('/admin') }}/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- DataTables -->
<script src="{{ asset('/admin') }}/bower_components/datatables.net/js/jquery.dataTables.... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class My_controller extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
... |
<?php
namespace Sheep\Widgets\Form;
use Sheep\Widgets\Base\Element;
/**
* Representa um campo de um formulário
* @author Pablo Dall'Oglio
*/
abstract class Field implements FormElementInterface
{
protected $name;
protected $size;
protected $value;
protected $editable;
protected $tag;
protec... |
<?= $this->extend('commerce/templates/index') ?>
<?= $this->section('content') ?>
<div class="page-header breadcrumb-wrap">
<div class="container">
<div class="breadcrumb">
<a href="index.html" rel="nofollow">Home</a>
<span></span> Pages
<span></span> Login / Register
... |
<?php
/**
* Class Controller
* Base Class for Controllers
*/
abstract class Controller
{
protected $view;
protected $requestMethod;
public function __construct($requestMethod)
{
$this->requestMethod = $requestMethod;
}
/**
* removing/escaping not allowed characters
* @pa... |
<?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
namespace App\Http\Controllers;
use App\Models\Greeting;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class GreateengController extends Controller
{
public function index(){
//$greetings = Greeting::all();
//$greetings = DB::table('greetings')->get();
//$countRow ... |
<?php
/**
* Copyright © Vaimo Group. All rights reserved.
* See LICENSE_VAIMO.txt for license details.
*/
namespace Vaimo\ComposerPatches\Exceptions;
class ConfigValidationException extends \Exception
{
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Product;
use Illuminate\Support\Facades\Session;
class CartController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function AddCart(Request $r... |
<?php
/* Smarty version 3.1.32-dev-45, created on 2021-11-01 10:36:19
from '/Users/ajsong/Sites/Web/PHP/website_/application/gm/view/home.login.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.32-dev-45',
'unifunc' => 'content_6... |
<?php
namespace NF_FU_VENDOR;
// This file was auto-generated from sdk-root/src/data/events/2015-10-07/api-2.json |
<?php
namespace Svea\Checkout\Tests\Unit\Transport;
use Svea\Checkout\Tests\Unit\TestCase;
use Svea\Checkout\Transport\ResponseHandler;
class ResponseHandlerTest extends TestCase
{
/**
* @expectedException \Svea\Checkout\Exception\SveaApiException
* @expectedExceptionCode 401
*/
public function testHandleCli... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateLogicalDevicesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('logical_devices', function (Blueprint $table) ... |
<?php declare(strict_types = 1);
namespace PHPStan\Rules\Comparison;
use PHPStan\Rules\Rule;
use PHPStan\Testing\RuleTestCase;
use const PHP_VERSION_ID;
/**
* @extends RuleTestCase<UsageOfVoidMatchExpressionRule>
*/
class UsageOfVoidMatchExpressionRuleTest extends RuleTestCase
{
protected function getRule(): Rul... |
<h2>{{ __('app.apps.config') }} ({{ __('app.optional') }}) @include('items.enable')</h2>
<div class="items">
<div class="input">
<label>{{ strtoupper(__('app.url')) }}</label>
{!! Form::text('config[override_url]', isset($item) ? $item->getconfig()->override_url : null, ['placeholder' => __('app.app... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class TypeVehicle extends Model
{
//
} |
<?php
/**
* Exception when creating layou tmanager fails
*
* PHP version 5
*
* @package exceptions
* @author CharcoalPHP Development Team
* @copyright 2008 stk2k, sazysoft
*/
class Charcoal_LayoutManagerCreationException extends Charcoal_RuntimeException
{
public function __construct( $layout_manager, $pre... |
<?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\Component\Form\Tests\Extension\Core\Type;
use Symfony\Component... |
<?php
require_once(__DIR__.'/../mysql_connect.php');
session_start();
$msg="";
$message="";
$count="";
if (isset($_POST['submit'])){
$message=NULL;
$productType="PreMade";
$dollName=$_POST['dollName'];
//$dollImage=$_POST['dollImage'];
$dollDescription... |
@extends('layouts.app')
@section('content')
<section>
<div class="block no-padding gray">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="inner2">
<div class="inner-title2">
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProfilesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('profiles', fun... |
@extends('layouts.master')
@section('content')
<section>
<div class="container">
<div class="row">
<div class="col col_9_of_12">
{{-- check bai viet rong trong danh muc --}}
@if(count($getDataPost)==null)
<div class="alert_message red head_title" style="text-align: center;margin-top: 10px;">
<h4>... |
@extends('layouts.app')
@section('content')
<h1>id = {{ $task->id }} のタスク詳細ページ</h1>
<table class="table table-bordered">
<tr>
<th>id</th>
<td>{{ $task->id }}</td>
</tr>
<tr>
<th>タスク</th>
<td>{{ $task->content }}</td>
</tr>
... |
<?php namespace Fisdap\Ascend\Greatplains\Contracts;
use Fisdap\Ascend\Greatplains\Contracts\Support\Arrayable;
/**
* Interface SalesInvoiceLine
*
* Object representing a sales invoice line
*
* @package Fisdap\Ascend\Greatplains\Contracts
* @author Jason Michels <jmichels@fisdap.net>
* @version $Id$
*/
interf... |
<?php
class Kelas extends CI_CONTROLLER{
public function __construct(){
parent::__construct();
$this->load->model('Kelas_model');
$this->load->model('Main_model');
ini_set('xdebug.var_display_max_depth', '10');
ini_set('xdebug.var_display_max_children', '256');
ini_se... |
<?php
echo "*** Testing posix_getsid() : function test ***\n";
$pid = posix_getpid();
echo "\n-- Testing posix_getsid() function with current process pid --\n";
var_dump( is_long(posix_getsid($pid)) );
?>
===DONE=== |
<?php
class Diskon extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('admin/m_diskon');
adm_logged_in();
cekadm();
}
/** Menampilkan data diskon */
public function index()
{
$email = $this->session->userdata... |
@extends('layouts.app')
@section('content')
@include('buses.form')
@endsection |
<?php
/**
* Created by PhpStorm.
* User: DELL
* Date: 2019/3/13
* Time: 11:32
*/
namespace app\model;
use think\Model;
class ClubSocketModel extends Model{
protected $name = 'club_socket';
/**
* 获取俱乐部专属连接通道
* @param $clubId 俱乐部ID
* @return array|false|\PDOStatement|string|Model
*/
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class comment extends Model
{
protected $table = 'comments';
} |
<?php
namespace App\Controllers;
use App\Models\PortfolioModel;
use Config\Validation;
class PortfolioController extends BaseController
{
protected $PortfolioModel;
public function __construct()
{
$this->PortfolioModel = new PortfolioModel();
}
public function index()
{
$id = ... |
@extends('layouts.main')
@section('title', 'Dashboard')
@section('content')
<div class="col-md-10 offset-md-1 dashboard-title-container">
<h1>Meus Eventos</h1>
</div>
<div class="col-md-10 offset-md-1 dashboard-events-container">
@if(count($events) > 0)
<table class="table">
... |
<?php
namespace RedBeanPHP\Plugins\RedSql\Filters;
class FilterEQUALS extends GenericFilter
{
protected $operator = '=';
public function apply(&$sql_reference, array &$values_reference, array $parameters)
{
if (is_bool($parameters['value'])) {
$parameters['value'] = (integer) $paramet... |
<?php
namespace Tests\Feature\Invoices;
use App\Entities\Partners\Customer;
use App\Entities\Projects\Project;
use App\Services\InvoiceDrafts\InvoiceDraft;
use App\Services\InvoiceDrafts\InvoiceDraftCollection;
use App\Services\InvoiceDrafts\Item;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;... |
<?
$MESS["DISK_FILE_C_ERROR_COULD_NOT_CREATE_FIND_EXT_LINK"] = "Could not create or find a public link to the object.";
$MESS["DISK_ERROR_MESSAGE_DENIED"] = "Insufficient permissions to perform operation";
$MESS["DISK_FILE_C_ERROR_INVALID_FILE_VERSION"] = "The specified version does not belong to the file.";
?> |
<?php include('include/header.php');?>
<?php include('include/generate.php');?>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<?php include('include/topheader.php');?>
<!-- Left side column. contains the logo and sidebar -->
<?php include('include/sidebar.php');?>
<!-- Content Wr... |
<?php
use Illuminate\Database\Seeder;
class GroupSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('groups')->insert([
['grupo' => 'Recepcion','descripcion' => 'Recepción','status' => '1'],
['grup... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By default, we will use ... |
<?php
class CategoryPage {
function show(&$page) {
$page->data->category = $page->db->select('category');
}
function add(&$page) {
$page->tpl = 'category-edit';
$page->data->cat_id = 0;
}
function edit(&$page) {
$page->tpl = 'category-edit';
$id = (int)$page->from->get('id')->val();
$... |
<?php
namespace AppBundle\Security;
use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use AppBundle\Entity\Project;
use UserBundle\Entity\User;
class ProjectVoter implements VoterInterface
{
const VIEW = 'view';
c... |
<?php
namespace Doctrine\DBAL\Driver\PDOPgSql;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Driver\AbstractPostgreSQLDriver;
use Doctrine\DBAL\Driver\PDOConnection;
use PDO;
use PDOException;
use function defined;
/**
* Driver that connects through pdo_pgsql.
*/
class Driver extends AbstractPostgreSQLDriver
... |
<?php
class FooBar {
private $x = 3;
}
<<__EntryPoint>>
function main_call_and_bind_to_loop() {
$a = function ($add) {
return $this->x + $add;
};
$fb = new FooBar();
$r1 = 0;
$st = microtime(true);
for ($i = 0; $i < 1000; $i++) {
$x = $a->bindTo($fb, "FooBar");
$r1 += $x(4);
}
$end = microtime(true);
var_du... |
<?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Tests\Metadata\Resource\Factory;
... |
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
$this->title = 'Tentang Kami';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-about">
<h1><?= Html::encode($this->title) ?></h1>
<p>This is the About page. You may modify the following file to customize its content:</p>
<p>k... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Models\Annonce;
use App\Http\Models\Article;
use DB;
use Validator;
use File;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Exception;
class AnnonceController extends Controller
{
/**
* Display a listing of the resource.
*
... |
<?php
namespace Sirehu\Blog\Controllers;
use Phalcon\Mvc\Controller;
class ControllerBase extends Controller
{
} |
<?php
/**
* Set up Predis
*/ |
<?php declare(strict_types=1);
/*
* MIT License
*
* Copyright (c) 2021 Björn Hempel <bjoern@hempel.li>
*
* 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... |
@extends('administrador.layouts.layout')
@section('menu')
@include('administrador.layouts.menu', array('op'=>'modulos'))
@stop
@section('contenido')
<!-- header de la pagina -->
<section class="content-header">
<h1><i class="fa fa-pencil-square-o"></i> Editar y ordenar, Categorias Y subcategorias</h1>
<ol ... |
<?php
/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Orm\Zed\Oms\Persistence;
use Spryker\Zed\Oms\Persistence\Propel\AbstractSpyOmsProductReservationChangeVersionQuery as BaseSpyOmsProductRes... |
@extends('adminlte::page')
@section('title', 'Dashboard')
@section('content_header')
<h1>SHOW USUARIO</h1>
@stop
@section('content')
<p>bienbevinoso</p>
@stop
@section('css')
<link rel="stylesheet" href="/css/admin_custom.css">
@stop
@section('js')
<script> console.log('Hi!'); </script>
@stop |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Leaf;
use JMS\Serializer\Annotation\ExclusionPolicy;
us... |
<?php
$countMovieShowtimeAll = '';
$countMovieShowtime = '';
?>
<div id="showtimeTab">
<div class="menuContent">
<ul class="nav">
<?php
for($dayTime = 0;$dayTime <7; $dayTime++){
$dateTimeTab = date('Y-m-d', strtotime("$dataDate +$dayTime day"));
$dateNowShort = date('d', strtotime($dat... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class PedidoPorProdutoSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
PedidoPorProduto::factory(3)->cre... |
<?php
/**
* LICENSE: 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 agreed to in writing, software
*... |
@extends('layouts.provAdmin-app')
@section('content')
<div class="container mt-5">
<div class="row justify-content-center" style="height: 450px !important;">
<div class="col-md-10">
<div class="card bg-light" style="height: 100%">
{{-- <div class="card-header bg-primary text-lig... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Redis;
use Illuminate\Validation\Validator;
use \DB;
use App\Models\LotteryDetail;
use App\Models\LotteryResultDetail;
use App\Exceptions\Exception;
class lotteryController extends Contro... |
<?php
use yii\db\Migration;
class m160511_201038_create_category extends Migration
{
public function up()
{
$this->createTable('category', [
'id' => $this->primaryKey(),
'name' =>$this->string()
]);
}
public function down()
{
$this->dropTable('categ... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2015, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\Seguridad\Usuario;
use App\Models\Admin\Rol;
use App\Http\Requests\ValidacionUsuario;
class UsuarioController extends Controller
{
/**
* Display a listing of the resource.
*
... |
<?php
namespace WireBlade\View\Components;
class TimePicker extends Input
{
public const INTERVAL = 10;
public const FORMAT_12H = '12';
public const FORMAT_24H = '24';
public const DEFAULT_FORMAT = self::FORMAT_12H;
public int $interval;
public string $format;
public funct... |
<?php
namespace Test\Router;
use JDesca\Router\RouteCallable;
class RouteCallable_ForTest extends RouteCallable {
public function getMatches():array{
return $this->matches;
}
public function setMatches(array $matches):void{
$this->matches = $matches;
}
} |
<?php
/**
* This file has been @generated by a phing task by {@link GeneratePhonePrefixData}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how t... |
<?php include('./header.php')?>
<div class="register-top"></div>
<div class="register-messages">
<div class="center">
<p id="account-type" class="list" style="margin-top: 90px;">
<span class="star">*</span><span class="name">账户类型:</span>
<a class="style-text min-width active">普通客户</... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class BrancheActivites extends Model
{
protected $table = 'branchesActivites';
protected $primaryKey = 'code';
public $timestamps = true;
protected $fillable = array('code', 'libelle', 'secteur');
} |
<?php
/**
* DocxSetFooterRequestTest
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* convertapi
*
* Convert API lets you effortlessly convert file formats and types.
*
* OpenAPI spec vers... |
<?php
/**
* This file is part of the Madapaja.TwigModule package.
*
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Madapaja\TwigModule\Resource\Page;
use BEAR\Resource\ResourceObject;
class Index extends ResourceObject
{
public function onGet($name = 'BEAR.Sunday')
{
$this['name'] ... |
<?php
/* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\search\savedusersearch$id@[annot]][1]/ */
/* Type: array */
/* Expiration: 2020-10-24T05:56:14+05:30 */
$loaded = true;
$expiration = 1603499174;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(base64_decode('YTozOntpOjA7... |
<!-- jQuery -->
<script src="<?= base_url('assets/js/jquery/jquery.js')?>"></script>
<!-- Bootstrap Core JavaScript -->
<script src="<?= base_url('assets/js/bootstrap/bootstrap.min.js')?>"></script>
<!--sweetalert-->
<script src="<?= base_url('assets/js/sweetalert/sweetalert.min.js')?>"></scri... |
<?php
use WebAction\DefaultConfigurations;
use WebAction\ActionTemplate\RecordActionTemplate;
use WebAction\ActionRunner;
use WebAction\ActionRequest;
use WebAction\ActionLoader;
use OrderBundle\Model\OrderSchema;
class TestUser implements \Kendo\Acl\MultiRoleInterface
{
public $roles;
public function getRol... |
<?php
/**
* Created by PhpStorm.
* User: 白猫
* Date: 2019/4/29
* Time: 18:35
*/
namespace ESD\Core\Plugins\Config;
use ESD\Core\Plugins\Event\Event;
class ConfigChangeEvent extends Event
{
const ConfigChangeEvent = "ConfigChangeEvent";
public function __construct()
{
parent::__construct(sel... |
@extends('adminlte.template')
@section('content')
@if ($errors->any())
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<!-- Con... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Order;
class CalendarController extends Controller
{
public function get()
{
$orders=Order::all();
$arrayDates=array();
$arrayDate=array();
foreach ($orders as $order) {
if ($order->status=="Pending") ... |
<?php
declare(strict_types=1);
namespace App\Webedia\ShopApiPlugin\Command\Product;
use App\Webedia\ShopApiPlugin\Command\CommandInterface;
class AddProductReviewByCode implements CommandInterface
{
/** @var string */
protected $productCode;
/** @var string */
protected $channelCode;
/** @var ... |
<?= $this->extend('layouts/layout') ?>
<?= $this->section('content') ?>
<div class="container mt-5">
<br>
<div class="login">
<div class="login-bottom">
<?php $validation = \Config\Services::validation(); ?>
<div class=... |
<?php
declare(strict_types=1);
namespace ElastiCommerce\ElasticSearchIndexDsl\Tests\Unit\Settings\TokenFilter;
use ElastiCommerce\ElasticSearchIndexDsl\Settings\TokenFilter\EdgeNGram;
use PHPUnit\Framework\TestCase;
/**
* Test for EdgeNGram TokenFilter.
*/
class EdgeNGramTest extends TestCase
{
/**
* @va... |
<?php
namespace Sooh2\Messager\Push\Getui;
/**
* 个推:针对所有设备的推送(忽略user参数)
* 参数格式:appidkeys=id1,key1,MasterSecret1;id2,key2,MasterSecret2&localhost=本机标识&expire=超时秒数[&server=https://restapi.getui.com/v1/]
* @author wangning
*/
class Basic2A extends \Sooh2\Messager\Sender{
public function needsUserField() { ... |
<?php
declare(strict_types=1);
/*
* This file is part of the Doctrine Behavioral Extensions package.
* (c) Gediminas Morkevicius <gediminas.morkevicius@gmail.com> http://www.gediminasm.org
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Flutter;
use App\Models\Product;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Str;
use App\Models\Category;
use App\Models\Tag;
use Illuminate\Support\Facades\Storage;
use App\Http... |
<?php
// +----------------------------------------------------------------------
// | Created by linshan. 版权所有 @
// +----------------------------------------------------------------------
// | Copyright (c) 2020 All rights reserved.
// +----------------------------------------------------------------------
// | Technol... |
<?
$MESS["ID_TIP"] = "El ID de la orden que será mostrado para construir vínculos a la página de pedido visto etc.";
$MESS["PATH_TO_CANCEL_TIP"] = "La ruta a la página de cancelación de pedidos.";
$MESS["PATH_TO_LIST_TIP"] = "La dirección de la página de pedidos.";
$MESS["PATH_TO_PAYMENT_TIP"] = "La ruta al procesador ... |
<?php
namespace Illuminate\Validation;
use BadMethodCallException;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Translation\Translator;
use Illuminate\Contracts\Validation\ImplicitRule;
use Illuminate\Contracts\Validation\Rule as RuleContract;
use Illuminate\Contracts\Validation\Val... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table... |
<?php
namespace Course\Controllers;
use Assignment\Models\Assignment;
use Bookmark\Models\Bookmark;
use Catalogue\Models\Catalogue;
use Category\Models\Category;
use Content\Models\Content;
use Course\Models\Course;
use Course\Models\User;
use Course\Requests\CourseRequest;
use Frontier\Controllers\AdminController;
u... |
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Command;
use Symfony\Component\... |
<?php
if ( !function_exists('get_menu_lateral')) {
function get_menu($rol_actual) {
$CI =& get_instance();
$CI->load->library('siid');
$menu = array();
$menuItem = array();
$menuItem = array();
$menuItem['isActive'] = FALSE;
$menuItem['href'] = base_url('prin... |
<?php
namespace Database\Factories;
use App\Models\Property;
use Illuminate\Database\Eloquent\Factories\Factory;
class PropertyFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Property::class;
/**
* Define the m... |
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use App\Models\ZqLetgoal;
use App\Models\ZqLetgoalhalf;
use App\Models\ZqStandard;
use App\Models\ZqTotalscore;
use App\Models\ZqTotalscorehalf;
use App\Models\ZqStandardhalf;
class getzqLetgoal extends Command
{
/**
* The name and signatu... |
<?php
$UTF8_TO_ASCII[0x8b] = array(
'Zui ','Can ','Xu ','Hui ','Yin ','Qie ','Fen ','Pi ','Yue ','You ','Ruan ','Peng ','Ban ','Fu ','Ling ','Fei ','Qu ','[?] ','Nu ','Tiao ','Shuo ','Zhen ','Lang ','Lang ','Juan ','Ming ','Huang ','Wang ','Tun ','Zhao ','Ji ','Qi ','Ying ','Zong ','Wang ','Tong ','Lang ','[?] ','Meng ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterCouponInTblOrder extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('tbl_order', f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.