text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Controllers;
use App\Customer;
use http\Env\Response;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
class CustomerController extends Controller{
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index(){
... |
<?php
namespace Riclep\StoryblokForms\Blocks;
class LsfForm extends \Riclep\Storyblok\Block
{
/**
* Returns all the validation rules for the fields in this Form
*
* @return array
*/
public function validationRules() {
$rules = [];
$this->fields->each(function ($field) use (&$rules) {
$rules = array_... |
<div class="w-100 mx-auto p-5 ">
<div class="row m-0 align-items-center">
<div class="col bg-white border p-5">
@if(isset($forms) && isset($forms['create']))
<form enctype="multipart/form-data" method="{{$forms['create']['method']}}" action="{{$forms... |
<?php
/**
* Load Interface
*
* @package Astoundify
* @subpackage ModuleLoader
* @since 1.0.0
*/
interface Astoundify_ModuleLoader_LoadInterface {
public function load();
public function is_loaded();
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('settings', fun... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Models\Message;
use Commercetools\Api\Models\Message\OrderMessageCollection;
use Commercetools\Exception\InvalidArgumentException;
use stdClass;
/**
* @extends OrderMessageCollection<ParcelI... |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'fname', 'l... |
<?php $this->load->view('home/komponen/header');?>
<?php $this->load->view('home/komponen/navbar');?>
<link rel="stylesheet" type="text/css" href="<?= base_url('assets/')?>styles/blog_styles.css">
<link rel="stylesheet" type="text/css" href="<?= base_url('assets/')?>styles/blog_responsive.css">
<!-- Home -->
<div cl... |
@extends($layout)
@section('stylesheets')
<link rel="stylesheet" href="/packages/zebra_datepicker/public/css/bootstrap.css" type="text/css">
@stop
@section('scripts')
<script type="text/javascript" src="/packages/zebra_datepicker/public/javascript/zebra_datepicker.js"></script>
<script type="text/javascript" src="/pa... |
<?php
namespace xframe\Database;
trait count {
/**
* count query function
*
*/
function count() {
$this->clean();
$this->query_type = "COUNT";
return $this;
}
} |
<?php
use Mockery as m;
class CacheMemcachedConnectorTest extends PHPUnit_Framework_TestCase {
public function tearDown()
{
m::close();
}
public function testServersAreAddedCorrectly()
{
$connector = $this->getMock('Illuminate\Cache\MemcachedConnector', array('getMemcached'));
$memcached = m::mock('stdC... |
<?php
/**
* EasyRdf
*
* LICENSE
*
* Copyright (c) 2012-2013 Nicholas J Humfrey. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above c... |
<?php
namespace App;
use DB;
use Illuminate\Database\Eloquent\Model;
class Settings extends Model
{
protected $table = 'settings';
protected $fillable = ['content','cookie','upload_user','wallet_id','wallet_id_hash','wallet_address'];
public static function getSettings()
{
return DB::table('... |
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Edit Member</h1>
</div>
<div class="col-md-6 offset-md-3">
<?php echo form_open('admin/si... |
<?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... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Display Debug backtrace
|--------------------------------------------------------------------------
|
| If set to TRUE, a backtrace will be displayed along with php err... |
<?php
namespace App\Http\Controllers;
use App\Board;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Auth;
use App\Http\Resources\BoardResource;
class BoardsController extends Controller
{
public function upBoard(Request $request)
{
$board = Board::wher... |
<?php
$this->pageTitle = $detail['title'].' - '.$this->pageTitle;
?>
<div class="content-inside-about prelatif">
<div class="clear h140"></div>
<div class="prelatif container padding-left-30">
<div class="left breadcumb"><a href="<?php echo CHtml::normalizeUrl(array('home/index')); ?>">Home</a> > <a href="<?php... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ingrediente extends Model
{
protected $table='ingredientes';
public $primaryKey = 'nombreIngrediente';
public $incrementing = false;
protected $fillable = ['nombreIngrediente', 'cantidad'];
public $timestamps = false;
} |
<?php
$link = mysqli_connect('localhost', 'root', '','school');
session_start();
$classname = $_POST['classname'];
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$parts = explode('=', $actual_link);
$value = $parts[count($parts) - 1];
$class_id = $value;
$query = mysqli_query($link, "DELE... |
<?php
namespace App\Http\Middleware;
use App\User;
use Closure;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
use Modules\Booking\Models\Booking;
use Modules\Car\Models\Car;
use Modules\Car\Models\CarTranslat... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class M_saran extends CI_Model
{
function __construct()
{
parent::__construct();
}
function lihatdatasatu($id_saran)
{
$this->db->select("tb_saran.*");
$this->db->where("tb_saran.id_s... |
<?php |
<?php require('insertBook.php');
require('template/foundationHeader.php');
?>
<body>
<!--Book Cover and info-->
<?php $isbn13 = $_GET['isbn13'];
$lexile = $_GET['lexile'];
$userId = $loggedInUser->user_id;
?>
<div class="row panel">
<div class="row">
<div class="large-3 small-5 columns"><img sr... |
<li class="col-span-1 flex flex-col bg-white shadow overflow-hidden rounded-lg w-full">
<div class="px-4 py-5 sm:px-6">
<h3 class="text-lg leading-6 font-medium text-gray-900">
General Information
</h3>
<p class="mt-1 max-w-2xl text-sm text-gray-500">
Overview of the ... |
<?php
/**
* @author LeonamDias <leonam.pd@gmail.com>
* @package PHP
*/
namespace EvenOrOdd;
use EvenOrOdd\Players\PlayerBase;
use EvenOrOdd\Players\Winner;
class Result
{
/**
* @var \EvenOrOdd\Players\Winner
*/
private $winner;
/**
* @var \EvenOrOdd\Players\PlayerBase[]
*/
pri... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Barang_masuk;
use App\Detail_penjualan;
use Faker\Generator as Faker;
$factory->define(Detail_penjualan::class, function (Faker $faker) {
return [
'barcode' => Barang_masuk::inRandomOrder()->first()->barcode,
'jumlah' ... |
<?php
namespace Concrete\Core\Updater\Migrations\Migrations;
use Concrete\Core\Application\UserInterface\Dashboard\Navigation\NavigationCache;
use Concrete\Core\Page\Page;
use Concrete\Core\Updater\Migrations\AbstractMigration;
use Concrete\Core\Updater\Migrations\RepeatableMigrationInterface;
final class Version202... |
<?php
/* @var $this \yii\web\View */
echo "hello module test action";
$this->beginBlock("child");
echo "child view";
$this->endBlock(); |
<?php
namespace App\Http\Controllers\Product;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class ProductAttributeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
... |
<?php
namespace Pails\Console\Commands\Make;
use Pails\Console\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
class ListenerCommand extends Command
{
protected $name = 'make:listener';
protected $description = '创建Listener. Listener 是Phalcon事件的监听程... |
@extends('admin.layouts.master')
@section('content')
<div id="main-content">
<div class="wrapper">
<div class="col-sm-12 ">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header ">Sửa sản phẩm</h1>
</div>
</div>
... |
<?php
require_once '../../../classes/CreateDocx.php';
$docx = new CreateDocx();
// custom options
$latinListOptions = array();
$latinListOptions[0]['type'] = 'lowerLetter';
$latinListOptions[0]['format'] = '%1.';
$latinListOptions[1]['type'] = 'lowerRoman';
$latinListOptions[1]['format'] = '%1.%2.';
// create the li... |
<?php
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. T... |
<?php
namespace Database\Seeders;
use App\Models\Admin;
use Faker\Factory as Faker;
use Illuminate\Database\Seeder;
class AdminsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// Faker to generat dummy names.
$fake... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class VehiclezMaintenanceType extends Model
{
protected $table = 'Vehicle_z_MaintenanceType';
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
/**
* CustomerDataCustomerInterfaceTest
*
* PHP version 5
*
* @category Class
* @package SpringImport\Swagger\Magento2\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Magento Enterprise
*
* No description provided (generated by Swagger Code... |
<?php
namespace OrmBench\Provider;
use Doctrine\ORM\Tools\Setup;
use Doctrine\ORM\EntityManager;
use OrmBench\Doctrine\Models\Posts;
use Doctrine\Common\Cache\ArrayCache;
class Doctrine extends AbstractProvider
{
private $em;
public function setUp()
{
$proxyDir = null;
$cache = null;
... |
<?php
function init_hook() {
add_theme_support( 'post-thumbnails' );
}
add_action('init', 'init_hook');
function my_theme_enqueue_styles() {
wp_enqueue_style( 'bootstrap', '//stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css' );
wp_enqueue_style( 'reward', get_template_directory_uri() . '/rew... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
table {
border-collapse: collapse;
margin: auto;
margin-bottom: 1rem;
width: 96%;
}
#roster td,th{
border: 1px solid black;
}
</style>
<title></title>
... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Emr\V20160408\Models;
use AlibabaCloud\SDK\Emr\V20160408\Models\ListDiskOpsEventsResponseBody\eventList;
use AlibabaCloud\Tea\Model;
class ListDiskOpsEventsResponseBody extends Model
{
/**
* @var eventList
*/
p... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<base href="/">
<meta charset="utf-8">
<meta name="theme-color" content="#799938">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1... |
<div class="form-group">
{{ Form::label('name', 'Nombre de la Categoria') }}
{{ Form::text('name', null, ['class'=>'form-control', 'id'=>'name']) }}
</div>
<div class="form-group">
{{ Form::label('slug', 'URL Amigable') }}
{{ Form::text('slug', null, ['class'=>'form-control', 'id'=>'slug', 'readonly']) }}
</... |
<?php
namespace App;
use \Eloquent;
class Tag extends eloquent
{
protected $fillable = [
'name',
];
public function products()
{
return $this->belongsToMany('App\Product');
}
} |
<?php
use Phalcon\Db\Column;
use Phalcon\Db\Index;
use Phalcon\Db\Reference;
use Phalcon\Migrations\Mvc\Model\Migration;
/**
* Class RoleMigration_100
*/
class RoleMigration_100 extends Migration
{
/**
* Define the table structure
*
* @return void
*/
public function morph()
{
... |
<?php
namespace App\Http\Requests\Region;
use Illuminate\Foundation\Http\FormRequest;
class RegionUpdateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
@extends('layouts.main')
@section('title', 'Lab Report')
@section('header')
@include('inc.header')
@endsection
@section('sidebar')
@include('inc.sidebar')
@endsection
@section('content')
<div class="uk-grid" data-uk-grid-margin data-uk-grid-match id="user_profile">
<div class="uk-width-large-10... |
@extends('components.master')
@section('content')
@include('_publish_tweet_panel')
@include('_timeline')
@endsection |
<?php
/******************************************************************************
**
** action script related to Rater
** Action to count votes and display message
*/
/******************************************************************************
** must run within Dokuwiki
**/
if(!defined('DOKU_INC')) define('D... |
<?php
namespace App\Http\Controllers;
use App\Photo;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\Session;
class AdminMediasController extends Controller
{
//
public function index(){
$photos = Photo::all();
return view('admin.media.index', compact('photos'));... |
<?php return explode(' ','chu ky gi li zi lhi pho mi o ren li ghy te ba gi ju ba pa pen pen sy du dzwy ghon che du lwa no shwa u tsha chha se a khu phy se ten a tsu tsu rer tsu len tsu khy lhwe chwa then ly ly tshi o bwe ma ner twin ba lwa khe nga norn te ta rir la nga sa du swe ti te le ngwir bu ze len tsur phu bon ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<t... |
<?php
namespace App\Http\Controllers;
use BotMan\BotMan\BotMan;
use App\Conversations\MatchsConversation;
class BotManController extends Controller
{
public function __construct() {
}
/**
* Place your BotMan logic here.
*/
public function handle()
{
\Debugbar::disable();
... |
<?php
namespace Taskforce\Models;
use Taskforce\Exceptions\PermissionException;
use Taskforce\Models\Actions\AbstractAction;
use Taskforce\Models\Actions\CancelAction;
use Taskforce\Models\Actions\CompleteAction;
use Taskforce\Models\Actions\RefuseAction;
use Taskforce\Models\Actions\RespondAction;
class Task
{
... |
<?php
use Paynl\Merchant;
class MerchantTest extends PHPUnit_Framework_TestCase
{
private $testApiResult;
private function setDummyData($filename)
{
$filename = __DIR__ . '/dummyData/Merchant/' . $filename;
$this->testApiResult = file_get_contents($filename);
$curl = ne... |
@extends('include.front')
@section('content')
<!-- .header-banner @e --></header><main class="nk-pages"><section class="section bg-white"><div class="container"><div class="nk-block nk-block-blog"><div class="row"><div class="col-12"><div class="blog-details"><div class="row justify-content-center"><div class="col-xl-... |
@extends('layaout.plantilla')
@section('title', "Curso de $curso")
@section('content')
<h1>Bienvenido al curso de {{$curso->name}}</h1>
<a href="{{route('cursos.edit', $curso)}}" class="btn">Editar curso</a>
<p>{{$curso->category}}</p>
<p>{{$curso->description}}</p>
<form action={{route('cursos.... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAddressesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('addresses', f... |
<?php
namespace App\Repository;
use App\Entity\SiteProperty;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @method null|SiteProperty find($id, $lockMode = null, $lockVersion = null)
* @method null|SiteProperty findOneBy(array $criteria, array... |
<?php
// Replace this with your own email address
$siteOwnersEmail = 'chayandas0308@gmail.com';
if($_POST) {
$name = trim(stripslashes($_POST['contactName']));
$email = trim(stripslashes($_POST['contactEmail']));
$subject = trim(stripslashes($_POST['contactSubject']));
$contact_message = trim(stripslas... |
<?php
/**
* RepositoryListEmbeddedTest
*
* PHP version 5
*
* @category Class
* @package OpenAPI\Server\Tests\Model
* @author openapi-generator contributors
* @link https://github.com/openapitools/openapi-generator
*/
/**
* Cloud Manager API
*
* This API allows access to Cloud Manager programs, pipel... |
@php echo "<?php"
@endphp
namespace App\Http\Requests\Admin\{{ $modelWithNamespaceFromDefault }};
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Facades\Gate;
class Index{{ $modelBaseName }} extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
... |
<?php
namespace App\Controllers;
use App\Models\Url;
class Home extends BaseController
{
public function index()
{
$urls = (new Url)->findAll();
return view('welcome_message', compact('urls'));
}
public function short($slug)
{
$url = (new Url)->where('slug', $slug)->first... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php',
'App\\Http\\Controllers\\Con... |
<?php
namespace app\demo\controller;
use think\Controller;
use app\demo\model\Admin;
use think\Cookie;
/**
* 后台登录
* **/
class Login extends Controller
{
//首页
public function index()
{
$this->view->engine->layout(false);
return $this->fetch();
}
//管理员登录
public function login()... |
<?php
include('include/header.php');
include('include/sidebar.php');
include('data/student_model.php');
$search = isset($_POST['search']) ? $_POST['search']: null;
$student = $student->getstudent($search);
?>
<div id="page-wrapper">
<div class="container-fluid">
<!-- Page Heading ... |
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . '/brewsoft/mvc/app/core/ConnectionTestDatabase.php';
class Connectiontest
{
public function testOpenConnectionAmount($desiredAmount)
{
$connArray = array();
$connectionString = "Connection #";
for ($i = 0; $i <= $desiredAmount; $i++) {
... |
@extends('main')
@section('validation')
<link rel="stylesheet" href="../../css/parsley.css">
@endsection
@section('content')
<section>
<div id="agileits-sign-in-page" class="sign-in-wrapper">
<div class="agileinfo_signin">
<h3>Sign Up</h3>
<form action="{{ route('register') }}" method="post" data-par... |
<?php
/**
* Template part for displaying page content in page.php.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Deep_Happiness
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
... |
<?php
namespace App\Http\Controllers;
class SmsServiceSolacerBd
{
function __construct()
{
}
public function messagesent($number, $mg){
$to = $number;
$token = "bf36c442e14f6b721c416a1988322952";
$message = $mg;
// $message = "হ্যালো, SolacherBD ওটিপি (OTP) কোডঃ 126589... |
<?php
namespace MairieVoreppe\DemandeTravauxBundle\Entity;
/**
* EmplacementReseauOuvrageRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class EmplacementReseauOuvrageRepository extends \Doctrine\ORM\EntityRepository
{
} |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\MainController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your applicatio... |
<?php
error_reporting(0);
include "../config/koneksi.php";
$id_user = $_POST['id_user'];
$username = $_POST['username'];
$pass = md5($_POST['password']);
$pass2 = md5($_POST['password2']);
$nama_lengkap = $_POST['nama_lengkap'];
$alamat = $_POST['alamat'];
$no_hp = $... |
<?php
namespace Concrete\Core\Attribute\Key;
use Concrete\Core\Foundation\Object;
use Concrete\Core\Attribute\Type as AttributeType;
use Concrete\Core\Attribute\Key\Category as AttributeKeyCategory;
use Concrete\Core\Database\Schema\Schema;
use Gettext\Translations;
use Package;
use Core;
use User;
use Database;
use ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateEmployeeTaskConnectionTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterCarsTableAddAttachment extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('cars', ... |
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Bro... |
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
use yii\helpers\Url;
use app\models\Category;
$this->registerCssFile('https://use.fontawesome.com/releases/v5.5.0/css/all.css', [
'integrity' => 'sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU',
'crossorigin' => 'anonymous',
... |
<x-guest-layout>
<x-jet-authentication-card>
<x-slot name="logo">
<x-jet-authentication-card-logo />
</x-slot>
<x-jet-validation-errors class="mb-4" />
<form method="POST" action="{{ route('register') }}">
@csrf
<div>
<x-jet-labe... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User;
use Faker\Generator as Faker;
use Illuminate\Support\Str;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This... |
<?php
namespace Former\Framework;
use Former\Interfaces\FrameworkInterface;
use Former\Traits\Field;
use Former\Traits\Framework;
use HtmlObject\Element;
use Illuminate\Container\Container;
use Illuminate\Support\Str;
/**
* The Twitter Bootstrap form framework
*/
class TwitterBootstrap extends Framework implements ... |
<?php
namespace Hacklee\Umeng\Ios;
use Exception;
use Hacklee\Umeng\IOSNotification;
class IOSCustomizedcast extends IOSNotification
{
public function __construct()
{
parent::__construct();
$this->data["type"] = "customizedcast";
$this->data["alias_type"] = null;
}
public fu... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Service extends Model
{
//
protected $fillable = ['nombres', 'estado'];
} |
<?php
/*
* Copyright (C) 2014-2015 Deciso B.V.
* Copyright (C) 2008 Shrew Soft Inc. <mgrooms@shrew.net>
* Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>
* Copyright (C) 2014 Ermal Luçi
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
@extends('layouts.app')
@section('title', 'Produk Masuk')
@section('content')
<x-data-table title="Produk Masuk" :items="$users"/>
@endsection |
<?php
namespace Zugy\Checkout;
use App\Address;
use App\Coupon;
use App\Exceptions\Coupons\CouponExpiredException;
use App\Exceptions\Coupons\CouponNotStartedException;
use App\Exceptions\Coupons\CouponOrderMinimumException;
use App\Exceptions\Coupons\CouponUsedException;
use App\PaymentMethod;
use App\User;
use Carb... |
<?php
namespace Dizatech\Notifier\Abstracts;
use Dizatech\Notifier\Contracts\DriverInterface;
abstract class Driver implements DriverInterface
{
public $driver;
public function __construct($driver)
{
$this->driver = $driver;
}
abstract public function send($userId, $templateId, $params... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>LAB Poltek | Dashboard</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="<?php ... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2018, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\models\SubjectSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Subjects';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="subject-index box box-p... |
<?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.
*/
namespace app\modules\app433\services;
use yii\data\Pagination;
use yii\db\Query;
class ReportService {
private function... |
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.4.36 on 2018-11-15 14:40:00.
*
* This file should not be included in your code, only analyzed by your IDE!
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/larave... |
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Tests\Functional\Platform\ColumnTest;
use Doctrine\DBAL\Platforms\OraclePlatform;
use Doctrine\DBAL\Tests\Functional\Platform\ColumnTest;
final class Oracle extends ColumnTest
{
protected function setUp(): void
{
parent::setUp();
$this-... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class AcademicYear extends Model
{
protected $fillable=[
'id',];
} |
<?php
use yii\widgets\LinkPager;
$this->title = '活动数据';
?>
<div>
<a class="btn btn-success" target="_blank" href="/admin/site/export">导出</a>
<br/>
<br/>
</div>
<table class="table table-striped">
<tr>
<th>#</th>
<th>学生姓名</th>
<th>手机号码</th>
<th>申请时间</th>
<th>IP地址... |
<?php
use Illuminate\Database\Seeder;
use eien\Acl\Role;
class RoleSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Role::create([
'name' => 'Super User',
'slug' => 'root',
'description' => 'Fu... |
<?php
/**
* Created by Dumitru Russu.
* Date: 01.05.2014
* Time: 15:47
* OmlManager\ORM\Console${NAME}
*/
namespace OmlManager\ORM\SchemaEntitiesGenerator;
use OmlManager\ORM\Drivers\DriversConfig;
use OmlManager\ORM\Drivers\DriverManagerConnection;
abstract class Generator {
public $dataBaseName;
public $s... |
<?hh // strict
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
namespace Facebook\AutoloadMap\TestFixtures;
enum ExampleEnum: string {
FOO = 'bar';
H... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOrcamentosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orcamentos',... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.