text stringlengths 2 1.03M |
|---|
<?php
namespace DCarbone\PHPFHIRGenerated\R4\FHIRCodePrimitive;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: December 26th, 2019 15:44+0000
*
* PHPFHIR Copyright:
*
... |
<?php
/**
* PHP version 7.1
*
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
namespace ComPHPPuebla\Fixtures;
use ComPHPPuebla\Fixtures\Database\DBALConnection;
use Doctrine\DBAL\Types\Type;
use PHPUnit\Framework\TestCase;
class CustomTypeTest extends TestCa... |
<?php
namespace Database\Seeders;
use App\Models\Tag;
use Illuminate\Database\Seeder;
class tagSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$arr = [
['nome'=>'Tags situação dos cadastros','obs'=>'Informar os cada... |
<?php
declare(strict_types=1);
namespace App\Services\User;
use App\Domain\Entity\{
User, UserTwitter
};
use App\Domain\InOut\{TwitterAttribute};
use App\Domain\UseCase\Authentication\{
FindUserTwitter, RegistrationToUser, RegistrationToUserTwitter, UpdateUserTwitter
};
use App\Domain\UseCase\Image\{
Crea... |
<?php
/*
* Copyright 2014 Google Inc.
*
* 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 t... |
<!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, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>{{ config('... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTournamentTeamTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tournament_team', function(Blueprin... |
@extends('layouts.layout')
@section('contenido')
<meta name="csrf-token" content="{{ csrf_token() }}">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalagregar" id="agregar"><i class="far fa-sticky-note"></i>
Registrar cuenta auxiliar
</button>
@section('titulo_modal_agrega... |
<?php
/**
* @package Joomla.Site
* @subpackage mod_breadcrumbs
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::_('bootstrap.tooltip');
?>
<ul itemscop... |
<?php
namespace App\Http\Controllers;
use App\User;
use App\Visit;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Co... |
@extends('layout/medications')
@section('navbar')
<div class="container py-5 h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col col-xl-10">
<div class="card" style="background-color: #eee;">
<div class="card-body p-5">
<div class="alert aler... |
<?php
/**
* @var $this CatalogBackendController
* @var $model StoreCategory
* @var $form \yupe\widgets\ActiveForm
*/
?>
<ul class="nav nav-tabs">
<li class="active"><a href="#common" data-toggle="tab"><?= Yii::t("StoreModule.store", "Common"); ?></a></li>
<li><a href="#options" data-toggle="tab"><?= Yii::t... |
<?php
$id=intval($_REQUEST["id"]);
$key=$_REQUEST["key"];
$flag=$_REQUEST["flag"];
if (!preg_match("/^[a-zA-Z0-9_=]+$/", $flag)) die("bad flag format");
if (!preg_match("/^[a-zA-Z0-9]+$/", $key)) die("bad key format");
$data='<?php if($_GET["key"]!="'.$key.'") die("bad key"); echo "'.$flag.'"; ?>';
file_put_conten... |
<?php
namespace App\Http\Controllers;
use App\Models\User;
use App\Models\UserDocumentCategory;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\ValidationException;
use Ap... |
<?php
namespace Modules\Media\Entities;
use Dimsav\Translatable\Translatable;
use Illuminate\Contracts\Support\Responsable;
use Illuminate\Database\Eloquent\Model;
use Modules\Core\Traits\NamespacedEntity;
use Modules\Media\Helpers\FileHelper;
use Modules\Media\Image\Facade\Imagy;
use Modules\Media\ValueObjects\Media... |
<?php
namespace App\Service;
use Composer\Composer;
use Composer\Factory;
use Composer\Installer;
use Composer\IO\NullIO;
use Composer\Json\JsonFile;
use Composer\Repository\InstalledFilesystemRepository;
use Symfony\Component\DependencyInjection\ContainerInterface;
class ComposerService
{
/** @var ContainerInt... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
/**
* PHPCompatibility_Sniffs_PHP_ForbiddenGlobalVariableVariableSniff.
*
* PHP version 7.0
*
* @category PHP
* @package PHPCompatibility
* @author Wim Godden <wim@cu.be>
*/
/**
* PHPCompatibility_Sniffs_PHP_ForbiddenGlobalVariableVariableSniff.
*
* Variable variables are forbidden with global
... |
@extends('layouts.admin')
@section('page-title', 'New Treatment')
@section('page-description', 'Add a new Treatment to this Client')
@section('breadcrumb')
<li><a href="{{ url('/clients') }}">Clients</a></li>
<li><a href="{{ url('/clients') }}/{{ $client->id }}">{{ $client->name }}</a></li>
<li class="act... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome 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
* - or -
* Since this contro... |
<?php
defined( 'ABSPATH' ) or die( 'Cheatin\' uh?' );
/**
* Base class for settings.
*
* @package SecuPress
* @since 1.0
*/
abstract class SecuPress_Settings extends SecuPress_Singleton {
const VERSION = '1.0.1';
/**
* Current module: corresponds to the page tab, like `users_login`.
*
* @var (string)
... |
<?php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Tymon\JWTAuth\Facades\JWTAuth;
use Tymon\JWTAuth\Facades\JWFactory;
use Tymon\JWTAuth\Exceptions\JWTException;
use Tymon\JWTAuth\Contracts\JWTSubject;
us... |
<?php
declare(strict_types=1);
namespace ShoppingCart\Tests\ProductMeta;
use PHPUnit\Framework\TestCase;
use ShoppingCart\ProductMeta\{ ProductMetaDto, ProductMetaModel };
class ProductMetaModelTest extends TestCase
{
private array $input;
private ProductMetaDto $dto;
private ProductMetaModel $model;
... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace app\widgets;
/**
* Alert widget renders a message from session flash. All flash messages are displayed
* in the sequence they were assigned using setFlash. Y... |
@extends('frontend.indexmaster')
@section('content')
<div class="wedding-banner">
<div class="container">
<div class="row justify-content-center">
<div class="col-10">
<h1 class="text-on-banner text-center display-3" id="headertitle">Luxury Hotel Singapore</h1>
</div>
<div class="col-8 text-ce... |
<?php
namespace App\Modules\Reviews\Models;
use Illuminate\Database\Eloquent\Model;
class Report extends Model {
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = true;
/**
* The table associated with the model.
*
* @var string
... |
<?php
/**
* Copyright (c) 2015 Mirchev Ideas Ltd. All rights reserved.
*/
namespace Seliton\Client\Resource;
class Page extends Resource {
protected static $_name = 'page';
protected static $namePlural = 'pages';
protected static $fields = array (
'id',
'title',
'content',
'seoTitle',
's... |
<?php
foreach ($userData as $key => $x) {
}
if(count($postdata)>0){
foreach ($postdata as $key=> $y ) {
$kkey=$key+$no;
if($kkey==0){ ?>
<div class="post" style="position: relative;background: #fafafa">
<h3 style="margin-bottom: 8px; color: #555"> Express Your Thoughts </h3>
<form id="form2"... |
@extends('layouts.auth')
@section('content')
<div class="container">
<div class="row justify-content-center" style="margin-top: 115px;">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Reset Password') }}</div>
<div class="card-body">
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<body>
<nav class="navbar has-shadow">
<div class="container">
<div class="navbar-brand">
<a class="navbar-item" href="./">Consulta de saldo de pontos de fidelidade</a>
<a class="navbar-item api" href="javascrip... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
public $fillable = ['name', 'slug', 'user_id'];
public static function boot()
{
static::addGlobalScope('user', function ($query) {
$query->where('user_id', auth()->id());
});
... |
<?php
/**
* Created by PhpStorm.
* User: Илья
* Date: 15.02.2019
* Time: 1:06
*/
namespace App\Services\Sms;
use GuzzleHttp\Client;
class SmsRu implements SmsSender
{
private $appId;
private $url;
private $client;
public function __construct($appId,$url='https:sms.ru/sms/send')
{
... |
<?php
declare(strict_types=1);
/*
* This file is part of the Serendipity HQ Commands Queues Bundle.
*
* Copyright (c) Adamo Aerendir Crespi <aerendir@serendipityhq.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ... |
<?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 /* /home/vagrant/code/caocanhlinh/resources/views/admin/layout/header.blade.php */ ?>
<?php
use Carbon\Carbon;
?>
<header class="app-header"><a class="app-header__logo" href="home">Tin Mới</a>
<!-- Sidebar toggle button--><a class="app-sidebar__toggle" href="#" data-toggle="sidebar" aria-label="Hide Sidebar"></... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit991a5aeaac38e72333253e4898da54c4
{
public static $prefixLengthsPsr4 = array (
'S' =>
array (
'Skinfo\\Fileupload\\' => 18,
),
);
public static $prefixDirsPsr4 = a... |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>larabasicweb</title>
<link rel="stylesheet" type="text/css" href="/css/app.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Bootstrap JavaScript-->
<script src="https://max... |
<?php
namespace tinymeng\OAuth2\Gateways;
use tinymeng\OAuth2\Connector\Gateway;
use tinymeng\OAuth2\Helper\ConstCode;
use tinymeng\OAuth2\Helper\Str;
class Facebook extends Gateway
{
const API_BASE = 'https://graph.facebook.com/v3.1/';
protected $AuthorizeURL = 'https://www.facebook.com/v3.1/di... |
<?php declare(strict_types=1);
/*
* This file is part of the pinepain/js-sandbox PHP library.
*
* Copyright (c) 2016-2017 Bogdan Padalko <pinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
* For the full copyright and license information, please view the
* LICENSE file... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\FirewallEntryPoint... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\db;
use PDO;
use Yii;
use yii\base\Component;
use yii\base\InvalidConfigException;
use yii\base\NotSupportedException;
use yii\caching\CacheInterface;
/... |
<?php
namespace frontend\controllers;
class BlogController extends \yii\web\Controller
{
public function actionBlog()
{
return $this->render('blog');
}
} |
<!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, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>CoopEarn- Gen... |
<?php
namespace Allison\AllisonFbApiHelpers\helpers;
use Allison\AllisonFbApiHelpers\contracts\FbContract;
use FacebookAds\Object\Campaign;
use FacebookAds\Object\Fields\CampaignFields;
use FacebookAds\Object\Values\AdObjectives;
use FacebookAds\Http\Exception\RequestException;
/**
* Description of Fb_AdCampaignHel... |
<?php
/**
* Copyright © 2017 Divante, Inc. All rights reserved.
* See LICENSE for license details.
*/
namespace OpenLoyalty\Component\Customer\Domain\SystemEvent;
/**
* Class CustomerRemovedManuallyLevelSystemEvent.
*/
class CustomerRemovedManuallyLevelSystemEvent extends CustomerSystemEvent
{
} |
<?php
/**
* Created by PhpStorm.
* User: waqas
* Date: 4/4/2016
* Time: 4:15 PM
*/
namespace App\Http\Validators\Validators\NewsValidators;
use App\Http\Validators\Interfaces\ValidatorsInterface;
class AddNewsValidator extends NewsValidator implements ValidatorsInterface
{
public function __construct($reque... |
@extends('layout.auth')
@section('content')
<div class="card card-primary">
<div class="card-header">
<h4>Forgot Password</h4>
</div>
<div class="card-body">
<form method="POST" action="{{ route('auth.forgot.request') }}" class="needs-validation" novalidate="">
... |
<?php
declare(strict_types=1);
namespace Authentication\Action;
use Account\Repositories\ArrayAccountRepository;
use Authentication\Service\JwtService;
use Psr\Container\ContainerInterface;
class AuthenticationActionFactory
{
public function __invoke(ContainerInterface $container) : AuthenticationAction
{
... |
<?php
namespace sndsgd\http\exception;
/**
* Finds and tests all the exception classes `getStatusCode` methods
*/
class ExceptionTest extends \PHPUnit\Framework\TestCase
{
/**
* @dataProvider providerGetStatusCode
*/
public function testGetStatusCode(array $classes)
{
foreach ($classes... |
<?php
use yii\helpers\Html;
?>
<!-- 登录主体部分start -->
<div class="login w990 bc mt10 regist">
<div class="login_hd">
<h2>用户注册</h2>
<b></b>
</div>
<div class="login_bd">
<div class="login_form fl">
<?php
$form=\yii\widgets\ActiveForm::begin(
[... |
<?php
/**
* Requires the PHP Mail Form library
* The PHP Mail Form library is available only in the pro version of the template
* The library should be uploaded to: lib/php-mail-form/php-mail-form.php
* For more info and help: https://templatemag.com/php-mail-form/
*/
if( file_exists($php_mail_form_libra... |
<?php
/* base.html.twig */
class __TwigTemplate_1a68ffb4cb52ae94f14eef4b62a66cd0fc3c2d1293e1e1a2c8752d7938eb0d06 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'title' =>... |
<?php require '../resources/inc/_global/config.php'; ?>
<?php require '../resources/inc/_global/views/head_start.php'; ?>
<?php require '../resources/inc/_global/views/head_end.php'; ?>
<?php require '../resources/inc/_global/views/page_start.php'; ?>
<!-- Page Content -->
<div class="hero-static d-flex align-items-ce... |
<?php
class CM_Config_NodeTest extends CMTest_TestCase {
const TEST = 3;
const TEST_0 = 0;
const TEST_NULL = null;
public function testNodeClass() {
$reflection = new ReflectionClass('CM_Config_Node');
$this->assertEmpty($reflection->getProperties());
}
public function testEx... |
@extends('blublog::front.layout.main')
@section('header')
<div class="jumbotron p-2">
<div class="container text-center">
<h1>Search result</h1>
@include('blublog::front.layout._listTags')
</div>
</div>
@endsection
@section('content')
@include('blublog::front.layout.... |
<?php
/**
* Controller is the customized base controller class.
* All controller classes for this application should extend from this base class.
*/
class Controller extends CController
{
/**
* @var string the default layout for the controller view. Defaults to '//layouts/column1',
* meaning using a single colu... |
<?php
require_once "../lib/common.inc.php";
require_once "../lib/SimpieView.php";
require_once "../models/BookPage.php";
try
{
$view = new SimpieView('../templates/downloads/index.php', "../templates/layout/common_page.php");
$view->render(array(
'current_page' => 'downloads',
'title' => '下载',
));
}
catch(Pag... |
<?php declare(strict_types = 1);
/**
* MetaObjectCollection.php
*
* @license More in LICENSE.md
* @copyright https://www.ipublikuj.eu
* @author Adam Kadlec <adam.kadlec@ipublikuj.eu>
* @package iPublikuj:JsonAPIDocument!
* @subpackage Objects
* @since 0.2.0
*
* @date ... |
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'authenticateUser','perso... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class DgnAjax extends CI_Controller
{
private function harusDibaca()
{
$baca = 'Harus dibaca dulu';
$baca .= 'Modelnya di load di autoload.php';
$baca .= 'liblat adalah libarary yang anam buat sendiri diload di autol... |
<?php
namespace Adianti\Control;
use Adianti\Core\AdiantiCoreTranslator;
use Adianti\Widget\Base\TElement;
use Adianti\Widget\Base\TScript;
use Exception;
/**
* Page Controller Pattern: used as container for all elements inside a page and also as a page controller
*
* @version 5.0
* @package control
* @au... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use app\modules\users\roles\RolesAsset;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Список ролей';
$this->params['breadcrumbs'][] = $this->title;
RolesAsset::register($this);
?>
<div class="auth-item-index">
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class FSEAircraftConfig extends Model
{
protected $table = 'aircraft_config';
protected $primaryKey = 'make_model';
protected $guarded = ['id'];
} |
<?php namespace Sonnenglas\AmazonMws;
use Sonnenglas\AmazonMws\AmazonReportsCore;
/**
* Copyright 2013 CPI Group, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
*
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBillsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bills', function ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTodoListsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('todo_lists', ... |
<script src="<?= base_url();?>assets//plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="<?= base_url();?>assets//plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- jQuery UI -->
<script src="<?= base_url();?>assets//plugins/jquery-ui/jquery-ui.min.js"></script>
<!-- AdminLTE App -->
<... |
<!DOCTYPE html>
<html>
<head>
<!-- Meta and Title -->
<?php $this->load->view('admin/meta');?>
<!-- Fonts -->
<link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700'>
<link href='https://fonts.googleapis.com/css?family=Lato:400,300,300ital... |
<?php
namespace Bitrix\Catalog\v2\Sku;
use Bitrix\Catalog\v2\IblockElementRepositoryContract;
use Bitrix\Catalog\v2\Product\BaseProduct;
/**
* Interface SkuRepositoryContract
*
* @package Bitrix\Catalog\v2\Sku
*
* !!! This API is in alpha stage and is not stable. This is subject to change at any time without no... |
<?php namespace Arcanedev\Html\Entities;
use Arcanedev\Html\Entities\Attributes\AbstractAttribute;
use Arcanedev\Html\Entities\Attributes\ClassAttribute;
use Arcanedev\Html\Entities\Attributes\MiscAttribute;
use ArrayAccess;
use Illuminate\Contracts\Support\Arrayable;
/**
* Class Attributes
*
* @package Arcan... |
<?php
namespace Application\ITM\FilePreviewBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Application\ITM\FilePreviewBundle\DependencyInjection\Compiler;
/**
* Class ApplicationITMFilePreviewBundle
* @package Application\ITM\FilePreviewBundle
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ClientNote extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'ip_client_notes';
} |
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<table cellpadding="5" cellspacing="0" border="1">
<tr bgcolor="#CCCCCC">
<a><th>NO.</th></a>
<a><th>NO. SERI</th></a>
<a><th>MERK</th></a>
<a><th>NAMA ASET</th></a>
<a><th>KUANTITAS</th></a>
<a><th>SPESIFIKASI</th></a>
</tr>
<?php
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBanksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('banks', function ... |
<?php
/**
* InlineResponse20053
*
* PHP version 7.2
*
* @category Class
* @package StevenBuehner\ChurchTools
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* ChurchTools REST API
*
* The ChurchTools REST API is the best entry point for developers to access ChurchTools... |
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Callie... |
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
/**
* Class Vc_Vendor_Woocommerce
*
* @since 4.4
* @todo move to separate file and dir.
*/
class Vc_Vendor_Woocommerce implements Vc_Vendor_Interface {
protected static $product_fields_list = false;
protected static $order_fields_list = false;
/**
* @sin... |
<?php
namespace SoftUniBlogBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\Mapping\JoinColumn;
use Doctrine\ORM\Mapping\JoinTable;
use Doctrine\ORM\Mapping\ManyToMany;
use Symfony\Component\Security\Core\User\UserInterface;
/**
* User
*
* @ORM\Tabl... |
<?php namespace AntiMalware\Tests;
use Ollyxar\AntiMalware\Scanner;
use PHPUnit\Framework\TestCase;
class TScanner extends Scanner
{
public function scanFile($file, $report = true)
{
return parent::scanFile($file, $report);
}
}
class ScanTest extends TestCase
{
private $files = [];
prote... |
<?php
include("securimage.php");
$img = new Securimage();
$img->audio_format = isset($_GET['format']) && in_array(strtolower($_GET['format']), array(
"mp3",
"wav"
)) ? strtolower($_GET['format']) : "mp3";
$img->outputAudioFile();
?> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRolesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('roles', function ... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit876a02d01908f26571b7e233d3072a52
{
public static $prefixLengthsPsr4 = array (
'C' =>
array (
'Composer\\Installers\\' => 20,
),
);
public static $prefixDirsPsr4 =... |
<?php
use PHPUnit\Framework\TestCase;
use optimistex\deploy\DeployApplication;
class DeployApplicationTest extends TestCase
{
private $fileName = 'git-deploy-log.txt';
public function setUp()
{
parent::setUp();
@unlink($this->fileName);
}
public function tearDown()
{
... |
@extends('vendor.installer.layouts.master')
@section('template_title')
Requirements
@endsection
@section('title')
<i class="fa fa-list-ul fa-fw" aria-hidden="true"></i>
Server Requirements
@endsection
@section('container')
@foreach($requirements['requirements'] as $type => $requirement)
<ul ... |
<?php
namespace Laminas\Mvc\Exception;
class RuntimeException extends \RuntimeException implements ExceptionInterface
{
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class IsDiplomaUgPgCollege extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('is_diploma_ug_pg... |
<?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
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFcFormSubmissionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('fc_fo... |
<?php
namespace App\Controllers;
use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
use App\Core\Controller;
class errorController extends Controller
{
public function __invoke(Request $request,Response $response, $args)
{
$this->view('error_404'... |
<?php
namespace Domain\Training\DataTransferObjects;
use Spatie\DataTransferObject\DataTransferObject;
class LanguageDTO extends DataTransferObject
{
public string $name;
public string|null $slug;
public string|null $short_description;
public string|null $description;
public $image;
} |
@extends('layout.default')
@section('page_title', 'Comics') |
<?php
namespace ServiceShipment\Validator;
use Address\Entity\Country;
use ServiceShipment\Entity\Carrier;
use ServiceShipment\Entity\Service;
use ServiceShipment\Entity\ShipmentType;
use Zend\Validator\AbstractValidator;
class ShipmentTypeNameExistsValidator extends AbstractValidator {
/**
* Available vali... |
<?php
error_reporting(0);
$nik = $_POST['nik'];
$nama_lengkap = $_POST['nama_lengkap'];
//cek apakah nik sudah terdaftar atau belum
$data = file("config.txt", FILE_IGNORE_NEW_LINES);
foreach ($data as $value) {
$pecah = explode("|", $value);
if ($nik == $pecah['0']) {
$cek ... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
class RegisterController extends Controller
{
/*
... |
<?php
$vendorDir = dirname(__DIR__);
return array (
'yiisoft/yii2-bootstrap' =>
array (
'name' => 'yiisoft/yii2-bootstrap',
'version' => '2.0.6.0',
'alias' =>
array (
'@yii/bootstrap' => $vendorDir . '/yiisoft/yii2-bootstrap',
),
),
'kartik-v/yii2-krajee-base' =>
array (
'na... |
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class CategoryFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'title' => $this->faker->unique()->r... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/dcomdico/Sites/ORX-Site/user/plugins/admin/languages/sk.yaml',
'modified' => 1575400300,
'data' => [
'PLUGIN_ADMIN' => [
'ADMIN_BETA_MSG' => 'Toto je Beta verzia! Používajte v ostrej prevádzke na... |
<?php
/**
* Copyright 2019 The WildPHP Team
*
* You should have received a copy of the MIT license with the project.
* See the LICENSE file for more information.
*/
declare(strict_types=1);
namespace WildPHP\Tests;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use WildPHP\Messages\Generics\IrcMe... |
@extends('layouts.admin')
@section('page_heading', 'Categories')
@section('content')
@include('common.success')
<div class="row">
<div class="col-md-5">
<div class="panel panel-primary">
<div class="panel-heading">
<strong>Add Category</strong>
</div>
<div class="panel-body">
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.