text stringlengths 2 1.03M |
|---|
<?php
return [
'all' => 'Todos',
'date' => 'Fecha',
'empty-logs' => 'The list of logs is empty!',
]; |
<?php
// Include CForm
include('../../autoloader.php');
/*
$this->AddElement(new CFormElementCheckbox('accept_mail', array('label'=>'It´s great if you send me product information by mail.', 'checked'=>false)))
->AddElement(new CFormElementCheckbox('accept_phone', array('label'=>'You may call me to try and... |
<?php session_start();
require_once '../../url.php';
if ($_POST['accion'] == "edit_odc")
{
$ORDERCATEGORY = new orderCategoryModelo();
$ORDERCATEGORY->set_id($ORDERCATEGORY->decrypt($_POST['v1']));
$RESULT_ORDERCATEGORY = $ORDERCATEGORY->select_all(1);
$_SESSION['temp']['or... |
<?php
session_start();
if($_SESSION['sid']==session_id())
{
echo "Welcome to you<br>";
echo "<a href='logout.php'>Logout</a>";
}
else
{
header("location:login.php");
}
?> |
<?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... |
@extends('layouts.dashboard.app')
@section('content')
<div>
<h2>Users</h2>
</div>
<ul class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ route('dashboard.welcome') }}">Dashboard</a></li>
<li class="breadcrumb-item"><a href="{{ route('dashboard.users.index') }}">Users</a></li... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use Faker\Generator as Faker;
use Modules\Article\Entities\Article;
$factory->define(Article::class, function (Faker $faker) {
return [
'title' => $faker->text(50),
'slug' => $faker->slug,
'details' => $faker->realText(5000)... |
<?php
namespace Dvsa\Olcs\Api\Entity\Pi;
use Dvsa\Olcs\Api\Domain\QueryHandler\BundleSerializableInterface;
use JsonSerializable;
use Dvsa\Olcs\Api\Entity\Traits\BundleSerializableTrait;
use Dvsa\Olcs\Api\Entity\Traits\ProcessDateTrait;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* P... |
<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Controller;
use App\Entity\Timesheet;
use App\Form\TimesheetEditForm;
use App\Form\Toolbar\TimesheetToolbar... |
@extends('backend.layouts.app')
@section('title', 'Slider')
@section('content')
<div class="content-wrapper">
<section class="content-header">
<h1>
Dashboard
<small>Version 2.0</small>
</h1>
<ol class="breadcrumb">
<li><a href="{{route('admin.sliders.index... |
@extends('layouts.app')
@section('content')
<div class="container-fluid">
<div class="row justify-content-center">
@include('admin.menu')
<div class="col-md-8">
{!!Form::open(['route'=>['empresa.update',$empresa],'method'=>'PUT','files'=>true])!!}
<div class="jumbotron">
... |
<?php
namespace App\Http\Requests\Backend\Pages;
use App\Http\Requests\Request;
/**
* Class StorePageRequest.
*/
class StorePageRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return ... |
<?php if (function_exists('osc_run_hook')) { osc_run_hook('user_profile_form', osc_user()); } ?> |
<?php
/**
* BoxBilling.
*
* @copyright BoxBilling, Inc (https://www.boxbilling.org)
* @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
*/
/**
* Clients API methods.
*/
namespace Box\Mod\Cl... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateDocRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Statuses extends Model
{
use HasFactory;
} |
<?php
declare(strict_types=1);
namespace Rector\JMS\Rector\Class_;
use PhpParser\Node;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\ClassMethod;
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;
use Rector\BetterPhpDocParser\ValueObject\PhpDocNode\JMS\JMSServiceValueNode;
use Rector\Core\Rector\Abstrac... |
<?php
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg['directory_list'] = [ 'src' /*,'tests'*/ ];
$cfg['suppress_issue_types'] = [];
return $cfg; |
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Dayrui Website Management System
*
* @since version 2.7.0
* @author Dayrui <dayrui@gmail.com>
* @license http://www.dayrui.com/license
* @copyright Copyright (c) 2011 - 9999, Dayrui.Com, Inc.
* @filesource svn://www.dayrui.n... |
@extends('layouts.mainlayout_user')
@section('content')
<header>
<nav class="navbar navbar-expand-lg px-4 py-2 bg-white shadow"><a href="#" class="sidebar-toggler text-gray-500 mr-4 mr-lg-5 lead"><i></i> <img class="ml-3" src="<?php echo asset('img/logo.svg'); ?>" alt="Rikeisolf"></a>
<a class="nav-link n... |
--TEST--
token_get_all() produces T_BAD_CHARACTER for unexpected characters
--EXTENSIONS--
tokenizer
--FILE--
<?php
$codes = [
"<?php \0 foo",
"<?php \1 bar",
"<?php \1\2 bar \3",
];
foreach ($codes as $code) {
foreach (token_get_all($code) as $token) {
if (is_array($token)) {
echo... |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyr... |
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* appDevUrlMatcher
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class appDevUrlMatcher ext... |
<?php
namespace App\Services\Category;
use Illuminate\Support\Facades\Facade;
class CategoryFacade extends Facade
{
/**
* Returning service name
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'App\Services\Category\CategoryService';
}
} |
<?php
use Illuminate\Database\Seeder;
use Carbon\Carbon;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$hospital_id = DB::table('users')->insertGetId([
'name' => 'Athenahealth, Inc',
'em... |
<?php
declare(strict_types=1);
/**
* @link https://flextype.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Slim\Http\Environment;
use Slim\Http\Uri;
use Flextype\Plugin\Site\Controllers\SiteController;
flextype('emitter... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ProductSize extends Model
{
use HasFactory;
protected $fillable=['title','SPN'];
} |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... |
<?php
function user_ip()
{
if (!defined('MW_USER_IP')) {
if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {
define('MW_USER_IP', $_SERVER['HTTP_CF_CONNECTING_IP']);
} else if (isset($_SERVER['REMOTE_ADDR'])) {
define('MW_USER_IP', $_SERVER['REMOTE_ADDR']);
} else {
... |
<?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' => [
... |
<!-- Main Footer -->
<footer class="main-footer">
<!-- To the right -->
<div class="pull-right hidden-xs">
<a href="https://github.com/"></a><b>MasterBudget</b></a>. {{ trans('adminlte_lang::message.descriptionpackage') }}
</div>
<!-- Default to the left -->
<strong>Copyright © 2018 <a ... |
@extends('layouts.prelay')
@section('content')
<div class="row">
<div class="col-sm-8">
<h2>
{{ $pre->nombrePredio }}
</h2>
@include('pred.fragment.error')
{!! Form::model($pre, ['route' => ['predio.update', $pre->id], 'method'=>'PUT']) !!}
<div class="form-group">
<input type="bu... |
<?php
// Prevent loading this file directly
defined( 'ABSPATH' ) || exit;
// Make sure "select" field is loaded
require_once THE7_RWMB_FIELDS_DIR . 'select.php';
if ( !class_exists( 'THE7_RWMB_Select_Advanced_Field' ) )
{
class THE7_RWMB_Select_Advanced_Field extends THE7_RWMB_Select_Field
{
/**
* Enqueue scri... |
@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">
Filters
<div class="float-right">
<a ... |
<div>
</div>
<?php /**PATH C:\xampp\htdocs\Ecommerce-k\resources\views/livewire/categroy-details-component.blade.php ENDPATH**/ ?> |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInita3f976285ea0b21e79751f088b1034fd
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
namespace Acacha\ForgePublish\Commands\Traits;
/**
* Trait ChecksEnv.
*
* @package Acacha\ForgePublish\Commands\Traits
*/
trait ChecksEnv
{
/**
* Check if a argument/option exists or check for his corresponding ENV VALUE.
*
* @param $option
* @param $env_var
* @param string $typ... |
<?php
/**
* webtrees: online genealogy
* Copyright (C) 2016 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option)... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<title>{{ __('Istag-Institut') }}</title>
<meta charset="UTF-8">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--=======================================... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class studentReport extends CI_Controller
{
function __construct()
{
parent::__construct();
parent::registerXajax();
}
function studentReport()
{
$smarty = new TestSmarty();
$objResponse = new xajaxRe... |
<?php
require_once dirname(__file__).'/tcpdf/tcpdf.php';
class Pdf_Library extends TCPDF {
public function __construct(){
parent ::__construct();
}
}
?> |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
use App\franquicia;
use App\encargado;
use App\animal;
use Illuminate\Http\Request;
class FranquiciaController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function inde... |
<?php if ($this->session->flashdata('ubahSuccess')) : ?>
<div class="alert alert-success mr-5 alert-dismissible fade show col-lg-auto" role="alert">
<?= $this->session->flashdata('ubahSuccess') ?>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hid... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Dashboard extends CI_Controller
{
public function __construct()
{
parent::__construct();
$data['user'] = $this->db->get_where('user', ['email' => $this->session->userdata('email')])->row_array();
}
public funct... |
<?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<int, class-string|string>
*/
... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\AdobeStockClient\Model;
use Magento\AdobeStockClientApi\Api\Data\UserQuotaExtensionInterface;
use Magento\AdobeStockClientApi\Api\Data\UserQuotaInterface;
use Magento\Fra... |
<!DOCTYPE html>
<html>
<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>Ajax CRUD with Bootstrap modals and Datatables with Image Upload</title>
<link href="<?php echo base_url('asset/... |
<?php
namespace Chess\Chatkit\Endpoints;
class Scopes extends AbstractEndpoint
{
//
} |
<?php
namespace BladeComponents\Undraw\Components\Illustrations;
use BladeComponents\Undraw\Components\BaseComponent;
class UndrawMeetingComponent extends BaseComponent
{
} |
<?php
// API route for search.
Route::get('/find', 'SearchController@find')->name('find');
Route::redirect('/search', '/find')->name('search'); |
<?php
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Morti... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/home/meadowsw/public_html/tca-ewb/system/languages/no.yaml',
'modified' => 1472486245,
'data' => [
'FRONTMATTER_ERROR_PAGE' => '---
Tittel: %1$s
---
# Feilmelding: Ugyldig Frontmatter
Pane: \'%2$s\'
**%3$s **
... |
<?php
namespace App\Http\Controllers\Company\Dashboard;
use App\Helpers\InstanceHelper;
use App\Models\Company\Employee;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use App\Jobs\UpdateDashboardPreference;
use Illuminate\Support\Facades\Redirect;
class DashboardController extends Contro... |
<?php
namespace backend\controllers;
use backend\models\ArticleDetail;
class ArticleDetailController extends \yii\web\Controller
{
public function actionIndex($id)
{
$articledetails = ArticleDetail::findOne($id);
return $this->render('index',['articledetails'=>$articledetails]);
}
} |
<?php
/**
* HUBzero CMS
*
* Copyright 2005-2015 HUBzero Foundation, LLC.
*
* 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 the rights
... |
<?php
namespace App\Actions;
use App\Aggregates\WalletAggregateRoot;
use App\Models\User;
use App\Repositories\Contracts\UserRepository;
use App\Support\PendingUser;
use Illuminate\Support\Str;
class CreateUserAction
{
protected UserRepository $repository;
public function __construct(UserRepository $reposit... |
<?php
namespace Framework\Lib\upload;
use Framework\Lib\Upload\AbstractUploadFile;
Class UploadVideo extends AbstractUploadFile
{
protected $maxSize = 51200000; // 50.68MB
protected $allowableType = ['video/webm',
... |
<?php
return [
/*
* 相关配置
*/
'Woocommerce' => [
'url' => '<yourSiteUrl>',
'consumer_key' => '<yourConsumerKey>',
'consumer_secret' => '<yourConsumerSecret>',
'options' => [
'version' => 'wc/v3',
'query_string_auth' => false,
'verify_ss... |
<?php echo View::make ('admin.admin-layouts.head'); ?>
<link rel="stylesheet" type="text/css" href="{{asset('admin-assets/plugins/table/datatable/datatables.css')}}">
<link rel="stylesheet" type="text/css" href="{{asset('admin-assets/css/forms/theme-checkbox-radio.css')}}">
<link rel="stylesheet" type="text/css" href=... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Admin_detail_listings extends MX_Controller {
function __construct()
{
parent::__construct();
// model
$this->load->model('m_admin_detail_listings');
}
// index
function index()
{
$data = array(
'namamodule' => "Admin_de... |
@extends('admin.layouts.index')
@section('content')
<!-- /header -->
<!-- Header-->
<div class="breadcrumbs" >
<div class="col-sm-4">
<div class="page-header float-left" >
<div class="page-title">
<h1>Dashboard</h1>
... |
<div class="features_items"><!--features_items-->
<h2 class="title text-center">{{ $title }}</h2>
@foreach ($data as $v)
<div class="col-xs-6 col-sm-6 col-md-4 col-lg-4">
<div class="product-image-wrapper">
<div class="single-products">
<div class="productinfo text-center... |
<?php
declare(strict_types=1);
/*
* This file is part of the zibios/wrike-php-library package.
*
* (c) Zbigniew Ślązak
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Zibios\WrikePhpLibrary\Tests\Resource;
use Zibios\... |
<?php
namespace App\Http\Controllers;
use App\Repositories\Email\EmailRepositoryEloquent;
use Illuminate\Http\Request;
class MainController extends Controller
{
protected $email;
public function __construct(EmailRepositoryEloquent $email)
{
$this->email = $email;
}
public function index... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<?php
/**
* This file is part of the Yii2-oddsgg-api extension
*
* @author Andre Schuurman <andre.schuurman+yii2-oddsgg-api@gmail.com>
* @license MIT License
*/
namespace drsdre\OddsGG\models;
use Yii;
use yii\db\ActiveRecord;
use yii\helpers\ArrayHelper;
use yii\behaviors\TimestampBehavior;
/**
* This is the ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Message extends Model
{
use HasFactory;
protected $fillable = ['name', 'title', 'content', 'email'];
} |
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<form id="form">
<input type="text" name="name" value="Erik's bar">
<input type="text" name="description" value="Melhor Wiski da região">
<input type="file" name="photo" id="file">
</form>
<script type="text/javascript" src="https://code.jque... |
<?php
use yii\db\Migration;
/**
* Class m200116_175924_add_type_to_priority_table
*/
class m200116_175924_add_type_to_priority_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->addColumn('priority', 'type', $this->tinyInteger());
}
/**
* ... |
@extends('frontend.layouts.app')
@section('content')
<section id="breadcrumbs" class="breadcrumbs">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<h2>{{$setting->site_title}}</h2>
<ol>
<li><a href="{{ route('customer.index') }}">Home</a></l... |
<?php
namespace Almacen;
use Illuminate\Database\Eloquent\Model;
class Chido extends Model
{
//
} |
<?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 RectorPrefix20211030\Symfony\Component\HttpFoundation\Session\Storage\Han... |
<?php
namespace app\common\model;
use think\Model;
class Reply extends Model{
} |
<style>
.center {
width: 150px;
margin: 40px auto;
}
td {
padding-bottom: 20px !important;
}
</style>
<div class="modal-dialog modal-lg email_modal_exist">
<div class="modal-content" style="padding:15px;">
<div class="modal-header">
<button type="button" ... |
<?php
namespace entities;
use app\entities\EntitySpecification;
class SpecificationEntityTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
protected function _before()
{
}
protected function _after()
{
}
public function fixtures()
... |
<?php
class topbar
{
public static function construct($menu = '*')
{
$menuright = array('public' => array(), 'private' => array());
$menuleft = array('public' => array(), 'private' => array());
foreach (module::read() as $key => $tmp) {
if (isset($tmp->navbits)) {
foreach ($tmp->navbits a... |
<?php
unset($parsed_res);
$Wishes = new Wishes();
$Page = new Page();
$Page->PagesList();
$tpl->Assign('list_menu', $Page->list);
$header = 'Пожелания и предложения';
$GLOBALS['IERA_LINKS'][] = array(
'title' => $header,
'url' => _base_url.'/wishes/'
);
$tpl->Assign('header', $header);
$WishesList = $Wis... |
<?php
namespace RestAPI\Utils;
use RestAPI\Exceptions\ConfigurationNotExistsException;
class ConfigurationManager {
private $configuration;
/**
* @throws ConfigurationNotExistsException
*/
private function __construct() {
if (!file_exists(APP_DIR . "/config.json")) {
throw new ConfigurationN... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateExamUserTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('exam_user', function (Blueprint $table) {
... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\View;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{... |
<header>
<div class="container top-menu-container">
<div class="top-menu pull-right">
<ul class="list-inline top-menu-ul">
<li class="active"><a href="">نقشه سایت</a></li>
<li class="active"><a href="">نقشه سایت</a></li>
<li class="active"><a href=... |
@extends('admin.layouts.master')
@section('content')
<div class="container-fluid">
<div class="block-header">
<h2>{{ $title }}</h2>
</div>
</div>
<ol class="breadcrumb">
<li>
<a href="{{ url('/admin') }}">
<i class="material-icons">home</i> Home
</a>
</li>
<li>
... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
<<<<<<< HEAD
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
=======
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
>>>>>>>... |
<?php
/**
* ALIPAY API: koubei.marketing.campaign.crowd.batchquery request
*
* @author auto create
*
* @since 1.0, 2017-02-15 16:30:54
*/
namespace Alipay\Request;
class KoubeiMarketingCampaignCrowdBatchqueryRequest extends AbstractAlipayRequest
{
/**
* 口碑商户人群组列表查询接口
**/
private $bizContent;
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class BugFile extends Model
{
protected $fillable = [
'file','name','extension','file_size','created_by','bug_id','user_type'
];
} |
<?php
namespace statikbe\flexmail\services;
use craft\base\Component;
use craft\helpers\Json;
use GuzzleHttp\Exception\BadResponseException;
use statikbe\flexmail\Flexmail;
class Contact extends Component
{
/**
* @var Api
*/
public $api;
private $baseUrl = 'https://api.flexmail.eu';
priva... |
<?php
/**
* This file is part of Totara Learn
*
* Copyright (C) 2021 onwards Totara Learning Solutions LTD
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the Licens... |
<?php
namespace AppBundle\Entity;
use ApiBundle\Base\Model\ResourceInterface;
use DateTime;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use JMS\Serializer\Annotation as Serializer;
use Symfony\Component\Validator\Constraints as Assert;
use ApiBundle\Base\RestController;
use AppBundle\Valida... |
<?php
namespace app\controllers;
use Yii;
use yii\filters\VerbFilter;
use yii\web\Controller;
use yii\web\Cookie;
use yii\data\Pagination;
use app\models\NixShortUrls;
use yii\web\ErrorAction;
use yii\web\Response;
class SiteController extends Controller
{
/**
* @return array
*/
public function beh... |
<?php
require('industries_functions.php');
?> |
<?php
namespace Doctrine\Tests\ORM\Functional\Ticket;
/**
* @group DDC-2759
*/
class DDC2759Test extends \Doctrine\Tests\OrmFunctionalTestCase
{
/**
* {@inheritDoc}
*/
protected function setUp() : void
{
parent::setUp();
try {
$this->_schemaTool->createSchema(
... |
<?php
/**
* This is the template for generating a CRUD controller class file.
*/
use yii\db\ActiveRecordInterface;
use yii\helpers\StringHelper;
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\crud\Generator */
$controllerClass = StringHelper::basename($generator->controllerClass);
$modelClass... |
<?php
function image(string $path, int $width, int $height) :string {
return app(\App\service\ImagePathGenerator::class)->generate($path, $width, $height);
} |
<?php
$this->Html->script('Croogo/Core.modal', ['block' => true]);
$title = isset($title) ? $title : null;
if (empty($id)) {
$id = 'modal';
}
if (empty($class)) {
$class = 'modal fade';
} else {
$class .= ' modal fade';
}
if (!isset($modalSize)) {
$modalSize = '';
}
if (!isset($body)) {
$body = '';
... |
<?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
namespace PhpConsole;
/**
* Overrides PHP errors and exceptions handlers, so all errors, exceptions and debug messages will be sent to PHP Console client
* By default all handled errors and exceptions will be passed to previously defined handlers
*
* You will need to install Google Chrome extension "PHP Con... |
@extends('dashboard.base')
@section('content')
<div class="container-fluid">
<div class="animated fadeIn">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 col-xl-12">
<div class="card">
<div class="card-header">
... |
<!DOCTYPE html>
<html lang="pt-br" ng-app="rossina">
<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>Laravel</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" re... |
<?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\Imports;
use App\User;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\DB;
use Maatwebsite\Excel\Concerns\ToCollection;
use Maatwebsite\Excel\Concerns\WithCalculatedFormulas;
use Maatwebsite\Excel\Concerns\WithStartRow;
use Carbon\Carbon;
use Illuminate\Support\Facades\Session;
c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.