text stringlengths 2 1.03M |
|---|
<?php declare(strict_types=1);
namespace App\Service;
use App\Entity\Genre;
use App\Repository\GenreRepository;
use Doctrine\ORM\OptimisticLockException;
use Doctrine\ORM\ORMException;
class GenreService
{
private GenreRepository $genreRepository;
/**
* GenreService constructor.
*
* @param Ge... |
<HTML><HEAD>
<META HTTP-EQUIV="Expires" CONTENT="0">
<META HTTP-EQUIV="Last-Modified" CONTENT="0">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Pragma" CONTENT="no_cache">
<TITLE>Redirect</TITLE>
<SCRIPT language="JavaScript">
<!--... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2018, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
namespace GuzzleHttp1\Command\Subscriber;
use GuzzleHttp1\Command\CommandInterface;
use GuzzleHttp1\Command\Event\InitEvent;
use GuzzleHttp1\Command\Event\PreparedEvent;
use GuzzleHttp1\Command\Event\ProcessEvent;
use GuzzleHttp1\Command\ServiceClientInterface;
use GuzzleHttp1\Event\EventInterface;
use GuzzleHtt... |
<?php
/**
* Custom Search
*
* @package Sample
* @author Takuto Yanagida
* @version 2022-02-07
*/
namespace sample\search;
require_once __DIR__ . '/ref/custom-search.php';
/**
* Adds post meta keys that are handled as searching target.
*
* @param string|string[] $key_s Post meta keys.
*/
function add_meta_k... |
<?php
/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2016 Leo Feyer
*
* @license LGPL-3.0+
*/
namespace Contao;
/**
* Front end module "news archive".
*
* @author Leo Feyer <https://github.com/leofeyer>
*/
class ModuleNewsArchive extends \ModuleNews
{
/**
* Template
* @var string
*/
protecte... |
<!DOCTYPE html>
<html lang="ru">
<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>Test</title>
</head>
<body>
<h1>Наш модуль:</h1>
{{ trans('AdminAuth::auth.failed')}}
</body>
</html> |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SMA Promotional Page</title>
<link href="<?= ... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Wafopenapi\V20190910\Models;
use AlibabaCloud\Tea\Model;
class CreateCertificateRequest extends Model
{
/**
* @var string
*/
public $certificate;
/**
* @var string
*/
public $certificateName;... |
<?php
/**
* Lithium: the most rad php framework
*
* @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
* @license http://opensource.org/licenses/bsd-license.php The BSD License
*/
namespace lithium\tests\cases\net;
use lithium\net\Message;
class MessageTest extends \lithium\test\Unit {
... |
<?php
namespace eXpansion\Framework\Core\Model\Gui\Grid;
use eXpansion\Framework\Core\Model\DestroyableObject;
use eXpansion\Framework\Core\Model\Gui\Factory\LineFactory;
use eXpansion\Framework\Core\Model\Gui\Factory\PagerFactory;
use eXpansion\Framework\Core\Model\Gui\Factory\TitleLineFactory;
use eXpansion\Framewo... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddCreditCardNumberInTransactionTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::table('... |
<?php
/**
* cakephp-sendgrid (https://github.com/smartsolutionsitaly/cakephp-sendgrid)
* Copyright (c) 2018-2019 Smart Solutions S.r.l. (https://smartsolutions.it)
*
* SendGrid Transport for CakePHP
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE
* Redistr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddSkuColumnToProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('product... |
<?php
namespace App\Exceptions;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array<int, class-string<Throwa... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReviewsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('reviews', function (Blueprint $table) {
$t... |
<footer style="background-color: {{ $recruiter_website->color_code }}">
<div class="container">
<div class="row">
<div class="col-md-6 text-sm-left text-center">
<h6>{{ $recruiter_website->footer }}</h6>
</div>
<div class="col-md-6 text-sm-right text-cente... |
<?php namespace Modules\Pattern\Controllers;
use App\Controllers\BaseController;
/**
* User Agent 클래스
*
* - User Agent 클래스는 브라우저, 모바일 장치 또는 사이트를 방문하는 로봇에 대한 정보를 식별하는 데 도움이 되는 기능을 제공한다.
*/
class UserAgentController extends BaseController
{
public function __construct()
{
parent::__construct();
... |
<?php
namespace App\Http\Controllers;
use App\Category;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
class CategoryController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$categorie... |
<?php
namespace Urbem\CoreBundle\Entity\Arrecadacao;
/**
* CarneMigracao
*/
class CarneMigracao
{
/**
* PK
* @var string
*/
private $numeracao;
/**
* PK
* @var integer
*/
private $codConvenio;
/**
* @var string
*/
private $prefixo;
/**
* @... |
<?php
namespace AirblogBundle\Repository;
use Doctrine\ORM\EntityRepository;
class TagRepository extends EntityRepository {
public function getTagsListOcc() {
$qb = $this->createQueryBuilder('t')
->select('t.slug, t.name, COUNT(p) as occ')
->leftJoin('t.posts... |
<?php
namespace App\Services;
use App\Models\Group;
use App\Repositories\GroupRepository;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Str;
class GroupService
{
/**
* @var GroupRepository
*/
private $groupRepository;
/**
* GroupS... |
<?php
namespace app\modules\v1\models;
use Yii;
/**
* This is the model class for table "rv_int_tipo".
*
* @property string $int_id
* @property integer $tev_id
* @property string $language
* @property string $nombre
* @property string $descripcion
*
* @property RvTipo $tev
*/
class RvIntTipo extends \yii\d... |
<?php
namespace Thruway\Role;
use Thruway\AbstractSession;
use Thruway\Message\Message;
/**
* Class AbstractRole
*
* @package Thruway\Role
*/
abstract class AbstractRole
{
/**
* Handle process reveiced message
*
* @param \Thruway\AbstractSession $session
* @param \Thruway\Message\Messag... |
@extends('admin.app')
@section('main_content')
<div class="content-wrapper">
<section class="content-header">
<h1>
Create Category
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class AlgorithmFormRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* ... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CreateInvoiceDetResortRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/*... |
<?php
declare(strict_types=1);
namespace Smudger\REPO_NAME\Tests;
use InvalidArgumentException;
use PHPUnit\Framework\Assert;
use PHPUnit\Framework\TestCase;
use Smudger\REPO_NAME\Domain\Email;
final class EmailTest extends TestCase
{
public function test_can_be_created_from_valid_email_address(): void
{
... |
<?php
/*
* This file is part of the SeferovBlogBundle package.
*
* (c) Farhad Safarov <http://farhadsafarov.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Seferov\BlogBundle\Controller;
use Symfony\Bundle\Framewo... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddBranchIdToStocks extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('stocks', function(Blueprint $table)
{
$table->unsignedInteger('branch_id');... |
<?php
/**
* @package modx
*/
/**
* Handles backwards compatibility with pre-Revo 2.2 controllers
*
* @package modx
*/
class modManagerControllerDeprecated extends modManagerController {
public $body = '';
/**
* Overrides modManagerController::process to provide custom backwards-compatible support for... |
<?php
/**
* @package Spark
* @author Flipbox Factory <hello@flipboxfactory.com>
* @copyright 2010-2016 Flipbox Digital Limited
* @license https://github.com/FlipboxFactory/Craft2-Spark/blob/master/LICENSE
* @link https://github.com/FlipboxFactory/Craft2-Spark
* @since Class available since ... |
<?php
namespace app\models;
use \app\models\base\PaymentCondition as BasePaymentCondition;
/**
* This is the model class for table "payment_condition".
*/
class PaymentCondition extends BasePaymentCondition
{
/**
* @inheritdoc
*/
public function rules()
{
return array_replace_recursiv... |
<?php
// src/AppBundle/Form/RecipeStepType.php
namespace AppBundle\Form;
use AppBundle\Entity\RecipeStep;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Vich\UploaderBundle\Form\Type\VichFileType;
class RecipeStepTyp... |
<?php
class ffPaginationWPLoop extends ffBasicObject {
/**
*
* @var ffWPLayer
*/
private $_WPLayer = null;
/**
*
* @var ffPaginationComputer
*/
private $_paginationComputer = null;
private $_range = 3;
public function __construct( ffWPLayer $WPLayer, ffPaginationComputer $paginationComputer ... |
<?php
namespace App\Http\Controllers;
use Barryvdh\DomPDF\Facade as PDF;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;
class MarketingController extends Controller
{
public function createMarketing()
{
return view('marketing.create');
}
public function index()
{
... |
<?php if ($required) { $label_attr['class'] = trim((isset($label_attr['class']) ? $label_attr['class'] : '').' required'); } ?>
<?php if (!$compound) { $label_attr['for'] = $id; } ?>
<?php if (!$label) { $label = $view['form']->humanize($name); } ?>
<label class="control-label" <?php foreach ($label_attr as $k => $v) {... |
<?php
/**
* DeliveryPreferences
*
* PHP version 5
*
* @category Class
* @package CanadaPost
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Canada Post REST Client
*
* Library for Canada Post REST API
*
* OpenAPI spec version: 1.0.0
*
* Generated b... |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2012, Cake Software ... |
<div class="header bg-primary pb-6">
<div class="container-fluid">
<div class="header-body">
<div class="row align-items-center py-4">
<div class="col-lg-6 col-7">
<h6 class="h2 text-white d-inline-block mb-0"><?= $title ?></h6>
</div>
</div>
</div>
</div>
</div>
<!-- Page content -->
<div clas... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Sitesetting extends Model
{
protected $fillable = [
'phone_one',
'phone_two',
'email',
'company_name',
'company_address',
'facebook',
'youtube',
'instagram',
'twitter',
... |
<?php
namespace Tests;
use App\Http\Controllers\JWTAuthController;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication, DatabaseMigrations;
public function setUp() : void
... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2018, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div class="card-title">
<div c... |
<?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
return [
'baseUri' => '/',
'logging' => [
'enabled' => true,
'path' => __DIR__ . '/../logs'
],
'rateLimit' => [ 'enabled' => false ],
'storage' => [ 'path' => __DIR__ . '/../database' ]
]; |
<?php
namespace AppBundle;
use Behat\Behat\Tester\Exception\PendingException;
use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext;
use Behat\Gherkin\Node\PyStringNode;
use Behat\Gherkin\Node\TableNode;
use Context\DefaultContext;
use Context\LarWebContext;
/**
* Defines application feat... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\Order\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for TravelNoMarginForSettlTypeDTO StructType
* @subpackage Structs
*/
class TravelNoMarginForSettlTypeDTO extends AbstractStructBase
{
... |
<?hh
class K { const A = 0; const B = 1; }
class Q { const A = 'f'; const B = 'Q::B'; }
<<__EntryPoint>>
function main() {
$x = darray[0 => 42, 1 => 1337];
$y = darray['f' => 10];
$z = darray['Q::B' => 20];
$t = darray['f' => 10, 'Q::B' => 20];
var_dump($x is shape(K::A => int, K::B => int));
var_dump($y... |
@extends('layouts.primary')
@section('title','Home')
@section('category_menu')
@include('partials._category_sublist')
@endsection
@section('content')
{{-- getting products using php for layout--}}
@php
$singleProduct = $products[0];
$fourProducts = [];
$threeProducts = [];
for($i=1;$i<count($products);$i++){ if($i <... |
<?php
namespace App\Http\Controllers;
use App\Match;
use App\Order;
use Illuminate\Http\Request;
use App\Http\Requests;
class OrderController extends Controller
{
//
public function postPhOrder(Request $request)
{
//$message = 'Order successfully placed';
$order = new Order();
sw... |
@extends('layouts.app')
@section('head')
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" />
<link rel="stylesheet" href="https://unpkg.com/leaflet-routing-machine@latest/dist/leaflet-routing-machine.css" />
@endsection
@section('content')
<div class="bg-white p-2">
<h1 class="title "... |
Hello <strong>{{ $name }}</strong>,
<p>{{$body}}</p>
<a href="{{$url}}">click me to verify</a>
<p>Or</p>
<p>{{$url}}</p> |
<div class="page-title">
<div class="title_left">
<h3><?php echo $title; ?></h3>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<form action="" method="get">
<div class="input-group">
<input type="text" class="form-control... |
<?php
/*
** Zabbix
** Copyright (C) 2001-2021 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** Th... |
<?php $this->load->view('element/head'); ?>
<?php $this->load->view('element/header'); ?>
<?php $this->load->view('element/sidebar'); ?>
<?php $this->load->view('element/tambahan'); ?>
<section id="main-content">
<section class="wrapper">
<div class="row">
<div class="col-lg-12">
... |
<?php
namespace Dvsa\OlcsTest\Api\Domain\Validation\Handlers\Fee;
use Dvsa\Olcs\Transfer\Command\CommandInterface;
use Dvsa\OlcsTest\Api\Domain\Validation\Handlers\AbstractHandlerTestCase;
use Mockery as m;
use Dvsa\Olcs\Api\Domain\Validation\Handlers\Misc\CanAccessTransactionWithId;
/**
* @covers Dvsa\Olcs\Api\Dom... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Form Labels
|--------------------------------------------------------------------------
*/
'common' => [
'title' => 'Get Connected',
'close'=>'close',
'sync' =>'Sync'
... |
<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\DoctrineORMAdminBundl... |
---------------
{{#url.viewOnline}}
Trouble viewing this email? View it online here:
{{url.viewOnline}}
{{/url.viewOnline}}
{{#url.unsubscribe}}
Rather not receive this type of email? Unsubscribe here:
{{{url.unsubscribe}}}
{{/url.unsubscribe}}
Email Ref: {{emailRef}} |
<?php
namespace ForkCMS\Modules\Blog\Installer;
use ForkCMS\Core\Backend\Helper\Model;
use ForkCMS\Core\Installer\Domain\Module\ModuleInstaller;
use ForkCMS\Modules\Blog\Domain\Category\Category;
use ForkCMS\Modules\Blog\Domain\Category\CategoryRepository;
use ForkCMS\Modules\Blog\Domain\Comment\Comment;
use ForkCMS\... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSocialNetworksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('social_networks', function (Blueprint $table) {... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class penyelia extends Model
{
protected $table = 'penyelia';
} |
<?php //ICB0 71:0 ?><?php //00ee5
// *************************************************************************
// * *
// * WHMCS - The Complete Client Management, Billing & Support Solution ... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\Component;
use yii\base\InvalidConfigException;
use yii\base\NotSupportedException;
use yii\caching\Cache;
/**
* Connection represents... |
<?php
/**
* Created by PhpStorm.
* User: silwerclaw
* Date: 22.07.16
* Time: 23:49
*/
namespace Silwerclaw\Jirapi\Exceptions;
/**
* Class MultipleException
* @package Silwerclaw\Jirapi\Exceptions
*/
class MultipleException extends Exception
{
/**
* @var Exception[]
*/
protected $exceptions;... |
--TEST--
Test bracket notation with string including dot wildcard
--SKIPIF--
<?php if (!extension_loaded("jsonpath")) print "skip"; ?>
--FILE--
<?php
$data = [
"nice" => 42,
"ni.*" => 1,
"mice" => 100,
];
$jsonPath = new JsonPath();
$result = $jsonPath->find($data, "$['ni.*']");
var_dump($result);
?>
--E... |
<?php
namespace SnapyCloud\PhpApi\Client;
class SnapyClient
{
private $url;
private $userName = null;
private $password = null;
protected $urlPath = '/api/v1/';
protected $userAgent = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36';
... |
<?php
declare(strict_types=1);
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tests\Localization;
/**
* @group localization
*/
c... |
<?php
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http... |
<?php
namespace TS\Writer\Tests;
use PHPUnit_Framework_TestCase;
use ReflectionObject;
use stdClass;
use Symfony\Component\EventDispatcher\EventDispatcher;
use TS\Writer\FileWriterContainer;
use TS\Writer\Implementation\Txt;
/**
* @package Writer
* @author Timo Schäfer
* @copyright 2014
* @version 1.2
*/... |
<ul class="nav navbar-nav navbar-right">
<?php
//var_dump($this->session->statut);
if ($this->session->statut==0)
{
if($this->session->pseudo!=null)
{
... |
<?php
namespace App\Legacy;
use Illuminate\Database\Eloquent\Model;
class ShipTrack extends Model
{
/**
* The connection name for the model.
*
* @var string
*/
protected $connection = 'legacy';
/**
* The table associated with the model.
*
* @var string
*/
prot... |
<?php
//tao ra cac link trong admin
function news_url($url = '')
{
return base_url('site/'.$url);
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Writer extends Model
{
protected $fillable = ['editorial', 'short_bio'];
public $timestamps = false;
public function user()
{
return $this->morphOne('App\Models\U... |
Update Comment:
<div class="modal-body">
<textarea name='description' class="form-control" style="max-width: 300px">{{$comment->description}}</textarea><br>
<input class="btn" type="submit" onclick="location.href='#top';" />
</div> |
<?php
namespace PhpParser\Node\Expr;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\FunctionLike;
class Closure extends Expr implements FunctionLike
{
/** @var bool Whether the closure is static */
public $static;
/** @var bool Whether to return by reference */
public $byRef;
/** @var Node\Para... |
@component('partials.modals.form', [
'formAction' => route('categories.update', $category->id),
'method' => 'PUT',
'title' => trans('labels.categories.modals.edit.title'),
'dismissLabel' => trans('labels.categories.modals.edit.close_button'),
'submitLabel' => trans('labels.categories.modals.edit.save_button')
])
... |
<?php
/**
* ALIPAY API: alipay.commerce.educate.campus.identity.query request
*
* @author auto create
* @since 1.0, 2020-07-16 21:26:32
*/
namespace Alipay\Request;
class AlipayCommerceEducateCampusIdentityQueryRequest
{
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private $prodC... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Datatables | Hyper - Responsive Bootstrap 5 Admin Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="A fully featured admin theme which can be used to build CR... |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\ID3v22;
use JMS\Serializer\Annotation\ExclusionPolicy... |
<?php
$lang['module_home']='Trang chủ';
$lang['module_price_rules']='Chính sách giá bán';
$lang['module_customers']='Khách hàng';
$lang['module_customers_desc']=' ';
$lang['module_customers_sms']='SMS Brandname';
$lang['module_customers_group_send_SMS_mail']='nhóm';
$lang['module_customers_quotes_... |
<?php
namespace ambassador\controllers;
use common\models\User;
use common\models\UserSearch;
use common\rbac\models\Role;
use Yii;
use yii\base\Model;
use yii\web\NotFoundHttpException;
use common\models\AmbassadorProfile;
/**
* UserController implements the CRUD actions for User model.
*/
class ProfileController ... |
<tr>
<td>
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0">
<tr>
<td class="content-cell" align="center">
EVG
</td>
</tr>
</table>
</td>
</tr> |
<?php
namespace App\Jobs;
use App\AnnouncementImage;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Google\Cloud\Vision\V1\ImageAnnotatorClient;
class GoogleVisio... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFaqsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('faqs', function (B... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Create Product</h1>
<hr />
</div>
<div class="col-md-12">
<form method="post" action="{{route('admin.product.store')}}" enctype="multipart/fo... |
<nav class="navbar navbar-expand-lg roadkill-navbar">
<a class="navbar-brand" href="#">Roadkill</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<s... |
@extends("layouts.myLayout")
@section("content")
<div class="container-fluid">
<div class="block-header">
<small>
DASHBOARD / TRANSACTIONS / CONTRACT EXTENSION & RENEWAL
</small>
</div>
<!-- Advanced Validation -->
<div class="row clearfix">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12... |
<?php
// Only process POST reqeusts.
if ($_SERVER["REQUEST_METHOD"] == "POST") {
// Get the form fields and remove whitespace.
$name = strip_tags(trim($_POST["name"]));
$name = str_replace(array("\r","\n"),array(" "," "),$name);
$email = filter_var(trim($_POST["email"]), FILTER_SANIT... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:... |
@extends('layouts.app')
@section('content')
<!-- Card Light -->
<!--Carousel Wrapper-->
<div id="multi-item-example" class="carousel slide carousel-multi-item margin-page" data-ride="carousel">
<!--Controls-->
<div class="controls-top">
<a class="btn-floating" href="#multi-item-example" data-slide... |
@extends('master.login')
@section('content')
<div id="layoutAuthentication">
<div id="layoutAuthentication_content">
<main>
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-7">
<div class="card shadow-... |
<?php
namespace Database\Seeders;
use Database\Seeds;
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
... |
@extends('layouts.master')
@section('title', 'Mahasiswa | Kartu Hasil Studi')
@section('head', 'KHS Mahasiswa')
@section('content')
<div class="container-fluid mt--9 mb-5">
<div class="col">
<div class="card shadow">
<div class="card-header">
<h3 class="mb-... |
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file e... |
#!/usr/bin/env php
<?php
use Kelunik\FqnCheck\FqnChecker;
use PhpParser\Lexer;
use PhpParser\NodeTraverser;
use PhpParser\NodeVisitor\NameResolver;
use PhpParser\ParserFactory;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
if ($argc !== 2) {
print "Usage: fqn-check /path/to/source... |
{{-- List Widget 9 --}}
<div class="card card-custom {{ @$class }}">
{{-- Header --}}
<div class="card-header align-items-center border-0 mt-4">
<h3 class="card-title align-items-start flex-column">
<span class="font-weight-bolder text-dark">Recent Activities</span>
<span class=... |
<?php
require_once '../session.php';
if ($_SERVER['REQUEST_METHOD'] == "POST") {
$status = null;
$settings = new Uploady\Settings($db);
if ($auth->checkToken($_POST['csrf'], $_SESSION['csrf']) == false) {
$status = "csrf";
} else {
$settings->updateSettings($utils->esc($_POST));
... |
<?php
namespace OpenActive\Enums\PropertyEnumeration;
/**
* This enumeration contains a value for all properties in the https://schema.org/ and https://openactive.io/ vocabularies.
*
*/
class UrlTemplate extends \OpenActive\Enums\PropertyEnumeration
{
const value = "UrlTemplate";
const memberVal = "https:/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.