text stringlengths 2 1.03M |
|---|
<?php
namespace app\application\socialpage\events;
use app\application\socialpage\models\SocialPage;
use yii\base\Event;
class SocialPageEvent extends Event
{
/** @var SocialPage */
private $socialPage;
public function setSocialPage(SocialPage $socialPage): void
{
$this->socialPage = $social... |
<?php
namespace App\Http\Controllers\home;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Models\Orders;
use App\Models\Goods;
use DB;
use App\Models\Address;
use App\Models\Entrepots;
use App\Models\ShopCars;
class OrdersController extends Controller
{
/**
... |
<?php
namespace Procure\Controller;
use Zend\Mvc\Controller\AbstractActionController;
use Doctrine\ORM\EntityManager;
use Zend\View\Model\ViewModel;
use Application\Domain\Util\Pagination\Paginator;
use Application\Entity\NmtApplicationAttachment;
use Zend\Http\Headers;
use Zend\Validator\Date;
use Zend\Math\Rand;
use... |
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<!-- article -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<!-- post thumbnail -->
<?php if ( has_post_thumbnail()) : // Check if thumbnail exists ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php... |
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="YabKDQQa97EkWdnFT9xcYTkpyy9uMZm6pBHWPCFM">
<title>{{config('app.name')}} | {{__(' Academic Advising')}}</title>
<link rel="styleshe... |
<?php
use yii\helpers\Html;
use yii\widgets\LinkPager;
use yii\helpers\Url;
?>
<style>
.dianpusearch span{
vertical-align:middle;
}
.mianbaoxie{
margin:10px 0px;
}
.mianbaoxie>span{
border-color:rgb(1,189,240);
border-width:0px 3px;
border-style:solid;
}
.mutisearch{
margin:10px 0px;
}
.table-action button{
pad... |
<?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
/* table/structure/table_structure_row.twig */
class __TwigTemplate_ce988fb0a18a2757f5b598447e6e9607e38058883c4a6314f460534b2a8916b1 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
... |
<?php
/*
* $Id: MSSQLPreparedStatement.php,v 1.12 2004/06/13 02:31:07 hlellelid Exp $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateQualificationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('qualific... |
@include('partials.Blog.header');
<main class="container">
<div id="contenedor" >
</section>
<section class="row"> <!-- clase row==> elimina los paddings internos(sirve para tener mayor cantidad de contenido de texto)-->
<!--ANCHO EXACTO DEL CONTAINER PARA CADA TAMA�O DE PANTALLA= xs... |
<?php
/*
*
* // +-------------------------------------------------------------------------+
* // | Copyright (c) 2021 Al Masum Nishat |
* // | All rights reserved. |
* // | ... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... |
<!--notification menu start -->
<div class="menu-right">
<ul class="notification-menu">
<li>
<a href="index_alt.html#" class="btn btn-default dropdown-toggle info-number" data-toggle="dropdown">
<i class="fa fa-tasks"></... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasOne;
class Order extends Model
{
... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4... |
<?php
/**
* Part of the Fuel framework.
*
* @package Fuel
* @version 1.7
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2013 Fuel Development Team
* @link http://fuelphp.com
*/
/**
* NOTICE:
*
* If you need to make modifications to the default configuration, ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class neetchem15tt02 extends Model
{
protected $fillable = ['question_data',
'option1',
'option2',
'option3',
'option4',
'correct_ans',
'difficulty',
'ideal_time',
'question_type',
'solution'];
public function users... |
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Waluty') }}</title>
<!-- Styles -->
<link rel="stylesheet" href="ht... |
<?php namespace ImageProcess;
class Merge extends Filter
{
public $top;
public $left;
public $bottom;
public $right;
public $beneath = false;
protected function processObject(ImageProcess $imageProcess, ImageObject $object1, ImageObject $object2 = null)
{
if (!$object2) {
... |
<?php
namespace App\Controllers;
use App\Models\Home_m;
class Home extends BaseController
{
protected $home_model;
public function __construct(){
helper('form');
$this->home_model = new Home_m();
}
public function index()
{
$data['allData'] = $this->home_model->getData(); ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use App\Buku;
use Carbon\Carbon;
use Session;
use Illuminate\Support\Facades\Redirect;
use Auth;
use DB;
use Excel;
use RealRashid\SweetAlert\Facades\Alert;
class BukuController extends Controller
{
/**
* Display a listing of t... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="es" class="no-js"> <!--<![endif]-->
<head>
<meta chars... |
<?php
/**
* Created by Netbeans.
* User: Arun
* Date: 21/2/17
* Time: 8:22 AM
*/
namespace app\modules\company\models;
use yii\base\Model;
use yii\base\InvalidParamException;
use app\modules\company\models\Company;
/**
* Password reset form
*/
class ResetPasswordForm extends Model
{
public $password;
/*... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source ... |
@extends('welcome')
@section('content')
<div class="row">
<div class="col-sm-9 col-md-7 col-lg-5 mx-auto">
<div class="card card-signin my-5">
<div class="card-body">
<h5 class="card-title text-center">Buat Toko</h5>
<form class="form-signin" action="{{ url('/tampiloutlet/buatoutlet') }}" m... |
<?php
if($_SESSION['id_scaa']!=$pagina[1]){
if($_SESSION['privilegio_scaa']>=3){
echo $lc->forzar_cierre_sesion_controlador();
exit();
}
}
?>
<div class="g3-table">
<div class="formContainer3"> <br>
<div id="btnsList">
<a href="<?php echo SERVERURL; ?>listaPreinscrito... |
<?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
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PhoneAuthenticationMethod File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reser... |
@extends('layouts.simplepage', ['pageName' => 'Live account', 'parent' => 'Account', 'children' => 'Live'])
@section('css')
<link rel="stylesheet" href="{{ asset('css/magnific-popup.css')}}">
<link rel="stylesheet" href="{{ asset('css/loader.css')}}">
@endsection
@include('layouts.menutop')
<header class="page-header">... |
<?php
namespace ProduitsBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class ProduitsType extends AbstractType
{
/**
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $buil... |
<?php
return [
/*
|--------------------------------------------------------------------------
| SAML idP configuration file
|--------------------------------------------------------------------------
|
| Use this file to configure the service providers you want to use.
|
*/
// Out... |
<?php
namespace Google\AdsApi\AdWords\v201705\cm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class ClientTermsError extends \Google\AdsApi\AdWords\v201705\cm\ApiError
{
/**
* @var string $reason
*/
protected $reason = null;
/**
* @param string $fieldPath
* @param \Go... |
<?php
/**
* Task 封装来自 task 数据表的记录及领域逻辑
*/
class Task extends QDB_ActiveRecord_Abstract
{
/**
* 返回对象的定义
*
* @static
*
* @return array
*/
static function __define()
{
return array
(
// 用什么数据表保存对象
'table_name' => 'tasks',
//... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Clean Blog - Start Bootstrap Theme</title>
<!-- Bootstrap core CSS... |
<?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\RIFF;
use JMS\Serializer\Annotation\ExclusionPolicy;
... |
<?php
use Illuminate\Database\Seeder;
use Carbon\Carbon;
use App\Models\Disease;
class DiseasesTableSeeder extends Seeder
{
/**
* Arrays of table's name
*
* @var string $tablesName
*/
private $tableName = "diseases";
/**
* Run the database seeds.
*
* @return void
*/
public function ... |
<?php
use App\Eco\Occupation\Occupation;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
class SeedOccupation extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema:... |
<?php
/**
* Automatically generated by running "php schema.php xml".
*
* You may modify the file, but re-running schema.php against this file will
* standardize the format without losing your schema changes. It does lose
* any changes that are not part of schema. Use "note" field to comment on
* schema itself, an... |
<?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
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRestaurantsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('restaurants... |
@extends('master')
@section('content')
<div class="col-12 d-flex justify-content-end toolbar">
<button id="btnLuuThemMoi" class="btn btn-sm btn-primary">Lưu và thêm mới</button>
<button class="btn btn-sm btn-primary">Lưu và đóng</button>
<button class="btn btn-sm btn-primary">Lưu và cập nhật</button>
<b... |
<div class="margin-bottom-more">
<div class="block_title">
<h3>{{t('tender.criteria_title')}}</h3>
</div>
<div class="tender-description__item">
<div class="tender-description__title">{{t('tender.price')}}:</div>
<div class="tender-description__text">{{$item->__features_price*100}}%<... |
<?php
use yii\db\Schema;
use yii\db\Migration;
class m210819_091259_group_edu_program extends Migration
{
public function init()
{
$this->db = 'db';
parent::init();
}
public function safeUp()
{
$tableOptions = 'ENGINE=InnoDB';
$this->createTable(
'{{%... |
<?php
/**
* P2_PublicVars
*
* require
* * (none)
*
* @version 2.2.0
* @see https://github.com/orzy/p2
* @license The MIT license (http://www.opensource.org/licenses/mit-license.php)
*/
abstract class P2_PublicVars {
/**
* 存在しない変数へのアクセス
* @param string $key
*/
public function __get($key) {... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class TaskSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\Task::factory(50)->create();
... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
Posts
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
... |
<?php
/**
* This file is part of the FreeDSx LDAP package.
*
* (c) Chad Sikorra <Chad.Sikorra@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\FreeDSx\Ldap\Protocol\Queue\MessageWrapper;
use FreeDSx\Ldap... |
<?php
namespace App\Http\Controllers\Admin\Product;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Product;
use App\Models\Category;
use App\Models\ProductImage;
use Illuminate\Support\Facades\Validator;
class ProductController extends Controller
{
public function index()
{
... |
<?php
declare(strict_types=1);
namespace Cycle\ORM\Entity\Behavior\Uuid\Tests\Functional\Driver\MySQL\Uuid;
// phpcs:ignore
use Cycle\ORM\Entity\Behavior\Uuid\Tests\Functional\Driver\Common\Uuid\ListenerTest as CommonClass;
/**
* @group driver
* @group driver-mysql
*/
class ListenerTest extends CommonClass
{
... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD Lic... |
<?php
/*================================================================+\
|| # PHPRetro - An extendable virtual hotel site and management
|+==================================================================
|| # Copyright (C) 2009 Yifan Lu. All rights reserved.
|| # http://www.yifanlu.com
|| # Parts Copyright (C) 2009... |
<?php
namespace Oro\Bundle\LocaleBundle\Tests\Unit\DependencyInjection\Compiler;
use Oro\Bundle\LocaleBundle\DependencyInjection\Compiler\PreferredLanguageProviderPass;
use Oro\Component\DependencyInjection\Tests\Unit\Compiler\TaggedServicesCompilerPassCase;
class PreferredLanguageProviderPassTest extends TaggedServ... |
<?php
namespace Crater\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class NotesRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get t... |
<!DOCTYPE html>
<html lang="pt-br">
<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>Cadastrar um novo produto</title>
</head>
<body>
<form action="{{ route('alterar_produto', ['id' => $p... |
<?php
declare(strict_types=1);
namespace Kcs\Serializer\Annotation;
use Attribute;
use Kcs\Serializer\Exception\RuntimeException;
use TypeError;
use function get_debug_type;
use function is_array;
use function is_string;
use function Safe\sprintf;
use function strtolower;
/**
* @Annotation
* @Target({"PROPERTY",... |
<?php
/*
* This file is part of the mingyoung/dingtalk.
*
* (c) 张铭阳 <mingyoungcheung@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace EasyDingTalk\Kernel\Http;
use GuzzleHttp\Middleware;
use Overtrue\Http\Client as BaseClie... |
<?php
namespace App\Models\Catalogos\Anexos;
use Illuminate\Database\Eloquent\Model;
class Anexo26 extends Model{
public $timestamps = true;
protected $table= 'anexo26';
protected $fillable = ['anx26_paciente','anx26_conyuge','anx26_medico','anx26_fecha','anx26_EDB','anx26_edad1','anx26_edad2','anx26_med... |
@extends('layouts.admin')
@section('content')
<div class="page-wrapper">
<!-- ============================================================== -->
<!-- Title and breadcrumb -->
<!-- ============================================================== -->
<div class="page-titles">
<div class="d-flex al... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Http\Requests\Admin\VendorRequest;
use App\Models\MainCategory;
use App\Models\Vendor;
use App\Notifications\VendorNotify;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Notification;
class VendorController extends ... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Member */
$this->title = 'Update Member: ' . $model->userid;
$this->params['breadcrumbs'][] = ['label' => 'Members', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->userid, 'url' => ['view', 'id' => $model->... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "filter".
*
* @property int $id
* @property int $category
* @property int $subcategory
* @property string $features
* @property string $comments
* @property int $status
* @property int $CB
* @property int $UB
* @property strin... |
@extends('canteen-ms.layout.index')
@section('content')
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"><small>Danh Sách</small> Sản Phẩm
</... |
<?php
namespace Vanguard\Http\Middleware;
use Closure;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class VerifyInstallation
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @th... |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WindowsDefenderAdvancedThreatProtectionConfiguration File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft ... |
@extends('layouts.app')
@section('content')
<div class="layout-px-spacing">
<div class="row layout-top-spacing">
<div class="col-xl-12 col-lg-12 col-sm-12 layout-spacing">
<div class="widget-content widget-conte... |
<?php
namespace App\Http\Controllers\Regpanel\Panel;
use App\Repositories\Regpanel\DepartmentRepository;
use Illuminate\Http\Request;
use App\Http\Requests\PanelDepartmentRequest;
use App\Http\Controllers\Controller;
use App\Models\Regpanel\Stuff;
use App\Models\Regpanel\Organization;
use App\Models\Regpanel\Departme... |
<!DOCTYPE html>
<html>
<head>
<style>
#customers {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
#customers td, #customers th {
border: 1px solid #ddd;
padding: 8px;
}
#customers tr:nth-child(even){background-color: #f2f2f2;}
#customers tr:hover {background-color: #dd... |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... |
<?php
namespace FINDOLOGIC\Export\Helpers;
use DOMDocument;
use DOMElement;
use FINDOLOGIC\Export\Exceptions\EmptyValueNotAllowedException;
/**
* Class UsergroupAwareSimpleValue
* @package FINDOLOGIC\Export\Helpers
*
* Simple values that can differ per usergroup, but have one value at most for each.
*/
abstract... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DB;
use Illuminate\Support\Facades\Auth;
use App\{EnumeratorData, Log, HouseHoldInfomation, HouseHoldName, HouseHoldLiving, HouseHoldAsset};
use Spatie\Permission\Models\Role;
use Illuminate\Support\Facades\Validator;
class EnumeratorDetaControlle... |
<?php
namespace romi45\seoContent\components;
use Yii;
use yii\base\Behavior;
use yii\base\Component;
use yii\base\InvalidConfigException;
use yii\base\Model;
use yii\db\ActiveRecord;
use yii\db\BaseActiveRecord;
use romi45\seoContent\models\SeoContent;
use yii\helpers\ArrayHelper;
/**
* Seo content behavior
*
* ... |
<?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
/**
* Copyright 2006 - 2013 Eric D. Hough (http://ehough.com)
*
* This file is part of pulsar (https://github.com/ehough/pulsar)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http:/... |
<?php
use Illuminate\Support\Facades\Route;
//Using the ContactController
use App\Http\Controllers\ContactController;
//Using the User Model (Eloquent ORM)
use App\Models\User;
//Using the DB facade (for the query builder)
use Illuminate\Support\Facades\DB;
//Using the CategoryController
use App\Http\Controllers\C... |
<?php
namespace App\Features;
use App\Domains\Http\Jobs\RedirectBackJob;
use App\Domains\Todo\Jobs\SaveTodoJob;
use App\Domains\Todo\Requests\AddTodo;
use Illuminate\Http\Request;
use Lucid\Units\Feature;
class AddTodoFeature extends Feature
{
public function handle(AddTodo $request)
{
$this->run(Sav... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
namespace TwbBundleTest\Form\View\Helper;
class TwbBundleFormCheckboxTest extends \PHPUnit_Framework_TestCase {
/**
* @var \TwbBundle\Form\View\Helper\TwbBundleFormCheckbox
*/
protected $formCheckboxHelper;
/**
* @see \PHPUnit_Framework_TestCase::setUp()
*/
public function ... |
<?php
/**
* Created by PhpStorm.
* User: adryanev
* Date: 25/01/18
* Time: 13:45
*/
use yii\widgets\Breadcrumbs;
?>
<div class="content-page">
<div class="content">
<div class="container">
<?= Breadcrumbs::widget([
'links' => isset($this->params['breadcrumbs']) ? $this->para... |
<?php
namespace Runroom\GildedRose\Items;
use Runroom\GildedRose\Item;
/**
* Class BackStageItem.
*/
class BackStageItem extends Item
{
const NAME = 'Backstage passes to a TAFKAL80ETC concert';
/**
* BackStageItem constructor.
*/
public function __construct(int $sell_in, int $quality)
{
... |
<?php
namespace Elreco\Backport\Grid\Filter;
class Lt extends AbstractFilter
{
/**
* {@inheritdoc}
*/
protected $view = 'backport::filter.lt';
/**
* Get condition of this filter.
*
* @param array $inputs
*
* @return array|mixed|void
*/
public function condition... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Events\eventsController;
use App\Http\Controllers\Users\usersController;
/*
|--------------------------------------------------------------------------
| API Routes
|------------------------------------------------------... |
<?php declare(strict_types=1);
namespace Arcanist\Resolver;
use Arcanist\Action\WizardAction;
use Arcanist\Contracts\WizardActionResolver;
class ContainerWizardActionResolver implements WizardActionResolver
{
public function resolveAction(string $actionClass): WizardAction
{
return app()->make($actio... |
<?php
class Sample extends CI_Controller {
function __construct() {
parent::__construct();
}
public function index() {
$this->load->view('sample/index', $data);
}
} |
@component('mail::message')
# การมอบหมาย
หัวข้อ : <span style="color: blue">{{ $booking->appointment->name }}</span><br>
หมายเลขผู้เสียภาษี: <span style="color: blue">{{ $booking->nid }}</span><br>
ชื่อผู้เสียภาษี: <span style="color: blue">{{ $booking->name }}</span><br>
เรื่องที่เกี่ยวข้อง: <br>
@foreach ($booking->... |
<?php
/**
* Verifies that properties are declared correctly.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Standards\PSR2\Sniff... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... |
<?php
class DauphineLibereBridge extends BridgeAbstract {
public function loadMetadatas() {
$this->maintainer = "qwertygc";
$this->name = "Dauphine Bridge";
$this->uri = "http://www.ledauphine.com/";
$this->description = "Returns the newest articles.";
$this->parameters[] = array(
'u'=>arr... |
<?php
/**
* @var $panel \putyourlightson\elementspanel\debug\EagerLoadingPanel
*/
?>
<h1>Eager-Loading</h1>
<?php if (empty($panel->data['queries'])): ?>
<p>
<?= Craft::t('elements-panel', 'No opportunities for eager-loading elements were detected.') ?>
</p>
<?php else: ?>
<p>
<?= Craft... |
<div id="contenido_vista" class="container-fluid">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="text-center">Mis viajes</h2></div>
<div id="alert" class="alert alert-warning hidden" align="center" role="alert"><h3>Debe seleccionar una ruta</h3></div>
<div class... |
<!doctype html>
<html lang="pt-br">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" in... |
<?php
/*
* WellCommerce Open-Source E-Commerce Platform
*
* This file is part of the WellCommerce package.
*
* (c) Adam Piotrowski <adam@wellcommerce.org>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\... |
<?php
function sql_komponentenart_anlegen(
$mysqli,
$komponentenart
)
{
$sql = "insert into tbl_komponentenarten(ka_komponentenart) values (?)";
if (!($stmt = $mysqli->prepare($sql))) {
echo "Prepare failed: (" . $mysqli->errno . ") " . $mysqli->error;
}
if (!$stmt->bind_param(
"... |
<?php
/**
* Garp_Service_Elasticsearch
* This class handles the overall Elasticsearch functionality.
* For model based interaction, you'll need Garp_Service_Elasticsearch_Model instead.
* @author David Spreekmeester | grrr.nl
* @modifiedby $LastChangedBy: $
* @version $Revision: $
* @package Garp
* @subpackage ... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Services\Contracts\InstitucionService;
use App\Services\InstitucionServiceImpl;
class SourcesServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Profession extends Model
{
//
protected $table = 'profession';
} |
<?php
/**
* ALIPAY API: alipay.open.public.template.message.industry.modify request
*
* @author auto create
* @since 1.0, 2016-01-12 18:12:52
*/
class AlipayOpenPublicTemplateMessageIndustryModifyRequest
{
/**
* 模板消息行业设置修改接口
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
pr... |
<?php namespace Propaganistas\LaravelTranslatableBootForms;
class TranslatableBootForm
{
/**
* BootForm implementation.
*
* @var \AdamWathan\BootForms\BootForm
*/
protected $form;
/**
* Array holding config values.
*
* @var array
*/
protected $config;
/**
... |
<?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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.