text stringlengths 2 1.03M |
|---|
<?php
namespace estvoyage\value\string;
use
estvoyage\value
;
abstract class notEmpty extends value\string
{
function __construct($value)
{
$domainException = null;
try
{
parent::__construct($value);
}
catch (\domainException $domainException) {}
if ($domainException || ! self::isNotEmpty($value)... |
<html>
<title>MTFRB Application Form</title>
<header>
<style>
img {
}
span {
font-family: Arial, sans-serif;
font-weight: bold;
}
.operator_name {
width: 350px;
text-align: center;
position: absolute;
... |
<?php
namespace Yansongda\Pay;
use Exception;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
* @author yansongda <me@yansongda.cn>
*
* @method static Event dispatch($eventName, Event $event = n... |
<?php
namespace App\Http\Controllers\Backend;
use App\Http\Controllers\Controller;
use App\Models\service;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redis;
class ServiceController extends Controller
{
public function index()
{
$service = service::all();
return view('backend.... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Validator;
use App\Portfolio;
use Image;
use Session;
class PortfolioController extends Controller
{
public function create()
{
return view('Admin.page.portfolioadd');
}
public function index(Request $request)
{
... |
<h2 class="text-center pb-3">News Archive</h2>
<div class="scroll-container pt-1 pb-1">
<div class="scroll-text1">
<?php echo "This is the news as brought to you by ODJ Tech... To create your own news, scroll to the bottom and click on Create News"; ?>
</div>
</div>
<div class="container pt-4">
<div class="col-md... |
<?php
require_once __DIR__ . '/../../vendor/autoload.php';
use Linkorb\AnswersClient\Client as Client;
use Linkorb\AnswersClient\Vote as Vote;
// get the client
$client = new Client(
'http://answers.dev/api/v1/',
'kishanio',
'11121992'
);
$vote = new Vote( $client );
$vote->get(1);
try {
$vote->delet... |
<!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="">
<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type=... |
<div>
<h1>MAHER'S GEPREK</h1>
</div> |
<?php
use ArrayAccess;
class Repository implements ArrayAccess {
/**
* All of the items that will be stored in the repository
*
* @var array
*/
protected $items = [];
/**
* Create a new repository
*
* @param array $items
*/
public function __construct(array $i... |
<!DOCTYPE html>
<html>
<head>
<style>
body{
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
padding: 0;
}
.img{
margin:0%;
height:100px;
width:1400px;
}
</style>
</head>
<body>
<img class="img" src="Images/header.png" align=left>
</body>
</html> |
<div class='form-group @if ($errors->has('consultation_notes')) has-error @endif'>
<div class='col-sm-12'>
{{ Form::textarea('consultation_notes', null, ['class'=>'form-control','placeholder'=>'Click here to enter notes']) }}
@if ($errors->has('consultation_notes')) <p class="help-block... |
<?php
/*
* File: login_functions.php
* Coded in PHP7
* Purpose: Contains all the login functions
* Access Type: Include file
* The MIT License (MIT)
* Distribute, Modify and Contribute under MIT License
* MIT License and Usage
*/
if(!defined("DEFAULT_MAX_LOGIN_ATTEMPT")){define("DEFAULT_MAX_LOGIN_ATTEMPT",3);}
... |
<?php
namespace App\Http\Clients;
use Exception;
use App\Models\Reference;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\Http;
use Illuminate\Validation\Validator;
use Illuminate\Http\Client\PendingRequest;
class Monnify
{
protected PendingRequest $client;
public fun... |
<?php
namespace InstagramAPI;
use Evenement\EventEmitterInterface;
use Evenement\EventEmitterTrait;
use InstagramAPI\React\Connector;
use InstagramAPI\Realtime\Mqtt\Auth;
use Psr\Log\LoggerInterface;
use Psr\Log\NullLogger;
use React\EventLoop\LoopInterface;
/**
* The following events are emitted:
* - live-starte... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Dashboard extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('M_Admin');
// $this->load->model('Petugas_model');
}
public function index()
{
//... |
<?php
namespace Nekland\Bundle\FeedBundle;
use Nekland\Bundle\FeedBundle\Item\ItemInterface;
use Nekland\Bundle\FeedBundle\Item\GenericItem;
/**
* @throws \InvalidArgumentException
*
* This class represent the information flux.
* That's why you can use it like an array, iterate on it...
*
* @author Nek' <nek.... |
<?php
namespace app\common\model;
use think\Db;
use think\facade\Cookie;
use youyi\util\PregUtil;
use youyi\util\StringUtil;
use app\common\exception\ModelException;
use app\common\library\ResultCode;
use think\Model;
class UserModel extends BaseModel
{
protected $name = CMS_PREFIX . 'user';
protected $pk = ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class GradoUser extends Model
{
protected $table = 'grado_user';
public $timestamps = false;
protected $fillable = ['grado_id', 'user_id', 'anio'];
public function user(){
return $this->belongsTo('App\User');
}
public fu... |
@extends('layouts.app')
@section('content')
@component('components.section')
@component('components.menu')
@slot('title')
Grading checkpoint "{{ $checkpoint->name }}"
@endslot
<div class="level-item"><a href="{{ route('assignments.show', $assignment) }}" class="button">Back</a></div>
@endcomponent
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateInternalTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('internal', fun... |
@extends('home')
@section('contents')
<div class="pb-20 my-5">
<div class="text-center">
<h1 class="text-5xl">
Consult Your Pet
</h1>
</div>
<div>
<div class="flex justify-center pt-3">
<form action="/consultation" method="POST">
@csrf
... |
<?php
/*
File: .Article.inc.php
Author: David Andrews
Date Started: 24/09/2003
Synopsis:
This file defines the Article class. This class is responsible for journal articles references.
*/
class Article extends Reference {
/* Data */
var $author;
var $OPTkey;
var $OPTpages;
var $OPTnote;
... |
<h2 align="center">Register Employee</h2>
<?php
require_once('../Models/employeeDropdownMenu.php');
?>
<div style="background-color: #F1F1F1; width: 30%; height: 40%; border-radius: 15px; ">
<center>
<fieldset style="width: 20%; ">
<legend>Register New Employee</legend>
<form id="form">
... |
<?php
class Dotdigitalgroup_Email_Model_Apiconnector_Client extends Dotdigitalgroup_Email_Model_Abstract_Rest
{
const APICONNECTOR_VERSION = 'V2';
const REST_WAIT_UPLOAD_TIME = 5;
//rest api data
const REST_ACCOUNT_INFO = 'https://r1-api.dotmailer.com/v2/account-info';
const REST_CONTACTS = '/v2/co... |
@if(Session::has('key'))
@foreach(Session::get('key') as $test)
<!--{{$test->id}}-->
@endforeach
<?php $i = 1; ?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>LEADS | Farmer :: Home</title>
<!-- custom-theme -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" conte... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Datakomputer extends Model
{
//
protected $table="datakomputer";
protected $primaryKey ="snid";
// penentuan dibawah dipakai AGAR TIDAK MEMUNCULKAN 0 saat menampilkan Data dalam bentuk Tabel yang dapa di EDIT
public $increm... |
<?php
use yii\helpers\Html;
use kartik\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel common\models\RegulationPolicySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Regulation Policies');
$this->params['breadcrumbs'][] = $this->title;
?>
<?php foreach ... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Http\Request;
use STS\JWT\JWTFacade;
class ApiAuth
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Product;
use App\Models\Comment;
class CommentController extends Controller
{
public function index(Product $product)
{
return view('admin.productComments.index',[
'... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth;
use Session;
use Response;
use Rap2hpoutre\FastExcel\FastExcel;
class ImporterController extends Controller
{
public function importar(Request $request)
{
$collections = [];
try {
$model = $request->ge... |
<?= $this->extend('template/base');?>
<?= $this->Section('title');?>
<?= $title;?>
<?= $this->endSection();?>
<?= $this->Section('content');?>
<div class="container emp-profile">
<h3>User Profile</h3>
<div class="row">
<div class="col-md-3">
<div class="profile-img">
<img sr... |
<nav class="navbar navbar-expand navbar-light navbar-cheeba">
<div class="container">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Sale extends Model
{
protected $guarded = ['id'];
use SoftDeletes;
public function customer()
{
return $this->belongsTo('App\Customer');
}
} |
<?php
/* ==============================================================
* This file contains all function that mockupper uses in order
* to load the files that composes the pages
* ============================================================== */
/**
* Load a block file.
* It starts checking the "framework/block... |
<?php
/**
* MediaSources
*
* PHP version 5
*
* @category Class
* @package Kinow\Client
* @author Swaagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Server API
*
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.4.58
*
* Generated by: https://g... |
<?php
require_once( 'class-itsec-away-mode.php' );
$itsec_away_mode = new ITSEC_Away_Mode();
$itsec_away_mode->run(); |
@extends('layouts.app')
@section('content')
<h1 class='pagetitle'>レビュー投稿ページ</h1>
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
... |
<?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Core\Tests\Fixtures\TestBundle\En... |
<?php
declare(strict_types=1);
namespace Overblog\GraphQLBundle\Tests\Functional\Inheritance;
use Overblog\GraphQLBundle\Config\Processor\InheritanceProcessor;
use Overblog\GraphQLBundle\Tests\Functional\TestCase;
class InheritanceTest extends TestCase
{
/** @var array */
private $config;
protected fun... |
<?php /* Smarty version Smarty-3.1.13, created on 2014-02-27 00:12:49
compiled from "./templates/mpos/admin/news/default.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1607217635530e128131e0f0-54726399%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'fi... |
<?php
namespace Roots\Sage\Assets;
/**
* Scripts and stylesheets
*
* Enqueue stylesheets in the following order:
* 1. /theme/dist/styles/main.css
*
* Enqueue scripts in the following order:
* 1. /theme/dist/scripts/modernizr.js
* 2. /theme/dist/scripts/main.js
*/
class JsonManifest {
private $manifest;
... |
@extends('layouts.company.master')
@section('title')
Create New {{ $app }}
@endsection
@section('content')
<section class="section-pad"></section>
<div class="row">
<div class="col-md-12">
<nav id="breadcrumb">
<ul class="breadcrumb">
<li>{{ config... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\Debug;
/**
* ErrorHandler.
*
* @author ... |
<?php $__env->startSection('css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('contents'); ?>
<div class="content">
<div class="col-md-12">
<div class="card">
<div class="card-header" data-background-color="blue">
<h4 class="title">Edit New Parking Type</h4>
... |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use Session;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
/*
|--------------------------... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit8e2380780e9e5287ed20dde4392fec1b::getLoader(); |
<?php
return [
'title' => 'EU Code Week HACKATONS',
'subtitle' => 'Herätä ideasi eloon!',
'sections' => [
1 => [
'title' => 'Kuusi hackathon-tapahtumaa, kuusi haastetta',
'content' => [
1 => 'Asutko Kreikassa, Latviassa, Irlannissa, Italiassa, Romaniassa tai ... |
<?php
namespace Midtrans;
/**
* Provide charge and capture functions for Core API
*/
class CoreApi
{
/**
* Create transaction.
*
* @param mixed[] $params Transaction options
*/
public static function charge($params)
{
$payloads = array(
'payment_type' => 'credit_c... |
<?php
namespace Encore\Admin\Grid;
use Encore\Admin\Grid;
use Encore\Admin\Grid\Selectable\Checkbox;
use Encore\Admin\Grid\Selectable\Radio;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Arr;
/**
* @mixin Grid
*/
abstract class Selectable
{
/**
* @var string
*/
public $model;
... |
<?php if(!defined('DEDEINC')) exit('dedecms');
/**
* 时间戳小助手
*
* @version $Id: time.helper.php 1 2010-07-05 11:43:09Z tianya $
* @package DedeCMS.Helpers
* @copyright Copyright (c) 2007 - 2010, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link htt... |
<?php
/**
* Copyright (C) 2014-2017 by Ticketmatic BVBA <developers@ticketmatic.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation t... |
<?php
namespace App\Models\Web;
use Illuminate\Support\Str;
use App\Traits\RepoResponse;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
use Intervention\Image\Facades\Image;
use Illuminate\Database\Eloquent\Model;
class Faq extends Model
{
use RepoResponse;
protected $table = 'W... |
@section('titulo', "Nuevo Cliente")
@extends('base')
@section('content')
<form method="POST" action="{{ url('cliente/guardar')}}">
<fieldset>
<legend>NUEVO CLIENTE</legend>
<div class="form-group">
<label for="exampleInputEmail1">Nombre</label>
<input type="text" class="form-control" placehol... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTransactionHeadersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tran... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Menus Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used in menu items throughout the system.
| Regardless where ... |
<!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>SB Admin - Start Bootstrap ... |
<!-- Last adverts -->
<section id="last-adverts-section">
<div class="container">
<h6 class="h6 color-primary m-0">Последние объявления</h6>
<h1 class="h1 h1-responsive mb-4">Самое актуальное</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p> <br>
<div class="col-m... |
<div class="content-wrapper">
<section class="content-header">
<h1><?php echo $Data['Title']; ?></h1>
<ol class="breadcrumb">
<i class="fa fa-link" aria-hidden="true"></i>
<li><?php echo $Link["Segment1"]; ?></li>
<li><?php echo $Link["Segment2"]; ?></li>
</ol>
<button type="bu... |
<?php
?> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCommentToPosts extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('posts', function ... |
@extends('layouts.async')
@section('content')
<div class="recovery_name">
<label class="recovery_label">名称</label>
<h2>炭水化物</h2>
</div>
<div class="recovery_name">
<label class="recovery_label">効果</label>
<P>トレーニング時に体内でエネルギーとして使われているのが炭水化物(糖質)です。
<br>なので、トレーニングに必要な... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateLogiProveedoresTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('logi__proveedores', function (Blueprint $tabl... |
<?php
namespace Nogrod\eBaySDK\Trading;
use Nogrod\XMLClientRuntime\Func;
/**
* Class representing ItemSpecificDetailsType
*
* This type is used by the <b>ItemSpecificDetails</b> container that is returned in the <b>GeteBayDetails</b> call. The <b>ItemSpecificDetails</b> container consists of maximum threshold va... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCustomersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('customers', f... |
<?php
namespace portalium\web;
class UrlManager extends \yii\web\UrlManager
{
public function init()
{
parent::init();
}
} |
<!DOCTYPE html>
<html class="loading" lang="en" data-textdirection="rtl">
<!-- Mirrored from themeselection.com/demo/chameleon-admin-template/html/rtl/vertical-menu-template/email-application.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 02 Mar 2019 16:01:10 GMT -->
<head>
<meta http-equiv="Content-Type" co... |
<?php
use Ixudra\Portfolio\Models\Project;
class ProjectFormHelperTest extends BaseUnitTestCase {
const PROJECT_ID_1 = 15;
const PROJECT_ID_2 = 17;
protected $projectFormHelper;
public function setUp()
{
parent::setUp();
$this->projectFormHelper = App::make('\Ixudra\Portfol... |
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding yo... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send any email
| messages sent by your appl... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Record;
use App\Http\Requests\RecordRequest;
use App\Events\RecordCreate;
use App\Exports\InvoicesExport;
use Carbon\Carbon;
use Excel;
class RecordController extends Controller
{
public function index()
{
$records = Re... |
<?php
namespace Spatie\Searchable;
use Illuminate\Support\Str;
use Illuminate\Support\Collection;
abstract class SearchAspect
{
abstract public function getResults(string $term): Collection;
public function getType(): string
{
if (isset(static::$searchType)) {
return static::$searchT... |
<?php
/**
* Created by PhpStorm.
* User: Lidia Freitas
* Date: 19/09/2017
* Time: 20:19
*/
if (empty($_POST['name']) || empty($_POST['password'])) {
header('location:login.php?msg=empty');
} else {
include '../conn.php';
$user = $_POST['name'];
$password = $_POST['password'];
$sql = "SELECT... |
@extends("layout.master")
@section("title", "Avaluos")
@section("content")
Historico
@endsection |
@extends('admin/layout')
@section('title', 'Profession list')
@section('content')
<div class="page-title-breadcrumb" id="title-breadcrumb-option-demo">
<div class="page-header pull-left">
<div class="page-title">Profession</div>
</div>
<ol class=... |
@extends('user.usernav', ['id' => '1'])
@section('grievances')
<div style="margin-left:20px;margin-right:20px;padding-top:10px">
<br>
<div class="panel panel-default">
<div class="panel-heading" style="background-color:#0230C1;color:white ">
<h2>Grievance : {{$grv->subject}}</h2>
</div>
</div>
<hr>
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\SubitemSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="subitem-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... |
--TEST--
MeCab\Path::getRNext() member function
--SKIPIF--
<?php
die('skip test is not implemented');
?>
--FILE--
<?php
echo 'OK'; // no test case for this function yet
?>
--EXPECT--
OK |
@extends('layout.admin')
@section('contenido')
<div class="content-wrapper">
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col sm-12">
<ol class="breadcrumb float-sm-right">
... |
<div class="modal modal-promo fade" id="freeGiftModal" tabindex="-1" role="dialog" aria-labelledby="freeGiftModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" id="js-promo-popup-close" class="close" data-dismiss="modal... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateContractsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('contracts', f... |
<?php
/* TwigBundle::layout.html.twig */
class __TwigTemplate_f2338ad7bfc8ca5298fdba94c33fe67eda93cb987c3ac7182d484ab672ff5d96 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
namespace BitmovinApiSdk\Models;
use Carbon\Carbon;
use BitmovinApiSdk\Common\ObjectMapper;
class GenericS3Output extends Output
{
/** @var string */
public $accessKey;
/** @var string */
public $secretKey;
/** @var string */
public $bucketName;
/** @var string */
public $hos... |
<?php declare(strict_types = 1);
/**
* Jyxo PHP Library
*
* 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:
* https://github.com/jyxo/php/blob/master/license.txt
*/
names... |
<?php
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multip... |
<?php
/**
* @package OnlinePublisher
* @subpackage Tests.General
*/
if (!isset($GLOBALS['basePath'])) {
header('HTTP/1.1 403 Forbidden');
exit;
}
// THE ENCODING OF THIS FILE SHOULD BE UTF-8
class TestStrings extends UnitTestCase {
function testTest() {
$result = preg_replace_callback("/&#(0|30);/", fu... |
<?php
class ShowCollectionTest extends \PHPUnit_Framework_TestCase
{
protected $events_xml_obj;
protected function setUp()
{
$events_xml = file_get_contents(__DIR__ . '/fixtures/events.txt');
$events_xml_obj = simplexml_load_string($events_xml);
$this->events = new Spektrix\ShowCollection($events_xm... |
<?php
/*
* This file is part of the eluceo/iCal package.
*
* (c) 2021 Markus Poerschke <markus@poerschke.nrw>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Eluceo\iCal\Test\Unit\Presentation\Factory;
use DateInterval;
use DateTimeI... |
<head>
<title>Pokédex | The Official Pokémon Website</title>
<link rel='shortcut icon' href='/public/ico/favicon.ico' type='image/x-icon'/ >
<script src="/public/js/jquery.min.js"></script>
<script src="/public/js/bootstrap.js"></script>
<link href="/public/css/bootstrap.css" rel="stylesheet" type="text/cs... |
--TEST--
Testing wrong parameter type of CONTRAST in imagefilter() of GD library
--CREDITS--
Guilherme Blanco <guilhermeblanco [at] hotmail [dot] com>
#testfest PHPSP on 2009-06-20
--SKIPIF--
<?php
if (!extension_loaded("gd")) die("skip GD not present");
?>
--FILE--
<?php
$image = imagecreatetruecolor(180, 30);
var_du... |
<?php
namespace App\Models;
use CodeIgniter\Model;
class CuentacorrienteModel extends Model
{
protected $table = 'cuentacorriente';
protected $primaryKey = 'id_cuentacorriente';
protected $allowedFields = [
'saldo',
'id_matriculado',
'id_estadocuenta'
];
public function g... |
<?php defined('SYSPATH') or die('No direct script access.');
return array
(
'KillerFile' => array
(
'driver' => 'file',
'cache_dir' => APPPATH.'cache',
'default_expire' => 86400*7,
)
); |
@component('mail::message')
{{ $message }}
Thanks,<br>
{{ $name }}
{{ $email }}
@endcomponent |
<?php
namespace Drupal\Core\Asset;
/**
* Interface defining a service that generates a render array to render assets.
*/
interface AssetCollectionRendererInterface {
/**
* Renders an asset collection.
*
* @param array $assets
* An asset collection.
*
* @return array
* A render array to r... |
<?php
namespace RainLoop\Providers\Storage\Enumerations;
class StorageType
{
const USER = 1;
const CONFIG = 2;
const NOBODY = 3;
} |
<?php
/*
| Snicker The first native FlatFile Comment Plugin 4 Bludit
| @file ./system/class.snicker.php
| @author SamBrishes <sam@pytes.net>
| @version 0.1.2 [0.1.0] - Alpha
|
| @website https://github.com/pytesNET/snicker
| @license X11 / MIT License
| @copyright Copyright © 2019... |
<?php
namespace voilab\tctable\test;
class TestCase extends \PHPUnit_Framework_TestCase {
public function testLib() {
$this->assertTrue(true, "Do tests");
}
} |
<?php
/**
* @name BlogPostTagLocalization
* @package BiberLtd\Bundle\CoreBundle\BlogBundle
*
* @author Murat Ünal
*
* @version 1.0.0
* @date 15.09.2013
*
* @copyright Biber Ltd. (http://www.biberltd.com)
* @license GPL v3.0
*
* @description Model / Entity class.
*
*/
namespace Bi... |
<!DOCTYPE html>
<html>
<head>
@section('title','Reservation')
<link rel="icon" href="/images/logo.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css2?family=Lato&family=Noto+Serif&display=swap" rel=... |
<?php
namespace App\Http\Controllers;
use App\Admin;
use App\Doctor;
use App\Mail;
use App\Semester;
use App\Http\Requests\UserRequest;
use App\Student_affair;
use Carbon\Carbon;
use App\Teacher_assistant;
use App\User;
use App\Grade;
use App\Timetable;
use DB;
use App\Student;
use App\Grade_distribution;
use App\Mat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.