text stringlengths 2 1.03M |
|---|
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class InternalPasseFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
//
];
}
} |
@extends('mymain/mymain')
@section('content')
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
... |
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Tambah Penelitian</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
... |
<?php
/**
* tpshop
* ============================================================================
* 版权所有 2015-2027 深圳搜豹网络科技有限公司,并保留所有权利。
* 网站地址: http://www.tp-shop.cn
* ----------------------------------------------------------------------------
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 .
* 不允许对程序代码以任何形式任何目的的再发布。
... |
<?php
namespace App\Http\Middleware;
use Closure;
class CheckApiToken
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return $next($reque... |
<?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 copy... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User;
use App\Profile;
use Faker\Generator as Faker;
$factory->define(Profile::class, function (Faker $faker) {
$gender = $faker->randomElement(['male', 'female']);
return [
'user_id' => factory(User::class),
'username'... |
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Command;
use Sensio\Bundle\Generat... |
<?php $__env->startSection('content'); ?>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<!-- Main content -->
<section class="content">
<!-- Info boxes -->
<!-- /.row -->
<div class="row">
<div class="col-md-12">
... |
<?php
namespace Modules\Kelola\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Validation\Rule;
class RegulasiRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRstRequestReplacementStaffTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::crea... |
30 mtime=1556801058.944378374
24 SCHILY.fflags=extent |
<?php
/*
This file belongs to the Webinterface of schokokeks.org Hosting
Written 2008-2018 by schokokeks.org Hosting, namely
Bernd Wurst <bernd@schokokeks.org>
Hanno Böck <hanno@schokokeks.org>
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this ... |
<div class="panel panel-default">
<?php foreach ($invoice_data as $invoice_data) { ?>
<div class="panel panel-default" style="border:1px #ddd solid; border-radius:5px; width:100%;">
<div class="panel-heading" style="padding:5px; font-weight:bold;">Order #<?php echo $invoice_data->invoice_number... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>注册确认链接</title>
</head>
<body>
<h1>感谢您在Sample网站进行注册!</h1>
<p>
请点击下面的链接完成注册:
<a href="{{ route('confirm_email', $user->activation_token) }}">
{{ route('confirm_email', $user->activation_token) }}
</a>
</p>
<p>
如果这不是您本人的操作,请忽略此邮... |
<?php
/**
* @package ActiveRecord
*/
namespace ActiveRecord;
/**
* The base class for your models.
*
* Defining an ActiveRecord model for a table called people and orders:
*
* <code>
* CREATE TABLE people(
* id int primary key auto_increment,
* parent_id int,
* first_name varchar(50),
* last_name v... |
<?php
/** Japanese (日本語)
*
* See MessagesQqq.php for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author Akaniji
* @author Alexsh
* @author Aotake
* @author Aphaia
* @author Broad-Sky
* @author Chinneeb
... |
<style>
.sidebar-main-btn {
font-family: overwatch;
font-size: 30px;
width: 100%;
border: none;
transition: all 0.15s ease-in-out;
background-color: #0090e6;
}
.sidebar-main-btn:hover {
background-color: rgb(54, 177, 237);
transition: all 0.15... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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/LICENS... |
<form id="divForm" method="post">
<input type="hidden" name="action" value="add" />
<input type="hidden" name="o_time" value="onez.time" />
<table class="tb">
<tr>
<td width="65"><strong>通知标题</strong></td>
<td><input id="caption" name="o_caption" class="pt" type="text" maxlength="50" style="width:500px"></td>... |
<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\WebsiteBundle\Tests\Unit\Sulu\Bundle\WebsiteBundle\Sitemap;
use PHPUnit\Framework\TestCase;
use Sulu\Bundle\WebsiteBu... |
@extends('layouts.master')
@section('title')
Categories
@endsection
@section('content')
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h... |
<?php
/**
* @link https://github.com/black-lamp/blcms-sub-shop
* @copyright Copyright (c) 2017 Vladimir Kuprienko
* @license BSD 3-Clause License
*/
namespace bl\cms\subshop\base;
/**
* Interface for class where triggered shop events
*
* @author Vladimir Kuprienko <vldmr.kuprienko@gmail.com>
*/
interface Shop... |
<?php
namespace Modules\Magazine\Entities;
use GeneaLabs\LaravelModelCaching\Traits\Cachable;
use Illuminate\Database\Eloquent\Model;
use Modules\Core\Traits\FormatDates;
class Magazine extends Model {
use FormatDates;
use Cachable;
protected $fillable = ['title', 'image... |
@extends('layout')
@section('content')
<h1 class="title__primary">{{ $title }}</h1>
<p class="title__secondary">{{ $tagline }}</p>
@stop |
<?php
//src/OAH/NewsBundle/Controller/NewsController.php
namespace OAH\NewsBundle\Controller;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\httpFoundation\Response;
use Symfony\Component\httpFoundation\Request;
use OA... |
<?php
return [
'language' => 'ru-RU',
'components' => [
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=merapoisk_crm',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
],
'mailer' => ... |
@extends('backend.layouts.app')
@section('main-content')
<div class="content-wrapper">
<!-- 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">Manage Order Details</h1>
... |
<?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\Acl\Tests\Domain;
use PHPUnit\Framework\Test... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Carbon\Carbon;
use Illuminate\Support\Facades\Session;
use DB;
use Illuminate\Support\Facades\Auth;
class UniformGA extends Model
{
protected $connection = 'pgsql-mobile';
public function masKaryawan($username)
{
$mas_karyawan = DB... |
<?php
namespace Wnx\Emojis\Emojis;
/**
* ManFacepalming Emoji class.
*
* @version v13.1
*
**/
class ManFacepalming
{
public const SYMBOL = "🤦♂️";
public const HEX = "1F926 200D 2642 FE0F";
public const CODE = "\u{1F926}\u{200D}\u{2642}\u{FE0F}";
public const NAME = 'man facepalming';
pu... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Cconscuadcompara extends CI_Controller {
function __construct() {
parent:: __construct();
$this->load->model('oi/ctrlprovclie/mconscuadcompara');
$this->load->model('mglobales');
$this->load->library('encryption');
$this->load->hel... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard extends CI_Controller {
public function index()
{
belum_login();
if($this->fungsi->user_login()->level == 1) {
$this->template->load('template','dashboard');
} else {
$this->template->load('template','client/home');
... |
<?php
/**
* CollectionResponseActionRevisionForwardPaging
*
* PHP version 7.3
*
* @category Class
* @package HubSpot\Client\Automation\Actions
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Custom Workflow Actions
*
* Create custom workflow actions
*
* The version... |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
/*
|--------------------------------------------------------------------------
... |
<?php
// This page is to create constant for config values.
return [
'api' => [
'ok' => 200,
'created' => 201,
'no_content ' => 204,
'bad_request' => 400,
'unauthorized' => 401,
'internal_server_error' => 500,
],
'success' => 'SUCCESS',
'fail' => 'FAIL',... |
<?php declare(strict_types=1);
/*
* This file is part of phpunit/php-code-coverage.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SebastianBergmann\CodeCoverage;
use fu... |
<?php
if(!$this->session->userdata('id')) {
redirect(base_url().'admin/login');
}
?>
<section class="content-header">
<div class="content-header-left">
<h1>Edit FAQ</h1>
</div>
<div class="content-header-right">
<a href="<?php echo base_url(); ?>admin/faq" class="btn btn-primary btn-sm">View All</a>
</div>
</s... |
<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\jui\InputWidget;
use yii\base\Widget;
use yii\base\Component;
use yii\base\BaseObject;
use yii\base\Configurable;
use yii\base\ViewContextInterface;
use yii\helpers\ArrayHelper;
use yii\jui\DatePicker;
use common\widgets\Typeahead;
use yii\helpers\Url;
... |
<?php
namespace App\Mainframe\Features\Responder;
use App\Mainframe\Features\Core\Traits\Validable;
use Illuminate\Support\Arr;
class Response
{
use Validable;
/* All HTTP codes */
public const HTTP_CONTINUE = 100;
public const HTTP_SWITCHING_PROTOCO... |
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
//$this->params['breadcrumbs'][] = $this->title;
?>
<div class="" style="text-indent: 25px; color: #46494C;">
<h1 class="text-center">Про нас</h1>
<p>Ми забезпечуємо вищу освіту освітніх рівнів бакалавра і магістра за двома спеціальностями:</p>
<p><... |
<?php
namespace backend\controllers;
use common\models\ProductImage;
use common\models\ProductSize;
use common\models\Style;
use Yii;
use common\models\Product;
use common\models\ProductSearch;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yi... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\ResourceBundle\Form\Extension;
use Symfony\Component\Form\AbstractTypeExtensi... |
<div class="navbar nav_title" style="border: 0;">
<a href="{{route('home')}}" class="site_title"><i class="fa fa-paw"></i> <span>Pet Shop</span></a>
</div>
<div class="clearfix"></div> |
<?php
use Laravel\Lumen\Testing\DatabaseMigrations;
class CommentBroadcastTest extends TestCase
{
use DatabaseMigrations;
/** @test */
public function after_article_created_it_will_broadcast_everyone()
{
$this->expectsEvents(\App\Events\CommentCreated::class);
create(\App\Comment::cla... |
<?php if (isset($component)) { $__componentOriginal5518e5dbd0d2f249382fceb35002484a4efcccb8 = $component; } ?>
<?php $component = $__env->getContainer()->make(ASK\Svg\Components\SvgComponent::class, []); ?>
<?php $component->withName('icon-camera'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startCompon... |
<div class="content-wrapper">
<vue-signature
ref="signature"
:sigOption="option"
:w="'800px'"
:h="'400px'"
:test-data="{{ json_encode($id) }}"
>
</vue-signature>
<input type="hidden" id="my_id" value="{{ $id }}">
<button @click="save">Save</button>
<... |
<?php
/**
* Custom functions that act independently of the theme templates.
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package Swanwick
*/
/**
* Adds custom classes to the array of body classes.
*
* @param array $classes Classes for the body element.
* @return arr... |
<?php
namespace Enax\MVC;
/**
* Basklass för databasmodeller
*
*/
class CDatabaseModel implements \Anax\DI\IInjectionAware
{
use \Anax\DI\TInjectable;
/**
* Get the table name
*
* @return string with the table name
*/
public function getSource() {
return strtolower(implode(... |
<div class="row">
<a href="{{route('export.excel',['user'=>'product'])}}" class="btn btn-success">Export Products to Excel</a>
<table class="table table-striped">
<tr>
<th>Product</th>
<th>Seller</th>
<th>Price</th>
<th>Type</th>
<th>Category</... |
<?php
/* FOSMessageBundle:Message:thread.html.twig */
class __TwigTemplate_a4f235dd455b07a73b7bfbace95f963c842359eaa9f61e0305d2cfb6e0930afc extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("FOSMessa... |
@extends('master')
@section('title', 'Add New Devices')
@section('body')
@include('partials/navigation_bar')
@section('title-bar', trans('devices/create.title'))
<div class="container-fluid">
<div class="from-group lb">
<form action="{{url('devices')}}" method="post">
@csrf
<label>{{ trans('devices/... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Studio\Totem\Database\TotemMigration;
class AlterTasksTableAddNotificationsFields extends TotemMigration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::con... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class DevelopmentController extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Section_model', 's');
$this->load->model('Department_model', 'd');
$this->load->mo... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... |
<?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' => [
... |
<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
// +-------------------------------------------... |
<?php
namespace BusinessTime\Tests\Unit\Constraint;
use BusinessTime\BusinessTime;
use BusinessTime\Constraint\WeekDays;
use PHPUnit\Framework\TestCase;
/**
* Test the WeekDays business time constraint.
*/
class WeekDaysTest extends TestCase
{
/**
* @dataProvider weekendsProvider
*
* @param stri... |
<?php
namespace ElfStack\Unit;
use ElfStack\Unit;
/**
* 单元测试描述类
*
* 被单元测试接口类所包含使用
*
* @package ElfStack
* @subpackage UnitTest
* @category UnitTest
* @license MIT
* @copyright ElfStack Dev Team 2016, all rights reserved.
* @author Tamce[github.com/tamce] - ElfStack Dev Team
*/
class Describer
{
/**
* 某次... |
<?php
/**
* This file is part of the Eki-NRW package.
*
* (c) Ekipower
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Eki\NRW\Common\Relations;
/**
* @author Nguyen Tien Hy <ngtienhy@gmail.com>
*/
interface NodeInterface
{
/**
* R... |
<?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
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* YouthDivisions
*
* @ORM\Table(name="youth_divisions")
* @ORM\Entity(repositoryClass="AppBundle\Repository\YouthDivisionsRepository")
*/
class YouthDivisions
{
/**
* @var int
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title')</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<base href="{{asset('layout/backend')}}/">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/d... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
/*
* Copyright (c) 2021, Tribal Limited
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this li... |
<?php
use App\Http\Controllers\AuthorController;
use App\Http\Controllers\CommentController;
use App\Http\Controllers\PostController;
use App\Http\Controllers\UserController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|------------... |
<?php
/**
* @var \App\View\AppView $this
* @var string $plugin
* @var string[] $hooks
* @var array $result
* @var string $classContent
* @var string $classContentAfter
*/
use SebastianBergmann\Diff\Differ;
?>
<h1>Plugin class for <?php echo h($plugin); ?></h1>
<p>
<?php echo $this->Html->link('Back', ['acti... |
<?php
namespace App\Http\Controllers;
use Auth;
use App\Event;
use App\Usertype;
use App\Template;
use App\Attendee;
use Illuminate\Http\Request;
use App\Http\Requests\UserTypeStore;
use Illuminate\Support\Facades\Validator;
class UsertypeController extends Controller {
public function __construct() {
$... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
namespace App\Http\Controllers;
use App\MyVoucher;
use App\Voucher;
use Illuminate\Http\Request;
class CartController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
*... |
<a href="?controller=device&action=positioner">Позиционер</a>
<br>
<a href="?controller=device&action=blocking_valve">Блокируюший клапан</a>
<br>
<a href="?controller=device&action=booster">Бустер</a>
<br>
<a href="?controller=device&action=filter_regulator">Фильтр-регулятор</a> |
<?php
namespace AppBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class FicheControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClient();
// Creat... |
<div class="min-h-screen flex flex-col sm:justify-center items-center">
<div>
{{ $logo }}
</div>
<div class="w-full sm:max-w-md mt-6 shadow-2xl overflow-hidden sm:rounded-lg dark:shadow-gray-800">
{{ $slot }}
</div>
</div> |
<?php
namespace App\Console\Commands;
use App\Enums\PostStatusEnum;
use App\Models\Post;
use Illuminate\Console\Command;
use Illuminate\Support\Carbon;
class PublishScheduledPosts extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signatur... |
<?php
/*
* 仓秘书免费开源WMS仓库管理系统+订货订单管理系统
*
* (c) Hunan NLE Network Technology Co., Ltd. <cangmishu.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Http\Requests;
use Illuminate\Support\Facades\Auth;
use Illuminate\... |
<?php
// modules/product/action.php
header("content-type: text/html; charset=UTF-8");
// inint
include '../../bin/inint.php';
// referer
if (gcms::isReferer()) {
// ค่าที่ส่งมา
$order_id = (int)$_POST['id'];
$action = $_POST['action'];
$login_id = (int)$_SESSION['login']['id'];
// หน่วยเงิน
$currency = $_SE... |
<?php
namespace App\Factories;
use App\Config;
use App\Exceptions\InvalidConfiguration;
use App\HiddenFiles;
use Closure;
use DI\Container;
use PHLAK\Splat\Glob;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
class FinderFactory
{
/** @var Container The application container */
... |
<?php
use Laravel\Lumen\Testing\DatabaseMigrations;
use Laravel\Lumen\Testing\DatabaseTransactions;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testExample()
{
$data = [
'title' => 'MyArticle',
'co... |
<?php return array (
'root' =>
array (
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'aliases' =>
array (
),
'reference' => '4f3acecf1fdd9472ce99cd1ab6f9aa89a070785f',
'name' => 'laravel/laravel',
),
'versions' =>
array (
'arcanedev/log-viewer' =>
array (... |
<?php
namespace Ekyna\Bundle\MailingBundle\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\HttpFoundation\Request;
/**
* Class RunCommand
* @package Ekyna\Bundle\MailingBundle... |
<?php include "includes/db.php"; ?>
<?php include "includes/headerlogin.php"; ?>
<!-- Navigation -->
<?php include "includes/navigationlogin.php"; ?>
<!-- Page Content -->
<div class="container">
<div class="row">
<!-- Blog Entries Column -->
<div class="col-md-8">
... |
<?php
namespace Controller;
use ItePHP\Core\Controller;
use ItePHP\Component\Form\TextField;
use ItePHP\Component\Form\FileField;
use Formatter\PdfEditorFormFormatter;
use ItePHP\Exception\ValueNotFoundException;
use ItePHP\Provider\Response;
use Formatter\BasicGridFormatter;
use Manager\BasicDataManager;
use Formatte... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito... |
@extends('layouts.admin_master')
@section('title','About')
@section('content')
<main class="mdl-layout__content ">
<div class="mdl-grid ui-tables">
<div class="mdl-cell mdl-cell--12-col-desktop mdl-cell--12-col-tablet mdl-cell--4-col-phone">
<div class="mdl-card mdl-shadow--2dp">
... |
<?php
namespace Kendo\Dataviz\UI;
class DiagramShapeConnectorDefaultsHoverStroke extends \Kendo\SerializableObject {
//>> Properties
/**
* Defines the hover stroke color.
* @param string $value
* @return \Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsHoverStroke
*/
public function color($valu... |
<?php namespace BattleAPI\Game\BF4;
use BattleAPI\Client;
use BattleAPI\Game\Platform;
use BattleAPI\Response\JsonResponse;
class Report
{
/** @var string */
protected $id;
/** @var Platform */
protected $platform;
/**
* @param string $reportId
* @param Platform $platform
*/
p... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Proyecto extends Model
{
protected $table = 'proyecto';
protected $hidden = [
'remember_token',
];
/**
* Get the usuario.
*/
public function usuario()
{
return $this->belongsTo('App\User', 'id_user'... |
<?php
/*
* This file is part of the Cocorico package.
*
* (c) Cocolabs SAS <contact@cocolabs.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cocorico\CoreBundle\Admin;
use Cocorico\CoreBundle\Entity\Booking;
use Co... |
<?php
$vendorDir = dirname(__DIR__);
return array (
'yiisoft/yii2-bootstrap' =>
array (
'name' => 'yiisoft/yii2-bootstrap',
'version' => '2.0.3.0',
'alias' =>
array (
'@yii/bootstrap' => $vendorDir . '/yiisoft/yii2-bootstrap',
),
),
'kartik-v/yii2-krajee-base' =>
array (
'na... |
<?php
use Illuminate\Foundation\Testing\DatabaseMigrations;
class CategoryAPITest extends TestCase {
use DatabaseMigrations;
/** @test */
public function it_shows_all_categories()
{
$category = factory(App\Category::class)->create();
$category2 = factory(App\Category::class)->create();
$this->get('/api/c... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Keterangan_ika extends Model
{
//
protected $fillable = ['id','jumlah_anggota','jumlah_event','jumlah_angkatan'];
} |
<?php
declare(strict_types=1);
/*
* +----------------------------------------------------------------------+
* | ThinkSNS Plus |
* +----------------------------------------------------------------------+
* | Copyright (c) 2016-Present ZhiYiChuangXiang Technol... |
<?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... |
<?php
$con=mysqli_connect("localhost","root","","project");
if(mysqli_connect_errno()){
echo "Faild to connect".mysqli_connect_errno();
}
?> |
<?php
namespace App\Http\Livewire\Accounting;
use App\Models\Accounting\AccountKategori;
use Livewire\Component;
class MasterKategori extends Component
{
public $formKategori = [];
public $dataKategori;
protected $rules = [
'formKategori.nomorKategori'=>'required|integer|unique:accounting_katego... |
<?php
namespace KirkantaIndexing\Annotation;
use Doctrine\ORM\Mapping\Annotation;
/**
* @Annotation
* @Target("PROPERTY")
*/
class Translated extends BaseAnnotation
{
public $fallback = false;
} |
<?php
/**
* Created by PhpStorm.
* User: eduardo
* Date: 21/03/15
* Time: 18:35
*/
echo "{session: false}";
?> |
<?php
namespace SilenceDis\ObjectBuilder\Test\Fixture;
/**
* Class PrivatePropertiesObject
*
* @author Yurii Slobodeniuk <silencedis@gmail.com>
*/
class PrivatePropertiesObject
{
/**
* @var mixed
*/
private $property1;
/**
* @var string
*/
private $property2;
/**
* @r... |
@extends('frontend.layouts.app')
@section('title', app_name() . ' | ' . __('navs.general.home'))
@section('content')
<div class="row">
<div class="col">
<ul class="list-inline ">
<li class="list-inline-item">
<h4><a href="{{ route('frontend.auth.login') }}">Login</a></h4>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.