text stringlengths 2 1.03M |
|---|
<?php
declare(strict_types=1);
namespace WebimpressCodingStandardTest\Sniffs\ControlStructures;
use WebimpressCodingStandardTest\Sniffs\AbstractTestCase;
class DefaultAsLastUnitTest extends AbstractTestCase
{
protected function getErrorList(string $testFile = '') : array
{
return [
14 =>... |
<?php
namespace App\Utils;
/**
* This class transforms a Post title into a valid uri string.
*/
class Slugger
{
public static function slugify(string $string): string
{
return preg_replace('/\s+/', '-', mb_strtolower(trim(strip_tags($string)), 'UTF-8'));
}
} |
<?php namespace Minhbang\Image;
use Minhbang\Kit\Extensions\ModelTransformer;
use Html;
/**
* Class ImageTransformer
*
* @package Minhbang\Image
*/
class ImageTransformer extends ModelTransformer
{
/**
* @param \Minhbang\Image\Image $image
*
* @return array
*/
public function transform... |
<?php
namespace App\Http\Controllers;
use App\Models\Contact;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Sho... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "bi_log_consumption".
*
* @property integer $id
* @property integer $f_dept
* @property integer $f_server_address_id
* @property integer $f_game_id
* @property integer $f_sid
* @property integer $f_operative_id
* @property integer ... |
@extends('layouts.app')
@section('content')
<div class="jumbotron text-center">
<h1>{{ $title }}</h1>
<p>This is the laravel application from the "Laravel From Scratch" YouTube series</p>
<p>
<a class="btn btn-primary btn-lg" href="/login" role="button">Login</a>
<a class="btn btn-success btn... |
<?php
namespace App;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
class Review extends Model
{
protected $fillable=['user_id','product_id','stars','review'];
public function customer(){
return $this->belongsTo('App\User','user_id','id');
}
public function product(){
ret... |
<?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;
class ... |
<?php
namespace Urbem\AdministrativoBundle\Tests\Controller;
use Urbem\CoreBundle\Tests\Functional\DefaultWebTestCase;
class ConfiguracaoTest extends DefaultWebTestCase
{
public function testConfiguracaoId22()
{
$crawler = $this->client->request('GET', '/administrativo/administracao/configuracao/cr... |
@extends('layouts.layout')
@section('pageTitle','Social Network')
@section('content')
<div class="fh5co-loader"></div>
<div id="page">
@include('layouts.nav', ['active' => 'index'])
<div class="container home-content">
<div class="row">
<div class="about-intro">
<div class="col-md-12">
... |
@extends('template.template')
@section('page', 'Ibadah Harian')
@section('path')
<li class="breadcrumb-item"><a href="{{ url('/') }}">Home</a></li>
<li class="breadcrumb-item"><a href="#">Ibadah</a></li>
<li class="breadcrumb-item"><a href="{{ route('ibadah.harian') }}">Harian</a></li>
<li class="breadc... |
@extends('layouts.master')
@section('title','Sombreros')
@section('content')
<!--<link rel="stylesheet" href="{{asset('bootstrap4/css/datatables/bootstrap.css')}}">-->
<link rel="stylesheet" href="{{asset('bootstrap4/css/datatables/dataTables.bootstrap4.min.css')}}">
<div class="breadcrumb-holder fadeIn animated">
... |
@extends('admin.layouts.dashboard_layout')
@section('title', 'Payment type')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Payment type
<!-- <small>advanced ta... |
<?php $__env->startSection('content'); ?>
<section class="forms">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card-header mt-2">
<h4 class="text-center"><?php echo e(trans('file.Due Report')); ?></h4>
</d... |
@extends("layouts._account_layout")
<?php
$name = "";
if($item->is_complaint == 1){
$name =$item->parentCategory->name;
}else{
$name =$item->parentSuggest->name;
}
$Cat = array();
foreach ($CategoryCircles as $CategoryCircle){
array_push($Cat,$CategoryCircle->procedure_t... |
<?php
include('PHP/connect.php');
$cust_id = $_POST['cust_id'];
$msg = "";
$sql = "";
if(!empty($_POST['cust_name']))
{
$sql .= "UPDATE `albedo_repair`.`customer` SET `cust_name` = '".$_POST['cust_name']."' WHERE `cust_id` = '".$cust_id."'; ";
}
if(!empty($_POST['cust_tel']))
{
$sql .= "UPDATE `albedo_... |
<style media="screen">
.row {
display: flex;
}
.column {
flex: 20%;
}
.box{
border: solid 1px #e6e6e6;
border-radius: .30rem;
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
padding: 30px 30px 30px 30px;
margin-left: 180px;
margin-t... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 offset-2">
@include('message.errors')
@include('message.session')
<form class="px-4 shadow-lg p-3 mb-5 bg-white rounded p-3 mb-5 bg-white rounded" action="{{ route(... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'think\\helper\\' => array($vendorDir . '/topthink/think-helper/src'),
'think\\composer\\' => array($vendorDir . '/topthink/think-installer/src'),
'think\\captcha\\' =>... |
<?php
namespace institution\models;
use Yii;
use yii\db\Expression;
use yii\behaviors\TimestampBehavior;
use yii\behaviors\BlameableBehavior;
use institution\models\Courses;
use institution\models\Students;
/**
* This is the model class for table "batch".
*
* @property integer $id
* @property string $batch_no
... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Models\Producto;
use App\Models\Prescriptor;
class InfoMail extends Mailable{
use Queueable, SerializesModels;
public $info;
pu... |
<?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\Security\Core\Tests\Authentication\Provider;
use PHPU... |
<?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\models\TaskUsers;
/**
* TaskUsersSearch represents the model behind the search form about `backend\models\TaskUsers`.
*/
class TaskUsersSearch extends TaskUsers
{
/**
* @inheritdoc
*/
public ... |
<div class="confirmInfo"><?php echo _INSTALL_L128 ?></div>
<br />
<p align="center"><select name="lang">
<?php for($i=0; $i <count($this->v('languages')); $i++) { ?>
<option value="<?php $this->e('languages',$i) ?>" <?php $this->e('selected',$i) ?>><?php $this->e('languages',$i) ?></option>
<?php } ?>
</select></p> |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Bonus extends Model
{
use HasFactory, SoftDeletes;
/**
* Get the investment for this bonus.
*/
public function investm... |
<?php
namespace Oro\Bundle\ConfigBundle\Tests\Unit\Config;
use Oro\Bundle\CacheBundle\Provider\MemoryCache;
use Oro\Bundle\ConfigBundle\Config\ConfigDefinitionImmutableBag;
use Oro\Bundle\ConfigBundle\Config\ConfigManager;
use Oro\Bundle\ConfigBundle\Config\GlobalScopeManager;
use Oro\Bundle\ConfigBundle\Event\Config... |
<?php
header('Content-Type: application/font-woff');
readfile($file); |
<?php
use OpenDialogAi\ConversationEngine\Reasoners\MessageTemplateMatcher;
use OpenDialogAi\Core\Conversation\Condition;
use OpenDialogAi\Core\Conversation\ConditionCollection;
use OpenDialogAi\Core\Conversation\Intent;
use OpenDialogAi\Core\Conversation\MessageTemplate;
use OpenDialogAi\Core\Tests\TestCase;
use Ope... |
<?php
namespace Silber\Bouncer\Database\Concerns;
use App\User;
use Silber\Bouncer\Database\Role;
use Silber\Bouncer\Database\Models;
use Silber\Bouncer\Database\Titles\AbilityTitle;
use Silber\Bouncer\Database\Scope\BaseTenantScope;
use Silber\Bouncer\Database\Queries\AbilitiesForModel;
trait IsAbility
{
/**
... |
<?php
if(count($actividades) > 0){
$contador = 1;
$totalHoras = 0;
foreach($actividades as $actividad){
$totalHoras += $actividad->pla_fic_act_horas;
echo '
<tr>
<th style="text-align:center;font-size:12px;vertical-align:middle;">'.$contador++.'</th>
<td style="font-si... |
@extends('admin.adminlayout')
@section('page-header')
Forums <small>nouveau</small>
@stop
@section('content')
<div class="row">
<div class="col-sm-12">
<div class="box" style="border:1px solid #d2d6de;">
{!! Form::open([
'action' => ['ForumsControlle... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Citycorp extends Model
{
protected $fillable = [
'name','division_id'
];
public function division(){
return $this->belongsTo(Division::class);
}
} |
@extends('admin.layout')
@section('content')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1> {{ trans('labels.AddPage') }} <small>{{ trans('labels.AddPage') }}...</small> </h1>
<ol class="breadcrumb">
<li><a href="{{ URL::to('admin/dashboard/... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOrderProductTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('order_prod... |
<div class="row justify-content-center mt-5">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div class="card-title">
<div class="d-flex align-items-center">
<h2>Your answer</h2>
</div>
... |
@extends('layout.main') @section('content')
@if(session()->has('not_permitted'))
<div class="alert alert-danger alert-dismissible text-center"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>{{ session()->get('not_permitted') }}</div>
@endif... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are gi... |
<?php
namespace Drupal\Core\Ajax;
/**
* AJAX command for focusing an element.
*
* This command is provided a selector then does the following:
* - The first element matching the provided selector will become the container
* where the search for tabbable elements is conducted.
* - If one or more tabbable eleme... |
<?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\DependencyInjection\Compiler;
use Symfony\Component\D... |
@extends('layoutadmin')
@section('content')
<div class="container">
<h1>Tipos de Uso</h1>
<div>
{{ Form::open(['route'=>'use_types', 'method'=>'GET', 'role'=>'form', 'class'=>'form-inline']) }}
{{ Form::text('search',$search,['class'=>'form-control','placeholder'=>'Ingrese los criterios de bus... |
<?php
use MyBlog\Authentication\Factory;
use MyBlog\Authentication\User;
use MyBlog\Navigation\NavigationHelper;
use MyBlog\Validation\ValidationErrors;
use MyBlog\Validation\ValidationException;
include(__DIR__ . '/../bootstrap.php');
$validation_errors = new ValidationErrors();
$user = new User();
if ($_SERVER['R... |
<?php
/*
* status_interfaces.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2004-2013 BSD Perimeter
* Copyright (c) 2013-2016 Electric Sheep Fencing
* Copyright (c) 2014-2020 Rubicon Communications, LLC (Netgate)
* All rights reserved.
*
* originally based on m0n0wall (http://m0n0.ch/wall)
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePackagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('packages', fun... |
<?php
// +----------------------------------------------------------------------
// | HulaCWMS 呼啦企业网站管理系统
// +----------------------------------------------------------------------
// | Copyright (c) 2019 http://www.zhuopro.com All rights reserved.
// +-------------------------------------------------------------------... |
<?php
/**
* Table for Pet
*/
class m200000_000000_create_table_pets extends \yii\db\Migration
{
public function up()
{
$this->createTable('{{%pets}}', [
'id' => $this->bigPrimaryKey(),
'name' => $this->text()->notNull(),
'tag' => $this->text()->null()->defaultValue... |
<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:76:"/www/wwwroot/guo.yaoget.cn/public/../application/admin/view/index/index.html";i:1570347773;s:66:"/www/wwwroot/guo.yaoget.cn/application/admin/view/common/meta.html";i:1570347773;s:68:"/www/wwwroot/guo.yaoget.cn/application/admin/view/common/header.html";i:157285439... |
<?php
namespace Structural\Bridge;
interface CarColor
{
public function getColor();
} |
<?php
namespace Cmp\Http\Sender;
use Cmp\Http\Message\Request;
use Psr\Http\Message\ResponseInterface;
interface SenderInterface
{
/**
* @param \Cmp\Http\Message\Request $request
*
* @return ResponseInterface
*/
public function send(Request $request);
} |
<?php
namespace App\Http\Controllers\Reply;
use App\Category;
use App\Http\Controllers\Api\ApiController;
use App\Http\Controllers\User\UserController;
use App\Http\Requests\UpdateUserRequest;
use App\Http\Resources\ReplyResource;
use App\Reply;
use App\User;
use Illuminate\Http\Request;
class ReplyController extend... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Turma_infantil */
$this->title = Yii::t('app', 'Update Turma Infantil: {nameAttribute}', [
'nameAttribute' => $model->idturmainfantil,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Turma Infantils'), 'url' => ['... |
<?php
declare(strict_types=1);
namespace writeas;
class User
{
public $username;
public $has_pass;
public $email;
public $created;
public $subscription;
protected $context;
function __construct( Context $context ) {
$this->context = $context;
}
public function getPosts( string $format = "" ):?array {
... |
<?php
namespace ContainerNpGbrYw;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getTranslation_Loader_DatService... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasFactory,... |
<?php
namespace App\Http\Controllers;
use App\Calculator\CalculatorExpressDelivery\CalculatorExpressDelivery;
use Illuminate\Http\Request;
class ExpressCalculatorController extends Controller
{
public function getTotalPricing(Request $request, $params = array())
{
$calculator = new CalculatorExpressD... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use App\SmsTransactionGroup;
use App\SmsTransactionSingle;
use App\Helpers;
use DataTables, Auth;
use App\RcsBalance;
class SmartMessageBasicController extends Controller
{
protected $suggestions;
pro... |
<?php
namespace App\Http\Controllers;
//モデルの宣言
use App\Comment;
use Illuminate\Http\Request;
use App\Http\Requests;
class CommentsController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
/**
* コメント一覧の表示
*
* @return \Illuminate\Http\Response
... |
<?php
namespace Oro\Bundle\CronBundle\Tests\Unit\Async;
use Psr\Log\LoggerInterface;
use Oro\Component\MessageQueue\Consumption\MessageProcessorInterface;
use Oro\Component\MessageQueue\Job\JobRunner;
use Oro\Component\MessageQueue\Transport\Null\NullMessage;
use Oro\Component\MessageQueue\Transport\SessionInterface... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePormissionsTable extends Migration
{
/**
* Run the migrations.
*权限表
* @return void
*/
public function up()
{
Schema::create('pormissi... |
@component('mail::message')
# You Cancel this guard
Dear User you recently cancel your guard booking.
@component('mail::button', ['url' => URL::route('home')])
View Cancelation
@endcomponent
Thanks,<br>
{{ config('app.name') }}
@endcomponent |
<?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 Prototype\GeneratorBundle\Generator;
use Symfony\Component\Filesystem\F... |
@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">List of your Posts</div>
<div class="card-body">
@if (session('sta... |
<?php
/**
* Yoo.Kassa driver for Omnipay payment processing library
*
* @link https://github.com/hiqdev/omnipay-yoo-kassa
* @package omnipay-yoo-kassa
* @license MIT
* @copyright Copyright (c) 2019, HiQDev (http://hiqdev.com/)
*/
namespace Omnipay\YooKassa\Message;
use Omnipay\Common\Exception\Invalid... |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2019 |
+---------------------... |
<?php
/**
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
* @copyright Copyright (c) 2014 Zend Technologies USA Inc. (http://www.zend.com)
*/
namespace ZF\Apigility;
use Zend\Mvc\MvcEvent;
use Zend\View\Model\JsonModel;
use ZF\Hal\View\HalJsonModel;
use ZF\MvcAuth\MvcAuthEvent;
class Module
... |
<?php
/* @WebProfiler/Icon/no.svg */
class __TwigTemplate_5044077bc67b34ca47fa42d76d8cab5b3cca1120095a2be28367e5f2532007ad extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
... |
<?php
namespace App\Http\Controllers\Backend;
use App\Customer;
use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class CustomerController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function _... |
<?php
namespace App\Http\Requests\Category;
use Illuminate\Foundation\Http\FormRequest;
class CategoryResquest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<?php
namespace Coyote\Repositories\Eloquent;
use Coyote\Repositories\Contracts\FirmRepositoryInterface;
use Coyote\Firm;
class FirmRepository extends Repository implements FirmRepositoryInterface
{
/**
* @return string
*/
public function model()
{
return Firm::class;
}
/**
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDataBarangsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('data_barang... |
<?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
include './Base.php';
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of notify
*
* @author R
*/
class Notify extends Base{
public function __construc... |
<?php
namespace App;
use App\Traits\Activable;
use App\Traits\Auditable;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Spatie\MediaLibrary\HasMedia;
use Spatie\MediaLibrary\InteractsWithMedia;
use Spatie\MediaLibrary\MediaCollections\Models\Media;
use \DateTimeInterface;
class Cadre extends Model im... |
<?php
namespace Illuminate\Foundation\Testing;
use Mockery;
use Carbon\Carbon;
use Carbon\CarbonImmutable;
use Illuminate\Support\Facades\Facade;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Console\Application as Artisan;
use PHPUnit\Framework\TestCase as BaseTestCase;
abstract class TestCase extends Base... |
<div class="navbar bg-white-only visible-sm visible-md visible-lg">
<div class="container">
<ul class="nav navbar-nav navbar-right">
<li>
<!-- search form -->
<form id="search" action="https://www.codester.com/search/" method="GET"
class="navba... |
<?php
class App
{
public static function getBaseUrl()
{
return "http://projectplanner.localhost/";
}
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Achievements extends Model
{
} |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</ti... |
<?php
namespace App\Http\Controllers\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class LoginController
{
public function index()
{
return Auth::check() ? view('user.profile') : view('user.login');
}
public function store(Request $request)
{
$credent... |
<div class="col-md-12 bottom" data-ng-if="records">
<div class="col-md-4 default">
<span>{{trans('messages.empty_record')}}</span>
@include('layouts.rowperpage')
</div>
<ul class="angular_pagination pagination pagination-split pull-right">
<li>
<span data-ng-click="get... |
<?php declare(strict_types=1);
/*
* (c) shopware AG <info@shopware.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SwagMigrationAssistant\Test\Migration\Services;
use Doctrine\DBAL\Connection;
use PHPUnit\Framework\Test... |
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2_app_basic_my',
'username' => 'root',
'password' => 'toor',
'charset' => 'utf8',
// Schema cache options (for production environment)
//'enableSchemaCache' => true,
//'schemaCacheDuration' => 60,
... |
<?php
namespace Stopsopa\GoogleSpreadsheets\Utils;
use Exception;
// http://forum.jedox.com/index.php/Thread/4549-How-to-refer-to-a-cell-in-R1C1-style/
// g(How to refer to a cell in R1C1 style jedox)
class CellConverter {
public static function toLetter($number)
{
$number = (int)$number;
if ... |
<?php
declare(strict_types=1);
/*
* +----------------------------------------------------------------------+
* | ThinkSNS Plus |
* +----------------------------------------------------------------------+
* | Copyright (c) 2016-Present ZhiYiChuangXiang Technol... |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace Ammonkc\SabreApi\Model\BargainFinderMax;
use Ammonkc\SabreApi\AbstractModel;
class OrgOpentravelOta200305OTAAirLowFareSearchRQTPAExtensionsAlternateDatesProcessing extends AbstractModel
{
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
class CreatePujasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAssessmentIndicatorTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ass... |
<!-- The Modal -->
<div class="modal fade" id="myModal">
<div class="modal-dialog modal-md">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">Sub-Cat de Plano de Contas
</h4>
<butto... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use App\Follow;
use App\Notification;
use Auth;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use App\Genre;
use App\User_genre;
use App\Instrument;
use App\User_instrument;
class ProfileController extends Controller
{
pu... |
<?php
/**
* Date: 07.01.2017
* Time: 0:14
*/
namespace Kant\Elfinder\Plugin;
use mihaildev\elfinder\PluginInterface;
use Kant\Helper\Inflector;
class Sluggable extends PluginInterface
{
public $bind = [
'upload.presave' => 'createSlug'
];
public $lowercase = true;
public $replacement = ... |
@extends('layouts.home')
@section('containerTitle')
Settings
@endsection
@section('contentContainer')
@endsection |
{{--
Template Name: Page Sections Template
--}}
@extends('layouts.app')
@section('content')
<div id="section-list">
@foreach (PageSections::getSections() as $section)
@include('sections.'.$section['type'].'.'.$section['view'], $section['data'])
@endforeach
</div>
@end... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model frontend\models\Kontak */
$this->title = $model->judul;
$this->params['breadcrumbs'][] = ['label' => 'Kontaks', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="kontak-view">
<h... |
<?php
namespace nacholibre\DoctrineTranslatableFormBundle\Form;
use nacholibre\DoctrineTranslatableFormBundle\Interfaces\TranslatableFieldInterface;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Exception;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\OptionsReso... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Daftar Siswa</title>
<!-- load bootstrap css file -->
<link href="<?php echo base_url('assets/css/bootstrap.min.css'); ?>" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="row">
<div class... |
<?php
/*
* This file is part of the Stash package.
*
* (c) Robert Hafner <tedivm@tedivm.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Stash\Driver;
use Stash;
use Stash\Exception\RuntimeException;
use Stash\Inte... |
<?php
declare (strict_types=1);
namespace Rector\Generics\Rector\ClassMethod;
use PhpParser\Node;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Name\FullyQualified;
use PhpParser\Node\Param;
use PhpParser\Node\Stmt\ClassMethod;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\ClassReflection;
use PHPStan\Typ... |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\DICOM;
use JMS\Serializer\Annotation\ExclusionPolicy;
u... |
@extends('admin.layouts.master')
@section('content')
<div class="row page-titles">
<div class="col-md-5 col-8 align-self-center">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{route('admin.index')}}">首页</a></li>
<li class="breadcrumb-item active"... |
<a href="{{route('areas.edit',$id)}}" class="btn btn-icon btn-light-primary btn-circle mr-2">
<i class="flaticon-edit"></i>
</a>
<a href="{{route('areas.delete',$id)}}" onclick=" return confirm('هل متاكد من الحذف ؟ ')" class="btn btn-icon btn-light-danger btn-circle mr-2">
<i class="flaticon2-rubbish-bin-delete... |
<?php
/**
* Contacts filter form.
*
* @package alumni
* @subpackage filter
* @author E.R. Nurwijayadi
* @version 1.0
*/
class ContactsFormFilter extends BaseContactsFormFilter
{
public function configure()
{
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.