text stringlengths 2 1.03M |
|---|
<?php
use macgyer\yii2materializecss\lib\Html;
use macgyer\yii2materializecss\widgets\grid\GridView;
use yii\helpers\Url;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\models\RawMaterialSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Materiales';
$this->p... |
<?php
declare(strict_types = 1);
namespace SiteApi\Application\CommandBus;
interface CommandHandlerInterface
{
/**
* @return string[]
*/
public static function handlesCommand(): array;
} |
<?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... |
@extends('layouts.app')
@push('css_lib')
@endpush
@section('content')
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-bold">{{trans('lang.faq... |
<x-guest-layout>
<x-jet-authentication-card>
<x-slot name="logo">
<x-jet-authentication-card-logo />
</x-slot>
<x-jet-validation-errors class="mb-4" />
@if (session('status'))
<div class="mb-4 font-medium text-sm text-green-600">
{{ session('... |
<?php $__env->startSection('content'); ?><p>This is the moment a white woman pulled a handgun on black activists in South Africa as they protested a hair advert that has been deemed racist.</p>
<p>The 52-year-old woman got into a confrontation with far-left activists in a shopping mall in Port Elizabeth on Tuesday, am... |
@extends('layouts.app')
@section('content')
<input type="button" value="Создать новую статью"
style="background-color: #4dff67; border-radius: 5px; "
onclick="location.href='/postconstruct1/0'">
<br>
<br>
<table width="100%" border="4" bordercolor="white" align="center">
... |
<?php
use OpenEMR\Common\Acl\AclExtended;
AclExtended::addObjectSectionAcl('fhir_api', 'FHIR API');
AclExtended::addObjectAcl('fhir_api', 'FHIR API', 'patient','Patient');
AclExtended::addObjectAcl('fhir_api', 'FHIR API', 'appointment','Appointment');
AclExtended::addObjectAcl('fhir_api', 'FHIR API', 'encounter','Enco... |
<?php
/**
* Radio Control
*
* Main options:
* name => a name of the control
* value => a value to show in the control
* default => a default value of the control if the "value" option is not specified
* items => a callback to return items or an array of items t... |
@extends('layouts.app')
@section('content')
@component('partials.page-header')
<a href="{{ route('permissions.create') }}" class="btn btn-primary float-right">
@icon('plus') New Permission
</a>
@component('partials.header')
Permissions
@endcomponent
@endcomponent
@component('partials.section-with... |
@extends('require/common')
@section('content')
<div class="alert alert-danger" role="alert">
<strong>错误!</strong>
{{$message}}
<button onclick="history.go(-1)" class="btn btn-default pull-right btn-sm">返回上一页</button>
</div>
@stop |
<?php
/**
* 友情链接类型
*
* @version $Id: friendlink_type.php 1 8:48 2010年7月13日Z tianya $
* @package DedeCMS.Administrator
* @copyright Copyright (c) 2007 - 2010, DesDev, Inc.
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
require_once... |
<?php
defined('C5_EXECUTE') or die("Access Denied.");
use \Concrete\Package\CommunityStore\Src\CommunityStore\Product\ProductList as StoreProductList;
use \Concrete\Package\CommunityStore\Src\CommunityStore\Product\ProductVariation\ProductVariation as StoreProductVariation;
use \Concrete\Package\CommunityStore\Sr... |
<?php
var_dump(pcntl_exec());
$file = tempnam(sys_get_temp_dir(),"php");
var_dump(pcntl_exec($file, array("foo","bar"), array("foo" => "bar")));
unlink($file);
?> |
<?php
class ITSEC_Scheduler_Cron extends ITSEC_Scheduler {
const HOOK = 'itsec_cron';
const OPTION = 'itsec_cron';
public function run() {
add_action( self::HOOK, array( $this, 'process' ), 10, 2 );
add_filter( 'cron_schedules', array( $this, 'register_cron_schedules' ) );
}
public function register_cron_s... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as... |
<?php if (!defined('BASEPATH')) die('Access Denied!'); ?>
<i>Welcome view</i>
<i>Message: <?=$message;?></i> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRelatedProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('related... |
<?php
namespace EasyQQ\MiniProgram\Auth;
use EasyQQ\Kernel\BaseClient;
use EasyQQ\Kernel\Exceptions\InvalidConfigException;
use EasyQQ\Kernel\Support\Collection;
use Psr\Http\Message\ResponseInterface;
/**
* Class Client
*
* @author JimChen <imjimchen@163.com>
*/
class Client extends BaseClient
{
/**
* ... |
<?php
namespace metastore;
/**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use... |
<?php
namespace NamespacePlaceholder\BundleNamePlaceholder\Console;
class Greet extends \PHPixie\Console\Command\Implementation
{
public function __construct($config)
{
$config
->description('Greet the user');
$config->argument('message')
->description("Message... |
<h1>Error 404 such page doesn`t found!</h1> |
<?php
use App\Http\Controllers\GuestController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your applicati... |
<?php
/**
* Copyright © 2017-2018 Maks Rafalko
*
* License: https://opensource.org/licenses/BSD-3-Clause New BSD License
*/
declare(strict_types=1);
namespace Infection\Mutator\Removal;
use Infection\Mutator\Util\Mutator;
use PhpParser\Node;
/**
* @internal
*/
final class FunctionCallRemoval extends Mutator
{... |
<?php
require_once 'Animal.php';
class Mamifero extends Animal {
protected $corPelo;
function emitirSom() {
echo "Som de mamifero ";
}
function getCorPelo() {
return $this->corPelo;
}
function setCorPelo($corPelo) {
$this->corPelo = $corPelo;
}
}
?> |
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pag... |
<?php
/**
* Copyright (c) Padosoft.com 2017.
* Created by Paolo Nardini - 2018-03-02
*/
namespace Padosoft\AffiliateNetwork;
use Oara\Network\Publisher\Groupon as GrouponOara;
class GrouponEx extends GrouponOara
{
protected $_merchantIdList = array(); // To avoid repeated calls to \Oara\Utilities::getMerch... |
<?php return array(
'all' => 'Todos os grupos',
'id' => 'Grupo ID',
'name' => 'Nome do grupo',
'add-user' => 'Adicionar usuário',
'new' => 'Novo grupo',
'groups-users-title' => 'Usuários neste grupo',
'messages' => array(
'exists' => 'Grupo com este nome já existe',
'not-foun... |
@extends('adminlte::page')
@section('title', $title ?? 'Category')
@section('content_header')
<h1>{{ $title ?? 'Category' }}</h1>
@stop
@section('content')
<form class="" action="{{ route('admin.categories.store') }}" method="post">
@csrf
<div class="card-body">
<div class="form-r... |
@extends('layouts.app')
@section('content')
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-lg-12">
{{ csrf_field() }}
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>All Payment list</h5... |
<div
class="flex flex-col w-full p-10 mx-auto my-6 transition duration-500 ease-in-out transform bg-white border rounded-lg lg:w-1/4 md:w-1/2 md:mt-0">
<div class="relative mt-4">
<label for="email" class="text-base leading-7 text-blueGray-500">Email</label>
<input wire:model="email" type="nam... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Pengembalian_model extends MY_Model {
public $perPage = 9;
protected $maxLama = 7; // Lama maksimum peminjaman.
protected $dendaPerHari = 1000; // Denda perhari.
public function getAll($page = null)
{
$offset = $this... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Laporan extends CI_Controller {
public $khusus = 'khusus';
public $reguler = 'reguler';
public $table = 'cuti_master';
public $tahun = '2018';
public function __construct() {
... |
<?php
$_typeConversion = [
"sala-led" => "LED_SALA",
"cocina-led" => "LED_COCINA",
"comedor-led" => "LED_COMEDOR",
"cuartoA-led" => "LED_CUARTO_A",
"cuartoB-led" => "LED_CUARTO_B",
"cuartoA-puerta" => "PUERTA_CUARTO_A",
"cuartoB-puerta" => "PUERTA_CUARTO_B",
"puerta-principal" => "PUERT... |
<?php
use yii\db\Migration;
class m171103_051556_query03 extends Migration
{
public function safeUp()
{
$this->execute("ALTER TABLE `categories_master` ADD `sort_order` INT(11) NOT NULL AFTER `status`");
$this->execute("ALTER TABLE `industries_master` ADD `sort_order` INT(11) NOT NULL AFTER `s... |
<?php
$lang['tit1'] = 'Liên Lạc';
$lang['tit2'] = 'Danh Mục';
$lang['tit3'] = 'Liên Kết';
$lang['tit4'] = 'Trợ Giúp';
$lang['tit5'] = 'Bản Tin';
$lang['info'] = 'Có câu hỏi nào không? Hãy cho chúng tôi biết trong cửa hàng tại';
$lang['subcri'] = 'Đăng Ký';
?> |
<?php
echo "Test\n";
$xmlreader = new XMLReader();
$xmlreader->xml("<a><b/></a>");
$xmlreader->next();
$xmlreader2 = clone $xmlreader;
$xmlreader2->next();
?>
Done |
<?php
namespace app\common\model;
use think\Model;
/**
* 权限模型类
* @author liuwenwei
*
*/
class Rule extends Model{
//只读字段,写入以后就不允许被更新
protected $readonly = ['id','create_time'];
/**
* 添加权限
* @param array $data 权限数据
* @return integer
*/
public function addRule($data){
$findRs = $this->where('rule',$d... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateLessonsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('lessons', funct... |
<?php
namespace Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper;
/**
* Interceptor class for @see \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper
*/
class Interceptor extends \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper implements \Magento\Framework\Inter... |
<?php
namespace App\Http\Controllers\Admin;
use App\Models\Order;
use App\Models\OrderProduct;
use App\Models\Product;
use function GuzzleHttp\Promise\all;
use function GuzzleHttp\Promise\queue;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use GuzzleHttp\Client;
use LisDev\Delivery\NovaPoshtaApi2... |
<?php
namespace App\Deliveries\Ups;
use Exception;
use App\Deliveries\Interfaces\IDeliveryMethod;
use GuzzleHttp\Client;
class Ups
{
private $environment;
private $api_key;
private $shopId;
private $address;
private $distance;
private $cedentials;
public function __construct($clientId, ... |
<?php
namespace App\Http\Requests\item;
use Illuminate\Foundation\Http\FormRequest;
class StoreItemPostRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ config('app.name', 'New App') }}</title>
<script src="https://cdn.ckeditor.com/ckeditor5/23.0.0/classic/ckeditor.js... |
<?php
/**
* The most popular PHP library for use with the Twitter OAuth REST API.
*
* @license MIT
*/
namespace Abraham\TwitterOAuth;
use Abraham\TwitterOAuth\Util\JsonDecoder;
/**
* TwitterOAuth class for interacting with the Twitter API.
*
* @author Abraham Williams <abraham@abrah.am>
*/
class TwitterOAuth ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redirect;
use Auth;
use Session;
use DB;
use Toastr;
use Carbon\Carbon;
use App\Models\ChuyenDe;
use App\Models\User;
use App\Models\LinhVucUuTien;
use App\Models\LinhVucNghienCuu;
use App\Models\LoaiHinhNghienCuu;
use A... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Rules\MatchOldPassword;
use Illuminate\Support\Facades\Hash;
use App\User;
class ProfileController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-md-12">
<header class="d-flex justify-content-between">
<h1 class="text-center mb-4">My Posts</h1>
<p class="lead">
{{ Str::plural('Post', auth()->user()->posts()->count... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class G_Mentor_Task extends Model
{
//
protected $table='g_mentor_task';
protected $fillable=['name_G_Mentor_Task','description_G_Mentor_Task',
'target_G_Mentor_Task','inputs_G_Mentor_Task','outputs_G_Mentor_Task',
'id_Collaborative_Pro... |
<?php
/**
* Contracts libray - a design by contracts library
*
* @author Ntwali Bashige <ntwali.bashige@gmail.com>
* @copyright 2015 Ntwali Bashige
* @link http://www.ntwalibas.me/contracts
* @license http://www.ntwalibas.me/contracts/license
* @version 0.1.0
*
* MIT LICENSE
*/
namespac... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Welcome extends MY_Controller
{
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/in... |
<?php
/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <i@overtrue.me>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace EasyWeChat\OfficialAccount\POI;
use EasyWeChat\Kernel\BaseClient;
/**
* Class Client.
*
* @auth... |
<?php use App\Http\Controllers\ProductController;
$total=0;
if(Session::has('user')){
$total=ProductController::cartItem();
}
?>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="/">E-Commerce</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-tar... |
<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- 可选的 Bootstrap 主题文件(一... |
<!-- layout 1 column [ start ] -->
<div id="<?php echo $a['page_id'];?>" class="bx-layout-wrapper bx-layout-1-column bx-layout-column-fullwidth">
<div class="bx-layout-row bx-clearfix">
<div class="bx-layout-col bx-layout-1-column-column1 bx-layout-column-fullwidth">
<div class="bx-layout-ce... |
<?php
namespace App\Http\Controllers\Loginmr; // Mrの追加
use App\Http\Controllers\Controller; // 追加
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('mr.{id}.mr_mypage'); ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Ipbinding extends Model
{
protected $table = "Ipbindings";
protected $fillable = array('MacAddress', 'Holder', 'model','info','Create_by');
} |
<?php include "session.php"; ?>
<!DOCTYPE html>
<html lang="en">
<?php include "includes/header.php"; ?>
<body class="hold-transition sidebar-mini">
<div class="wrapper">
<?php include "includes/navbar.php"; ?>
<?php include "includes/sidebar-manage.php"; ?>
<div class="content-wrapper">
<!-- Content Head... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddIconToQuizTemplatesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('quiz_te... |
<?php
namespace Addons\Analysis\Model;
use Home\Model\WeixinModel;
/**
* Analysis的微信模型
*/
class WeixinAddonModel extends WeixinModel{
function reply($dataArr, $keywordArr = array()) {
$config = getAddonConfig ( 'Analysis' ); // 获取后台插件的配置参数
//dump($config);
}
} |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use File;
use Illuminate\Support\Str;
class EnvController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function ind... |
<!-- Connected to view template master -->
@extends('master')
<!-- isi bagian judul halaman -->
<!-- cara penulisan isi section yang pendek -->
@section('judul_halaman', 'Page About')
<!-- isi bagian konten -->
<!-- cara penulisan isi section yang panjang -->
@section('konten')
<p>This is Page About</p>
<p>... |
<?php
require_once 'classes/usuarios.php';
$u = new Usuario;
?>
<!DOCTYPE html>
<html lang="en">
<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>JBS Passagem</title>
<link rel="style... |
<?php
/**
* Comment template functions
*
* These functions are meant to live inside of the WordPress loop.
*
* @package WordPress
* @subpackage Template
*/
/**
* Retrieves the author of the current comment.
*
* If the comment has an empty comment_author field, then 'Anonymous' person is
* assumed.
*
* @si... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class C_phpexcel extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->library('excel');
}
public function index()
{
echo "Start!";
$sT = microtime(1);
... |
<?php
declare(strict_types=1);
use GuzzleHttp\Client;
use Monolog\Handler\StreamHandler;
use Monolog\Logger;
use Workshop\Main\SomeClass;
require __DIR__ . '/vendor/autoload.php';
$obj = new SomeClass(new Client(), new Logger('tests', [new StreamHandler('php://stdout', Logger::WARNING)]));
try {
echo PHP_EOL .... |
<?php
/*
@author dhtmlx.com
@license GPL, see license.txt
*/
require_once("db_common.php");
class PHPYiiDBDataWrapper extends ArrayDBDataWrapper{
public function select($sql){
if (is_array($this->connection)) //result of findAll
$res = $this->connection;
else
$res = $this->connection->findAll();
if (s... |
<!DOCTYPE html>
<html>
<head>
<title>Đăng ký tài khoản</title>
<!--Made with love by Mutiullah Samim -->
<!--Bootsrap 4 CDN-->
<link rel="stylesheet" href="{{ asset('public/frontend/css/bootstrap.min.css') }}">
<!--Bootsrap 4 CDN-->
<link rel="stylesheet" href="{{ asset('https://stackpath.bootstrapcdn.com/b... |
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
'25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/... |
<?php
namespace Composer;
use Composer\Semver\VersionParser;
class InstalledVersions
{
private static $installed = array (
'root' =>
array (
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'aliases' =>
array (
),
'reference' => NULL,
'name' => 'lar... |
<?php
/*
* This file is part of the Chameleon System (https://www.chameleonsystem.com).
*
* (c) ESONO AG (https://www.esono.de)
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Doctrine\DBAL\Connection;
use ChameleonSystem\Dat... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use Mail;
class MailController extends Controller
{
public function sendInquiry(Request $request) {
$fullname = $request->get('fullname');
$email = $request->get('email');
$subject =$request->get('subject');
$bodyMe... |
<?php
/** Created by VV Db Model Generator */
declare(strict_types=1);
namespace App\Db\MainDb\Tables;
use VV\Db\Model\Column;
use App\Db\MainDb\Table;
class ProductCategoryTable extends Table
{
//region Auto-generated area
protected const NAME = 'tbl_product_category';
protected const PK = 'category_i... |
{{-- START NEW COUNTRY --}}
<div class="modal fade" id="detailsEmpMission">
<div class="modal-dialog" style="width:80%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">X</button>
</div>
<div class="modal-body" id="modal-... |
--TEST--
SOAP Interop Round2 base 016 (php/wsdl): echoVoid
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--INI--
soap.wsdl_cache_enabled=0
--FILE--
<?php
$client = new SoapClient(dirname(__FILE__)."/round2_base.wsdl",array("trace"=>1,"exceptions"=>0));
$client->echoVoid();
echo $client->__getlastrequest();
$HTTP_RAW_... |
<?php
use App\Facades\FromApi;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web route... |
<?php
namespace Admin\Controller;
header('content-type:text/html;charsert="utf-8"');
class RuleController extends CommonController
{
public function add(){
$arr = D('User')->get_school_nav();
$this->assign('data_nav',$arr);
$this->display();
}
/**
规则添加页面
**/
public functio... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Tienda_Categoria_Servicios extends CI_Controller {
public function __construct(){
parent::__construct();
$this->data['op'] = opciones_default();
sesion_default($this->data['op']);
$this->data['lenguajes_activos'] = $this->lenguajes_... |
<?php
require dirname(__DIR__) . '/../Core/bootstrap.php';
const BOOT_MODE = BOOT_MODE_TEST;
$space = \input::cli('space')->value(true);
boot::init($space); |
<?php
/**
* BoxBilling
*
* @copyright BoxBilling, Inc (http://www.boxbilling.com)
* @license Apache-2.0
*
* Copyright BoxBilling, Inc
* This source file is subject to the Apache-2.0 License that is bundled
* with this source code in the file LICENSE
*/
/**
* System management methods
*/
namespace Box\Mo... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<?php require_once("header.php"); ?>
<div class="page-title-container">
<div class="container">
<div class="page-title pull-left">
<h2 class="entry-title">Most Popular Place In Gujarat</h2>
... |
<?hh // strict
interface Rx1 {}
abstract class A {
<<__RxShallow, __OnlyRxIfImpl(Rx1::class)>>
public abstract function condshallowrx(): int;
}
abstract class A0 extends A {
// OK
<<__Override, __RxShallow, __OnlyRxIfImpl(Rx1::class)>>
public function condshallowrx(): int {
return 1;
}
}
abstract cl... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
p... |
<?php
/*
* This file is part of Skybot
*
* (c) 2012 Morten Amundsen <mor10am@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Skybot;
use Skybot\Main;
class User
{
private $contactname;
private $displayname;
pri... |
{!! Form::open(array('url' => $form['url'], 'method' => $form['method'], 'class' => 'form-horizontal')) !!}
<div class="form-group{!! ($errors->has('title')) ? ' has-error' : '' !!}">
<label class="col-md-2 col-sm-3 col-xs-10 control-label" for="title">{{trans('pages.title')}}</label>
<div class="c... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit73331385656bd724da7ff1adecac69c5::getLoader(); |
<?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class CreatReportsDetailsTable extends Migration
{
public function up()
{
$this->forge->addField([
'id' => [
'type' => 'INT',
// 'constraint' => 5,
... |
<?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 a... |
<?php
namespace App\Events\UserAdministration;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use App\Models\UserAdministration\Avance;
clas... |
<?php namespace Alipay\Request;
/**
* ALIPAY API: alipay.eco.mycar.parking.order.sync request
*
* @author auto create
* @since 1.0, 2019-08-29 11:17:49
*/
class AlipayEcoMycarParkingOrderSyncRequest
{
/**
* 订单同步接口
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $term... |
<?php
namespace App\Models;
use App\Models\User;
use App\Models\Comment;
use App\Helpers\DateFormattor;
use Illuminate\Database\Eloquent\Model;
use App\Helpers\ActionsTraits\ModelActionTrait;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class MyNotifications extends Model
{
use HasFactory;
use Date... |
<?php
namespace ccxt;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
use \ccxt\ExchangeError;
use \ccxt\ArgumentsRequired;
class delta extends Exchange {
public functi... |
<?php
namespace App\Models\Work_model;
use CodeIgniter\Model;
class Comment extends Model{
protected $table = 'work_review';
protected $primaryKey = 'wr_id';
protected $allowedFields = ['wr_id','wr_emm_username_id','wr_std_id','wr_comment','wr_pk_id','wr_aw_id'];
} |
<?php
namespace Drupal\config\Form;
use Drupal\Core\Config\ConfigImporterException;
use Drupal\Core\Config\ConfigImporter;
use Drupal\Core\Config\TypedConfigManagerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Extension\ModuleInstallerInterface;
use Drupal\Core\Extension\ThemeHandlerInt... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<base href="/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Estagiário</title>
<!-- <style>
.bg-img {
... |
<?php
namespace backend\components;
use Yii;
use yii\base\Component;
use yii\base\InvalidConfigException;
class TestAPI extends Component
{
protected $_msg;
protected $_status;
public function requestCampaigns ( $api_key, $user_id = null )
{
// ONLY FOR TESTING
$result[] = [
'ext_id' =... |
<?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 $__env->startSection('mainContent'); ?>
<section class="sms-breadcrumb mb-40 white-box">
<div class="container-fluid">
<div class="row justify-content-between">
<h1><?php echo app('translator')->getFromJson('lang.marks_register'); ?> </h1>
<div class="bc-pages">
... |
<!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>Speeding Ticket API</title>
<!-- Fonts -->
<link hr... |
@extends('admin.layouts.body')
@section('title')
<title>Administration</title>
@endsection
@section('content')
<div class="main-panel">
<nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top ">
<div class="container-fluid">
<div class="navbar-wrappe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.