text stringlengths 2 1.03M |
|---|
<?hh
class A { function afunc($x) { return $x; } }
function test_builtins($m) {
if ($m is __SystemLib\MethCallerHelper) {
var_dump($m->getClassName(), $m->getMethodName());
}
if (HH\is_meth_caller($m)) {
var_dump(\HH\meth_caller_get_class($m), \HH\meth_caller_get_method($m));
}
}
<<__EntryPoint>>
fun... |
<?php
$params = require(__DIR__ . '/params.php');
$config = [
'id' => 'basic',
'name' => 'ExtremeNavigator',
'defaultRoute' => 'main/default/index',
'language' => 'ru-RU',
'sourceLanguage' => 'ru-RU',
'version' => '1.2.0',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'co... |
<?php
declare(strict_types=1);
namespace App\Providers;
use App\Models\Exercise;
use App\Models\Workout;
use App\Policies\ExercisePolicy;
use App\Policies\WorkoutPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
... |
<?php
/**
* Model file that will handle the database connection and function of council section
*
*
*
* @author John Gifter C Poja <gifter@improvedsoftware.com.au>
* @copyright Copyright (c) 2016 Improved Software. <https://improvedsoftware.com.au>
* @license Commercial
* @version Release: 1.... |
<?php
namespace Drupal\Core\Test;
use Drupal\Core\Database\Database;
/**
* Provides a trait for shared test setup functionality.
*/
trait TestSetupTrait {
/**
* An array of config object names that are excluded from schema checking.
*
* @var string[]
*/
protected static $configSchemaCheckerExclusi... |
@extends('layouts.master')
@section('content')
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Dashboard</h1>
</div>
<!-- Content Row -->
<div class="row">
<!-- Earnings (Monthly) Card Example -->
... |
<?php
/**
* @package brosco
*/
?>
<div class="container">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<?php if ( has_post_thumbnail()) : ?>
<a href="<?php echo get_the_post_thumbnail_url... |
<?php
/**
* Created by IntelliJ IDEA.
* User: winglechen
* Date: 16/4/6
* Time: 10:39
*/
namespace Zan\Framework\Contract\Store\Database;
interface ResultTypeInterface
{
/**
* return the query return
*/
const RAW = 0;
/**
* return one row : [<k=>v>] or null
*/
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCompareToToUserCurrenciesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('u... |
<?php include_once '../../config/parametros.php'; ?>
<?php include_once '../../vistas/session/isEmpleado.php'; ?>
<?php include_once '../../plantillas/cabecera.php'; ?>
<!-- COLOCAR ESTILOS ADICIONALES AQUI -->
<link href="<?= $base_url ?>plugins/subir-foto/css/fileinput.css" media="all" rel="stylesheet" type="text/css... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
//
protected $table = 'orders';
protected $fillable = ['name','address']
} |
(function() {
var Button, Col, Divider, FontAwesome, Grid, ItemInfoTable, ItemInfoTableArea, OverlayTrigger, Panel, React, ReactBootstrap, Row, Table, Tooltip, __, jQuery,
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1;... |
<?php
namespace TenantCloud\BetterReflection\Relocated\Bug3630;
class HelloWorld
{
private function __clone()
{
}
} |
<div class="edit-study-extras">
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading collapsed" data-toggle="collapse" data-parent="#accordion" href="#cTasks" aria-expanded="false">
<h4 class="panel-title">
<a data-... |
<?php
return [
'id' => 'ID',
'name' => 'Tên',
'order_by' => 'Thứ tự',
'status' => 'Trạng thái',
'created_at' => 'Ngày tạo',
'updated_at' => 'Ngày cập nhật',
'operations' => 'Tác vụ',
'url' => 'URL',
'author' => 'Người tạo',
'column' => 'Cột',
'origin' => 'Bản cũ',
'... |
<h1>Edit pet {{ $pet->name }}</h1>
<form action="{{ action('PetController@update', $pet->id) }}" method="post">
@method('put')
@csrf
{{-- <div class="edit-form__alerts">
@if (Session::has('success_message'))
<div class="alert alert-success">{{ Session::get('success_message') }}</div>... |
@extends('layout.app')
@section('content')
<form action="">
<div class="arch">
<div class="container">
<h1>Architectural Styles</h1>
<p>Choose with a unique selection of different architectural styles around the world</p>
<div class="italy">
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use phpDocumentor\Reflection\Types\Boolean;
class Controller exten... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\User;
class Transaksi extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fil... |
<?php
namespace App\Repositories;
use Prettus\Repository\Eloquent\BaseRepository;
use Prettus\Repository\Criteria\RequestCriteria;
use App\Repositories\InstitutionRepository;
use App\Entities\Institution;
use App\Validators\InstitutionValidator;
/**
* Class InstitutionRepositoryEloquent
* @package namespace App\Re... |
<?php
/**
* The template for displaying search forms in SKT Software
*
* @package SKT Software
*/
?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<label>
<input type="search" class="search-field" placeholder="<?php esc_attr_e( 'Search...', 'skt-software... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Models\Message;
use Commercetools\Api\Models\Common\CreatedBy;
use Commercetools\Api\Models\Common\CreatedByBuilder;
use Commercetools\Api\Models\Common\LastModifiedBy;
use Commercetools\Api\M... |
<?php namespace Tusbol\CarsModule\Http\Controller\Admin;
use Tusbol\CarsModule\Model\Form\ModelFormBuilder;
use Tusbol\CarsModule\Model\Table\ModelTableBuilder;
use Anomaly\Streams\Platform\Http\Controller\AdminController;
class ModelsController extends AdminController
{
/**
* Display an index of existing e... |
</div>
<div class="line banner"><img src="arquivo/banners/timetravel.gif" /></div>
<div class="line footer"></div>
</div>
</body>
</html> |
@extends('layouts.app')
@section('content')
@include('category._navigate')
<div class="main__content">
@foreach($categories as $category)
<div class="card {{ $category->active?'':'disabled' }}">
<a class="link {{ $category->active?'':'disabled' }}" href="{{ route('category.show', ['category' => $ca... |
@extends('layouts.backend.app')
@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-dark">Thống kê chung</h1>
</div><!-- /.col -->
<div class="c... |
<?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\Tests;
require_once __DIR__.'/Fix... |
<?php
/**
* Copyright 2021 Sage Intacct, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "LICENSE" file accompanyin... |
<?php
/**
* CreateConfirmDeliveryDetailsResponse
*
* PHP version 7.2
*
* @category Class
* @package Webcom\Amazon\Rest\MessagingApi
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Selling Partner API for Messaging
*
* With the Messaging API you can build applications... |
<?php
namespace League\Flysystem\Adapter;
use DirectoryIterator;
use FilesystemIterator;
use finfo as Finfo;
use League\Flysystem\AdapterInterface;
use League\Flysystem\Config;
use League\Flysystem\Exception;
use League\Flysystem\NotSupportedException;
use League\Flysystem\UnreadableFileException;
use League\Flysyste... |
<?php
declare(strict_types=1);
namespace Webuntis\CacheBuilder\Routines;
use Webuntis\CacheBuilder\Routines\Interfaces\CacheBuilderRoutineInterface;
use Webuntis\CacheBuilder\Cache\Memcached;
/**
* The MemcacheRoutine which creates an memcached instance
* @author Tobias Franek <tobias.franek@gmail.com>
* @license... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the Ro... |
<?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return string|null
... |
@extends('layouts.home')
@section('content')
<div class="top-content">
<div class="inner-bg">
<div class="container">
<div class="row">
<div class="col-sm-6 col-sm-offset-3 form-box">
<div class="form-top">
... |
<div class="topbar">
<!-- LOGO -->
<div class="topbar-left">
<div class="text-center">
<a href="{{ route('coordinator.dashboard') }}" class="logo"><img src="{{ asset('image/diu4.png') }}" height="28"></a>
<a href="{{ route('coordinator.dashboard') }}" class="logo-sm"><img src="{{... |
<?php
/*
* This file is part of the Apisearch Server
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Feel free to edit as you please, and have fun.
*
* @author Marc Morera <yuhu@mmoreram.com>
*/
declare(strict_types=1);
names... |
<?php
/**
* Created by PhpStorm.
* User: f.delucia
* Date: 12/06/17
* Time: 16:52
*/
namespace Contactlab\Hub\Model\Event\Strategy;
use Contactlab\Hub\Model\Event\Strategy as EventStrategy;
class StoreChange extends EventStrategy
{
const HUB_EVENT_NAME = 'changedSetting';
const HUB_EVENT_SCOPE = 'fronte... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class WorkExperience extends Model
{
use HasFactory,SoftDeletes;
} |
<?php
namespace Sabre\DAVACL;
use Sabre\DAV;
use Sabre\HTTP\URLUtil;
/**
* Principal class
*
* This class is a representation of a simple principal
*
* Many WebDAV specs require a user to show up in the directory
* structure.
*
* This principal also has basic ACL settings, only allowing the principal
* acce... |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Client
*
* @ORM\Table(name="client")
* @ORM\Entity(repositoryClass="AppBundle\Repository\ClientRepository")
*/
class Client
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\Generated... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
/* @var $this \yii\web\View */
/* @var $content string */
?>
<nav class="navbar col-lg-12 col-12 fixed-top d-flex flex-row">
<div class="text-center navbar-brand-wrapper">
<a class="navbar-brand brand-logo" href="<?=Url::to('@web/')?>">
SportGaz... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
@extends('admin.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">{{ __('Register') }}</div>
<div class="card-body">
<form met... |
@extends('adminlte::master')
@inject('layoutHelper', \JeroenNoten\LaravelAdminLte\Helpers\LayoutHelper)
@if($layoutHelper->isLayoutTopnavEnabled())
@php( $def_container_class = 'container' )
@else
@php( $def_container_class = 'container-fluid' )
@endif
@section('adminlte_css')
@stack('css')
@yield('c... |
@extends('layout.master')
@section('title','Welcome');
@section('content')
<H1>Welcome to my applications</H1>
@endsection |
<?php
namespace App\Imports;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Auth;
use App\Models\Category;
use App\Models\Brand;
use App\Models\User;
use App\Models\AttributeValue;
use App\Models\Attribute;
use App\Models\ProductAttribute;
use App\Models... |
<?php
namespace EshopBundle\Repository;
use Doctrine\ORM\EntityRepository;
/**
* Class OrderRepository
*
* @package EshopBundle\Repository
*/
class OrderRepository extends EntityRepository
{
} |
@extends('layouts')
@section('content')
<h1 class="mt-4">Create Category</h1>
@if (Session::get('success'))
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong> {{ Session::get('success') }} </strong>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
... |
<?php /** @var MountSkin $skin */ ?>
<header class="itemHeader">
<div class="pageWidth">
<img class="icon" width="64" height="64" src="{{ $skin->getIconUrl(64) }}" alt="">
<h2>{{ $skin->getName() }}</h2>
@include('helper.breadcrumbs', ['breadcrumbs' => [
[trans('mount.breadcrumb'... |
<?php
namespace App\Repositories;
use App\Models\Post;
use Illuminate\Http\Request;
use Intervention\Image\Facades\Image;
/**
* Class PostRepository
* @package App\Repositories
* @version November 17, 2020, 7:40 am UTC
*/
class PostRepository extends BaseRepository
{
/**
* @var array
*/
protect... |
<!DOCTYPE html>
<html lang="fr">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>Admin</title>
<!-- plugins:css -->
<base href="/">
... |
--TEST--
Filtered code coverage: path include [1]
--INI--
xdebug.mode=coverage
xdebug.collect_return=1
xdebug.collect_assignments=0
xdebug.trace_format=0
--FILE--
<?php
$cwd = __DIR__; $s = DIRECTORY_SEPARATOR; $includeDir = realpath( $cwd . '/..' );
xdebug_set_filter(XDEBUG_FILTER_CODE_COVERAGE, XDEBUG_PATH_INCLUDE, [... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Platobnemoduly extends CI_Controller {
public function __construct() {
parent::__construct();
$this->load->library('admin/tank_auth_groups', '', 'tank_auth');
$this->lang->load('tank_auth');
$this->... |
<?php
// src/HurricaneScript/AnnonceBundle/Form/AnnonceRechercheType.php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use ... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Http\Controllers\Traits\CsvImportTrait;
use App\Http\Requests\MassDestroyCourseRequest;
use App\Http\Requests\StoreCourseRequest;
use App\Http\Requests\UpdateCourseRequest;
use App\Models\Course;
use Gate;
use GuzzleHttp\Client;
... |
<?php
namespace App\Http\Controllers;
use App\Models\Attend;
use App\Models\Content;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Storage;
class AttendController extends Controller
{
/**
* Display a listing of the resourc... |
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<head>
<title>Validando...</title>
<meta charset="utf-8">
</head>
</head>
<body><?php
include 'conexion.php';
if(isset($_POST['login'])){
$usuario = $_POST['nombre'];
$pw = $_POST['pass'];
$log = mysql_query("SELECT * FROM contabilidad WHERE nomb... |
<?php
namespace WebTool;
/**
* 常用加解密方法2
* X-Wolf
* 2019-8-3
*/
class Coding
{
/**
* 加密
* @param string $str 需加密字符串
* @param integer $factor 分类
* @return string 加密之后的字符串
*/
static function doEncode($str , $factor = 0){
$len = strlen($str);
if(!$len){
... |
<?php
namespace MultilevelRelations;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class C
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue
*/
private int $id;
/**
* @ORM\Column(type="string", nullable=true)
*/
private ?string $name = null;
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Transactions extends Model
{
protected $fillable = [
'nome',
'valor',
'cpf',
'status',
'user_id',
];
protected $table = 'transactions';
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... |
<?php
$con=mysql_connect("localhost","root","");
mysql_select_db("dwa",$con);
if(isset($_GET['att']))
{
?>
<html>
<body>
<center>
<table border="1">
<tr>
<td bgcolor="66CCFF"><Emp_id</td>
<td>Name</td>
<td>Per_hr_pay</td>
<td>Mobno</td>
</tr>
<tr>
<?php
... |
<?php
/**
* This file is part of `prooph/event-store-client`.
* (c) 2018-2020 Alexander Miertsch <kontakt@codeliner.ws>
* (c) 2018-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.... |
<?php
namespace Mob\Model;
use Think\Model;
/**字段数据模型,通过该模型可以方便地对字段信息实现读和取
* Class DataModel
*/
class DataModel extends Model
{
protected $tableName = "cat_data";
public function addData($name, $value, $info_id, $entity_id)
{
$map['name'] = $name;
$map['entity_id'] = $entity_id;
... |
<?php
include_once("cabecalho.php");
?>
<div class="container my-5 ">
<hr>
<img src="img.jpg" style=" background-size: cover; width: auto; height:260px;">
</div>
<?php
include_once("rodape.php");
?> |
<?php
use Illuminate\Database\Seeder;
class RoleUserTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('role_user')->insert([
[
'id' => 1,
'role_id' => 1,
'... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Trading\Types;
/**
*
* @property \DTS\eBaySDK\Trading\Enums\CountryCodeType $Country
* ... |
<?php
$type='Type1';
$name='Georgia';
$desc=array('Ascent'=>917,'Descent'=>-219,'CapHeight'=>693,'Flags'=>32,'FontBBox'=>'[-74 -217 990 912]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>1000);
$up=-88;
$ut=49;
$cw=array(
chr(0)=>1000,chr(1)=>1000,chr(2)=>1000,chr(3)=>1000,chr(4)=>1000,chr(5)=>1000,chr(6)=>1000,chr(7)... |
<?php
use yii\helpers\Html;
use yii\web\YiiAsset;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\Query */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Queries', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
YiiAsset::register... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Question;
class FavoritesController extends Controller
{
public function __construct(){
$this->middleware('auth');
}
public function store(Question $question){
$question->favorites()->attach( auth()->id() );
return... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Candidato;
class CandidatoController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$candidatos = Candidato::all(... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/9/26
* Time: 17:42
*/
namespace app\index\controller;
use app\common\consts\TableStatus;
use app\common\consts\YesOrNo;
use app\common\service\GoodsEvaluationService;
use app\common\service\GoodsService;
use utils\PageUtils;
class Goods extend... |
<?php
namespace frontend\controllers;
use frontend\services\price\PriceService;
class PriceController extends BaseController
{
private $priceService;
public function __construct(
$id,
$module,
PriceService $priceService,
$config = []
)
{
parent::__construct($i... |
<?php
/**
* Created by PhpStorm.
* User: Dominik Grzelak
* Date: 29.10.2017
* Time: 11:25
*/
\Illuminate\Support\Facades\Auth::logout(); |
<?php
namespace Services;
class File
{
public function upload(string $tmpfile, string $destfile)
{
try {
// $destfile = $destfile;
if (file_exists($destfile)) {
throw new \Exception("Error: $destfile already exists!");
} else {
return move_uploaded_file($... |
<?php
namespace Bill\Support\Repository\Criteria;
use Illuminate\Database\Eloquent\Model;
abstract class Criteria
{
/**
* Add a new select array to query.
*
* @return array
*/
abstract public function select();
/**
* Add a criteria to query results.
*
* @param $model
... |
<?php
namespace App\Http\Requests\Backend\Category;
use App\Http\Requests\Request;
class CategoryUpdateRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
*... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class StudentAddDiscord extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('students', functi... |
<?php
namespace ChristophSchaeffer\Dhl\BusinessShipping\Test;
use ChristophSchaeffer\Dhl\BusinessShipping\Soap;
/**
* Class StatusMapperTest
* @package ChristophSchaeffer\Dhl\BusinessShipment\Test
*/
class StatusMapperTest extends AbstractUnitTest {
/**
* @throws \SoapFault
*/
public function t... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\bootstrap\Modal;
use yii\widgets\ActiveForm;
use kartik\date\DatePicker;
use kartik\select2\Select2;
use yii\web\JsExpression;
use yii\jui\AutoComplete;
use app\models\StockHead;
/* @var $this yii\web\View */
/* @var $model app\models\StockHead */
$this->title... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class CartController extends Controller
{
public function cartList()
{
$cartItems = \Cart::getContent();
($cartItems);
return view('users.home.cart', compact('cartItems'));
}
public function addToCart(Request... |
<?php
namespace app\models;
class Zooms extends \lithium\data\Model {
}
?> |
<?php
namespace DoctrineORMModule\Proxy\__CG__\Livraria\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Categoria extends \Livraria\Entity\Categoria implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the ... |
@extends('layouts.admin.dashboard')
@section('title', 'Carousel')
@section('links')
<link rel="stylesheet" href="{{ asset('vendor/purple-admin-pro/assets/vendors/owl-carousel-2/owl.carousel.min.css') }}" />
<link rel="stylesheet" href="{{ asset('vendor/purple-admin-pro/assets/vendors/owl-carousel-2/owl.theme.... |
<?php
namespace Larabookir\Gateway;
use Larabookir\Gateway\Parsian\Parsian;
use Larabookir\Gateway\Sadad\Sadad;
use Larabookir\Gateway\Mellat\Mellat;
use Larabookir\Gateway\Payline\Payline;
use Larabookir\Gateway\Pasargad\Pasargad;
use Larabookir\Gateway\Zarinpal\Zarinpal;
use Larabookir\Gateway\JahanPay\JahanPay;
us... |
<?php
/**
* Case Folding Properties.
*
* Provides case mapping of Unicode characters for code points U+0100 through U+017F
*
* @see http://www.unicode.org/Public/UNIDATA/UCD.html
* @see http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
* @see http://www.unicode.org/reports/tr21/tr21-5.html
*
* CakePHP(tm) ... |
<html>
<head>
<meta charset="utf-8" />
<title>BitsFixStudio.com</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="Format/AdditionalPageFormat.css">
<link rel="stylesheet" href="Format/HomePageFormat.css">
<link rel="stylesheet" href="Format/ButtonFormat.c... |
<?php
/**
* Created by PhpStorm.
* User: 虚空之翼
* Date: 2017/5/9
* Time: 上午9:24
*/
namespace app\admin\controller;
use app\common\model\News as NewsModel;
use app\common\model\WechatDepartment;
use app\common\model\WechatTag;
use app\common\model\WechatUser;
use app\index\model\Collect;
use think\Loader;
use wecha... |
<div class="row">
<a href="{{ URL::to('/users/pdf') }}">Export PDF</a>
<label>{{$user}}</label>
<table>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Address</th>
</tr>
@foreach ($usersMariageList as $user)
<tr>
<td>{{ $... |
<?php
defined( 'ABSPATH' ) || exit;
/**
* Can be loaded by ajax
*
* @var AutomateWoo\Workflow $workflow
* @var AutomateWoo\Trigger $trigger
* @var bool $fill_fields (optional)
*/
// default to false
if ( ! isset( $fill_fields ) ) {
$fill_fields = false;
}
if ( ! $trigger ) {
return;
}
//... |
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
Commands\Parse1... |
<?php
namespace App\Jobs;
use App\Jobs\Job;
use Illuminate\Contracts\Bus\SelfHandling;
use Request;
class SetLocale extends Job implements SelfHandling
{
protected $languages = ['vi', 'en'];
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
if(!sessio... |
<?php
header("Content-Type: application/force-download");
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 2010 05:00:00 GMT");
header("content-disposition: attachment;filename=rekap_infrastruktur_terbangun".date('dmY').".xls");
?>
<table class="table table-hover" borde... |
@extends('layouts.app')
@section('content')
<div class="catgorycercelcontainer">
<ul class='circle-container'>
<li><img src="{{Request::root()}}/website/images/cln.png" alt=""></li>
<li><img src="{{Request::root()}}/website/images/Crpt.png" alt=""></li>
<li><img src="{{Request::root()}}/website/images/dct... |
<?php
class Mage1CatalogProductBundleSelection extends Mage1CatalogProductBundleSelectionPeer
{
/**
* Returns the static model of the specified AR class.
* Please note that you should have this exact method in all your CActiveRecord descendants!
* @param string $className active record class name.
* @return M... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDestinationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('destinatio... |
<!-- flex-min-height-box start -->
<section id="down" class="dark-bg-1 flex-min-height-box">
<!-- flex-min-height-inner start -->
<div class="flex-min-height-inner">
<!-- container start -->
<div class="container top-padding-120 bottom-padding-60 text-center">
<div data-animation-container>
... |
<!DOCTYPE html>
<html lang="ja" itemscope="" itemtype="http://schema.org/WebPage" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<title>アクセスログ解析ツー... |
@extends('layouts.nisit_main')
@section('page_title', 'Edit')
@section('content')
@if($errors->any())
<ul class="alert alert-danger">
@foreach($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
@endif
<div class="container" id="lamoon">
@if(Auth::user()->id_card == $information->id_ca... |
<?php
/**
* Generate a new VCCW environment.
*
* @subpackage commands/community
* @maintainer Takayuki Miyauchi
*/
class Scaffold_VCCW_Command extends WP_CLI_Command
{
/**
* Generate a new VCCW environment. bHHHH
*
* ## OPTIONS
*
* <directory>
* : The directory of the new VCCW based guest machine.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.