text
stringlengths
2
1.03M
<?php declare(strict_types = 1); namespace Contributte\Sentry\Utils; final class Regex { /** * @return mixed */ public static function match(string $subject, string $pattern, int $flags = 0) { $ret = preg_match($pattern, $subject, $m, $flags); return $ret === 1 ? $m : null; } /** * @return mixed *...
<?php namespace PHPCR\Tests\Util\CND\Scanner; use PHPCR\Util\CND\Scanner\GenericScanner; use PHPCR\Util\CND\Reader\FileReader; use PHPCR\Util\CND\Scanner\GenericToken as Token; use PHPCR\Util\CND\Scanner\TokenQueue; use PHPCR\Util\CND\Scanner\TokenFilter; use PHPCR\Util\CND\Scanner\Context\DefaultScannerContext; cla...
<script type="text/javascript"> function isOneTimeFrequency() { var frequency = $("#frequency_id option:selected").text(); frequency = frequency.trim().split(' ').join(''); frequency = frequency.toLowerCase(); if (frequency == 'onetime') { return true; } ...
<?php // 全自动更新 http://bp3-plus.52dixiaowo.com/bp3-main.zip require_once("../functions.php"); force_login(); // 下载最新版代码 $fp = easy_file_get_content($update_url); $temp_uri = "./bp3-main.zip"; file_put_contents($temp_uri,$fp); // 调用自动更新代码 require("./up_cor...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">Events</div> <div class="card-body"> @if (session('status')) ...
<?php $nav_selected = "TIMELINE"; $left_buttons = "NO"; $left_selected = ""; include("./nav.php"); ?> <div class="right-content"> <div class="container"> <h3 style = "color: #01B0F1;">Timeline (TO BE DONE LATER)</h3> <button><a class="btn btn-sm" href="https://trello.com/b/zX9ppGC9/ics49...
$('#getbantuan').on('click',function(){ var getnik = $('#getnik').val(); var getiduser = $('#getiduser').val(); $.ajax({ url: '<?php echo base_url('Userkeldesbantuanmustahik/get_bantuan')?>', type: 'POST', data:{ getnik...
<?php class CreateOne extends \Neutrino\Database\Migrations\Migration { /** * Run the migrations. * * @param \Neutrino\Database\Schema\Builder $schema * * @return void */ public function up(\Neutrino\Database\Schema\Builder $schema) { global $listeners; if (!...
<script type="text/javascript" src="<?php echo base_url() . 'assets/js/jquery-3.2.1.js' ?>"></script> <script type="text/javascript" src="<?php echo base_url() . 'assets/js/jquery.dataTables.js' ?>"></script> <script src="<?= base_url() ?>assets/js/bootstrap.js"></script> <script src="<?= base_url() ?>assets/js/bootstr...
@extends('layouts.default') @section('title', '注册') @section('content') <div class="offset-md-2 col-md-8"> <div class="card "> <div class="card-header"> <h5>注册</h5> </div> <div class="card-body"> @include('shared._errors') <form method="POST" action="{{ route('users.store...
@extends('layout.app-dashboard') @section('title', '403') @section('content') <div class="authincation h-100"> <div class="container h-100"> <div class="row justify-content-center h-100 align-items-center"> <div class="col-md-5"> <div class="form-input-cont...
<?php /** * This file is part of the PrestaCMSCoreBundle * * (c) PrestaConcept <www.prestaconcept.net> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Presta\CMSCoreBundle\Model; use Doctrine\Common\Collections\ArrayColl...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\Holiday; class Attendance extends Model { protected $table = "attendance"; public function doPostAttendanceByTeacher($input, $user, $teacher) { //dd(json_decode($input['attendance'])); $holiday = new Holiday(); $is...
<?php declare(strict_types=1); namespace spec\RulerZ\Target\DoctrineORM; use Doctrine\ORM\EntityManager; use Doctrine\ORM\Query\Expr\Join; use Doctrine\ORM\QueryBuilder; use Doctrine\ORM\Tools\Setup; use Entity\Doctrine\Player; use PhpSpec\Exception\Example\SkippingException; use RulerZ\Compiler\CompilationTarget; ...
<?php /** ______________________________________________ * o O | | * ((((( o < Generated with Cook Self Service V3.1.9 | * ( o o ) |___________________________________...
<?php namespace Povs\ListerBundle\Service; use Povs\ListerBundle\Mapper\FilterField; use Povs\ListerBundle\Mapper\FilterMapper; use Symfony\Component\Form\Extension\Core\Type\FormType; use Symfony\Component\Form\FormFactoryInterface; use Symfony\Component\Form\FormInterface; use Symfony\Component\HttpFoundation\Reque...
<?php /** * @copyright Zicht online <http://zicht.nl> */ namespace Zicht\Bundle\HtmldevBundle\Service; use Knp\Menu\FactoryInterface; use Knp\Menu\ItemInterface; use Symfony\Component\HttpFoundation\RequestStack; /** * Builds menu's for htmldev pages. */ class MenuBuilder implements MenuBuilderInterface { /**...
<?php class ScaUpdater { private $slug; // plugin slug private $pluginData; // plugin data private $username; // GitHub username private $repo; // GitHub repo name private $pluginFile; // __FILE__ of our plugin private $githubAPIResult; // holds data from GitHub private $accessToken; // Gi...
<?php /** * @package Coraline * @since Coraline 1.0 */ get_header(); ?> <div id="content-container"> <div id="content" role="main"> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); $format = get_post_format(); if ( false == $format) $format = 'standard'; ?> <div id="nav-above" class...
<?php /** * MIT License * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace Spryker\Sniffs\PHP; use PHP_CodeSniffer\Files\File; use PHP_CodeSniffer\Sniffs\Sniff; /** * Do not use exit functions without argument. Check aliasing. */ class ExitSnif...
@extends('layouts.app') @section('content') <section class="section"> <div class="container mt-1"> <div class="row"> <div class="col-12 col-sm-8 offset-sm-2 col-md-6 offset-md-3 col-lg-6 offset-lg-3 col-xl-4 offset-xl-4"> <div class="login-brand"> <!-- <img src="../ass...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Imagen 360</title> <!-- Bo...
<?php namespace Database\Factories; use App\Models\description; use Illuminate\Database\Eloquent\Factories\Factory; class descriptionFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = description::class; /** * Def...
@extends('layouts.app') @section('content') @include('admin.users.sidebar') <div class="my-content1"> @if (session('success')) <div class="alert alert-success" role="alert"> {{ session('success') }} </div> @endif @error('error') <div class="alert alert-danger" role="alert"> {{...
<div class="sidebar" data-color="purple" data-image="{{ asset('dashboard/img/sidebar-1.jpg') }}"> <!-- Tip 1: You can change the color of the sidebar using: data-color="purple | blue | green | orange | red" Tip 2: you can also add an image using data-image tag --> <div class="logo"> <a...
<?php namespace Tests\Feature; use Tests\TestCase; use App\Models\Employee; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; class EmployeeCrudTest extends TestCase { use RefreshDatabase; /** @group employees */ public function test_employee_can_be_crea...
@extends('backendtemplate') @section('content') <main class="app-content"> <div class="app-title"> <div> <h1><i class="fa fa-dashboard"></i> Airline Page</h1> <p>Start a beautiful journey here</p> </div> <ul class="app-breadcrumb breadcrumb"> <li class="breadcrumb-item"...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddNewAttributesUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', ...
<?php /** * @package Joomla.Platform * @subpackage Database * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; JLoader::register('JDatabaseMySQL', dirname(__...
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Facades\Request; use App\User; use App\Http\Controllers\admin\UserManagementController; use Faker\Generator as Faker; class UserTest extends TestC...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Siswa extends Model { protected $table = 'siswa'; protected $fillable = [ 'nisn', 'nama_siswa', 'tanggal_lahir', 'jenis_kelamin', 'id_kelas', 'id_ekskul', 'alamat', 'foto' ]...
<?php use App\Student; use App\Course; use App\StudentCourse; use App\Department; use App\GradeReport; use App\Section; use App\StudentDepartment; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | H...
<div class="module-small bg-dark"> <div class="container"> <div class="row"> <div class="col-sm-3"> <div class="widget"> <h5 class="widget-title font-alt">About Titan</h5> <p>The languages only differ in their grammar, their pronunciation a...
<?php /** * ALIPAY API: alipay.boss.order.diagnosis.get request * * @author auto create * @since 1.0, 2019-07-16 15:20:01 */ class AlipayBossOrderDiagnosisGetRequest { /** * 订单诊断服务 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; private $prodCode; pr...
<?php /** * Static Analysis Results Baseliner (sarb). * * (c) Dave Liddament * * For the full copyright and licence information please view the LICENSE file distributed with this source code. */ declare(strict_types=1); namespace DaveLiddament\StaticAnalysisResultsBaseliner\Framework\Container; use DaveLiddam...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\EHPC\V20180412\Models; use AlibabaCloud\Tea\Model; class GetCloudMetricProfilingResponse extends Model { /** * @var string[] */ public $headers; /** * @var GetCloudMetricProfilingResponseBody */ ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<?php /* * This file is part of the RollerworksSearch package. * * (c) Sebastiaan Stok <s.stok@rollerscapes.net> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Rollerworks\Component\Search; /** * @author Sebastiaan Stok <s.stok@rol...
<x-app-layout> @section('title') Categories - Edit @endsection <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Category - Edit') }} </h2> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto flex justify...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ResponseSerivceMailResquest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
<?php namespace app\admin\model; use app\admin\library\BaseModel; class UserModel extends BaseModel { protected $table = 'user'; public function formatWhere(array $where = null ){ $result = []; if ( $where ) { foreach ( $where as $k => $v ) { switch ( $k ) { ...
<?php namespace App\Http\Livewire\Admin\OrderDelever; use App\Admin\Shop; use Livewire\Component; class ShopList extends Component { public $search; public $shop_id; public $shop_list_page, $single_item_page; protected $listeners = [ 'back_To_Delevery' ]; public function mount() ...
<?php /* * Smarty plugin * http://www.smarty.net/forums/viewtopic.php?t=533 ----------------------------------------------------- * File: modifier.html_substr.php * Type: modifier * Name: html_substr * Version: 1.2 * Date: January 13th, 2010 * Purpose: Cut a string preserving any tag nesting ...
--TEST-- Bug #41876 (bindParam() and bindValue() do not work with MySQL MATCH () AGAINST ()) --SKIPIF-- <?php require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); ?> --FILE-- <?php require_once(__DIR__ . DIRECTORY_SEPARATO...
@extends('layouts.main') @section('page-title') Nuovo Fumetto @endsection @section('page-content') <div class="container justify-content-center"> <h1>Inserisci un nuovo Fumetto</h1> <form action="{{route("comics.store")}}" method="POST"> @csrf @method("POST") <div...
<?php namespace RectorPrefix20210701\TYPO3\CMS\Backend\Clipboard; if (\class_exists('TYPO3\\CMS\\Backend\\Clipboard\\ClipBoard')) { return; } class ClipBoard { /** * @return void */ public function printContentFromTab() { } /** * @return void */ public function getConte...
<?php namespace backend\controllers; use Yii; use backend\models\Scheduler; use backend\models\SchedulerSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\helpers\Json; use yii\filters\AccessControl; use backend\models\SmsTemplate; use backend\models\DefaultSetting;...
<?php /** * Created by PhpStorm. * User: Pavel Batanov <pavel@batanov.me> * Date: 26.02.2015 * Time: 18:53 */ namespace NemesisPlatform\Game\Twig\Extension; use NemesisPlatform\Game\Entity\Rule\RuleInterface; class RuleCheckerExtension extends \Twig_Extension { /** * Returns the name of the extension....
<?php namespace App\Entity\Video; use App\Entity\Track; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity() * @ORM\Table(name="video_youtube") */ class Youtube { /** * @ORM\Id * @ORM\GeneratedValue(strategy="UUID") * @ORM\Column(name="id", type="guid") */ private $id; /** * ...
<?php use App\Profession; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; /** * @NOTE * EloquentORM => Implementación y adaptación del patrón ActiveRecord */ class ProfessionSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddPetugasToPenjualanKredits extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('penjua...
<?php namespace app\models; use Yii; use yii\behaviors\TimestampBehavior; use yii\db\ActiveRecord; use yii\web\IdentityInterface; /** * User model * * @property integer $id * @property string $username * @property string $password_hash * @property string $password_reset_token * @property string $email * ...
<?php use Illuminate\Database\Eloquent\Model; /** * User.php * * 作者: zhengzean (zhengzean01@gmail.com) * 创建日期: 2017/10/30 14:11 * 修改记录: * * $Id$ */ class UserModel extends Model { protected $table = 'user'; protected $fillable = [ 'username', 'name', 'passw...
<?php namespace frontend\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use frontend\models\Tblreplace; /** * TblreplaceSearch represents the model behind the search form about `frontend\models\Tblreplace`. */ class TblreplaceSearch extends Tblreplace { /** * @inheritdoc */ ...
<?php /** * Created by Miki Maine Amdu. * For : INNOVATE E-COMMERCE * User: MIKI$ * Date: 4/20/2016 * Time: 9:48 AM. */ namespace Innovate\Category\SEOProvider; use Innovate\Category\Category; use Innovate\SEOProvider\ObjectFlat; use Innovate\SEOProvider\SEOProviderContract; use OpenGraph; use SEOMeta; use Twit...
<?php namespace App; use Carbon\Carbon; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Project extends Model { use SoftDeletes; /** * @var array */ protected $dates = [ 'req_eta', 'dev_eta', 'qa_eta', 'uat_eta', 'prod_eta', 'deleted_at' ...
@extends('layout') @section('title') Product Details @stop @section('content') <div id="wrapper" class="container"> <div id="top"> @include('user.topbar') @include('user.stats') </div> @include('user.sidebar') <div id="main" class="clearfix"> <div class="breadcrumbs-container"> <ol class="breadcrumb"> ...
<?php /* CapacityFormname CapacityFormtype CapacityFormperson CapacityFormnumber CapacityFormdescription CapacityFormpic */ ?> <div class="form-group col-12 mt-4"> <label for="CapacityFormname" class="form-control-label"><i class="icon icon-star text-red-700"></i> 美容施術スペース名</label> <input class="form-control" t...
<?php declare(strict_types=1); namespace InstruktoriBrno\TMOU\Services\Events; use Doctrine\ORM\EntityManagerInterface; use InstruktoriBrno\TMOU\Model\Event; use function array_column; class FindEventsService { /** @var EntityManagerInterface */ private $entityManager; public function __construct(EntityM...
<?php namespace Codeception\Event; use Symfony\Component\EventDispatcher\Event; class SuiteEvent extends Event { /** * @var \PHPUnit_Framework_TestSuite */ protected $suite; /** * @var \PHPUnit_Framework_TestResult */ protected $result; /** * @var array */ prot...
<?php namespace TenantCloud\BetterReflection\Relocated; /* * 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. */ class JsonException extends \Exc...
<?php use yii\helpers\Html; use yii\grid\GridView; use kartik\export\ExportMenu; /* @var $this yii\web\View */ /* @var $searchModel frontend\models\search\UserSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Usuarios'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="user-i...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ProductController extends Controller { public function index() { return view('product.index'); } public function store() { return view('product.create'); } public function edit() { retur...
<div class="card"> <div class="card-header">{{ __('Dashboard') }}</div> <div class="card-body"> <ul class="list-group"> <li class="list-group-item"><a href="{{ route('category.index') }}">Category</a></li> <li class="list-group-item"><a href="{{ route('product.index') }}">Produc...
<?php /** * Created by PhpStorm. * User: Jess * Github: https://github.com/jessppp */ namespace Shop\Admin; use Admin\Controller\AdminController; use Common\Util\Tree; /** * 默认控制器 * */ class PlaceAdmin extends AdminController { /** * 默认方法 * */ public function index($group=2) { //搜索 $keyword = ...
@extends('admin.master.master') @section('content') <!-- Main content --> <section class="content"> <div class="row"> </div> </section> <!-- /.content --> @endsection
<?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 =...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <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>Scotch.io GuestBook</title> <meta name="csrf-token" con...
<?php // napitki $torg[] = 'i.f.dri.nor.water'; $torg[] = 'i.f.dri.nor.water'; $torg[] = 'i.f.dri.nor.milk'; $torg[] = 'i.f.dri.nor.anti'; $torg[] = 'i.f.dri.alc.beer_fair'; // eda $torg[] = 'i.f.foo.sup_uha_iz_sudaka'; $torg[] = 'i.f.foo.kasha_grechnevaja'; $torg[] = 'i.f.foo.2_farelq_s_garniro...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <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>{{ co...
<?php /** * ExaVault API * * See our API reference documentation at https://www.exavault.com/developer/api-docs/ * * OpenAPI spec version: 2.0 * Contact: support@exavault.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * Swagger Codegen version: 3.0.20 */ /** * NOTE: This class is auto...
<div class="form-group {{ $errors->has('name') ? 'has-error' : ''}}"> {!! Form::label('name', 'Name', ['class' => 'col-md-4 control-label']) !!} <div class="col-md-6"> {!! Form::text('name', null, ['class' => 'form-control']) !!} {!! $errors->first('name', '<p class="help-block">:message</p>') !...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\ArticleController; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can registe...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
<?php return [ 'site_name' => env('SITE_NAME', 'My Blog'), ];
<?php namespace FilippoToso\Travelport\GDSQueue; class CustomerID extends typeRemark { /** * @var typeRemark $_ */ public $_ = null; /** * @var typeRef $Key */ public $Key = null; /** * @param string $_ * @param typeRef $ProviderReservationInfoRef * @param typ...
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', ], 'components' => [ ...
<?php // +---------------------------------------------------------------------- // | ThinkCMF [ WE CAN DO IT MORE SIMPLE ] // +---------------------------------------------------------------------- // | Copyright (c) 2013-2019 http://www.thinkcmf.com All rights reserved. // +-------------------------------------------...
@extends('backend.master') @section('categoryactive') active @endsection @section('content') <!-- Navbar --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateImagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('ka_images', function(Blueprint $table) { $table->engine = 'InnoDB';...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStockManagersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('stock_man...
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script> <style type="text/css"> .flexigrid div.sDiv{ background: #FBFBFB; } .flexigrid div.tDiv{ background: #FBFBFB; } .flexigrid div.bDiv{ background: #FBFBFB; } .flexigrid table tr.hDiv{ background: #FBFBFB; } .flexigrid div.pDiv{ backgr...
<?php declare(strict_types=1); namespace App\Service; use App\Entity\User; use Symfony\Component\HttpFoundation\File\File; use Symfony\Contracts\Translation\TranslatorInterface; class DiskUsageCalculator { public function __construct( private TranslatorInterface $translator, private string $publ...
<?php namespace App\Repositories; interface HouseRepositoryInterface extends RepositoryInterface { public function getNewHouse($userId); public function getHouseOfUser($userId); public function searchHouse($request); public function getCommentOfHouse($obj); public function getImages($house);...
@extends('layout.index') @section('content') <div class="row"> <div class="col"> <div class="card"> <div class="card-body"> <h5 class="card-title"><i class="fas fa-tasks"></i> Последние изменения заявок</h5> <table class="table"> ...
<?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Sales\Service\V1; use Magento\Sales\Api\OrderRepositoryInterface; use Magento\Sales\Model\Order; use Magento\TestFramework\TestCase\WebapiAbstract; /** * Class CreditMemoCreateRefundTest */ clas...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014-2019 British Columbia Institute of Technology * Copyright (c) 2019-2020 CodeIgniter Foundation * * Permission is hereby granted, free of charge,...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class CategoryComposerProvider extends ServiceProvider { /** * Bootstrap services. * * @return void */ public function boot() { // } /** * Register services. * * @return void */...
<?php use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; // This file has been auto-generated by the Symfony Dependency Injection Component for internal use. // Returns the private 'annotations.cache' shared service. include_once $this->targetDirs[3].'/vendor/doctrine/cache/lib/Doctrine/Common/C...
<?php namespace App\Http\Middleware; use Closure; use Auth; class CheckAdmin { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $admin =...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Team extends Model { // }
<?php namespace Kidiloc\Http\Controllers; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; class Controller extends BaseController { use AuthorizesRe...
<div> <div class="container" style="padding:30px 0;"> <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading"> <div class="row"> <div class="col-md-6"> ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Expense extends Model { /** * The database table used by the model. * * @var string */ protected $table = 'tbl_expense'; /** * The attributes that are mass assignable. * * @var array */ /...
<?php /************************************************************** "Learning with Texts" (LWT) is free and unencumbered software released into the PUBLIC DOMAIN. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any pu...
<?php namespace AppBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\Extension\Core\Type\RepeatedType; use Symfony\Component\Form\FormBuilderInterface; use Symfon...
<?php session_start(); ?> <!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <title>Admin Login</title> <link rel="stylesheet" href="../css/admin.css"> </head> <body> <div > <div id='login' style="margin: auto;"> <h1>ADMIN<span class='orangestop'>.</span></h1> <form acti...
<?php namespace App\Http\Controllers; use App\Models\Adresse; use App\Models\User; use Illuminate\Http\Request; use App\Repositories\PanierInterfaceRepository; use App\Models\Article; class PanierController extends Controller { protected $panierRepository; // L'instance PanierSessionRepository public fun...
<?php /** * @author Santhosh Thottingal * @copyright Copyright © 2012, Santhosh Thottingal * @file */ /** Tests for MediaWiki languages/classes/LanguageKsh.php */ class LanguageKshTest extends LanguageClassesTestCase { /** * @dataProvider providePlural * @covers Language::convertPlural */ public function t...