text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateRoomsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('rooms', function ... |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for Menu class
*
* @package PhpMyAdmin-test
*/
/*
* Include to test.
*/
use PMA\libraries\Menu;
use PMA\libraries\Theme;
require_once 'libraries/database_interface.inc.php';
require_once 'libraries/relation.lib.php';
require_once 'test/PMATestCase.php';... |
<?php
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
/**
* @Route("/api")
*/
class BriefController extends AbstractController
{
/**
* @Route("/formateurs/promotions/{id_promo}/groupe/{id_groupe}/briefs", name="show_brief_by_promoId_by_gr... |
<?php
/**
* Bruce Turner, Professor Ostrander, Spring 2019
* IT 328 Full Stack Web Development
* Dating III Assignment: use classes
* file: Member.php
* date: Friday, May 17 2019
* class Member
*
* Here I want to conform to the required PEAR coding standards from the git go
* " Apply PEAR Standards to your cla... |
<div class="myFormWizard">
<!-- Nav tabs -->
<ul class="nav nav-tabs nav-tabs-linetriangle nav-tabs-separator">
<li class="active">
<a data-toggle="tab" href="#NSEtab1"><i class="fa fa-info tab-icon"></i> <span>Basic Info</span></a>
</li>
<li class="">
<a data-tog... |
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
//session_start();
class Message extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->database();
/*cache control*/
$this->output->set_header('Cache-Control: no-store, no-ca... |
<?php declare(strict_types=1);
namespace Reconmap\Repositories;
use Reconmap\DatabaseTestCase;
use Reconmap\Models\Note;
class NoteRepositoryTest extends DatabaseTestCase
{
public function testInsert()
{
$note = new Note();
$note->user_id = 1;
$note->parent_type = 'project';
$note->... |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
</section>
<!-- Main content -->
<div class="container">
<div class="row">
<div class="col-sm-12 text">
<div class="form-bottom">
<!-- user gallery lis... |
@extends('layouts.app')
@section('content')
<main class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-lg-6">
<div class="card">
<h1 class="card-header">{{ __('Register') }}</h1>
<div class="card-body">
... |
@extends('layouts.dashboard-chart')
@section('content')
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="row top_tiles">
<a href="{{route('assets.index')}}">
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">... |
<div class="row">
<div class="col-md-12 col-lg-12">
<div class="mb-3 card">
<div class="card-header-tab card-header-tab-animation card-header">
<div class="card-header-title">
<i class="header-icon lnr-apartment icon-gradient bg-love-kiss"> </i>
Update
</div>
</div>... |
<?php
namespace Application\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* MlaArticlesPurchasing
*
* @ORM\Table(name="mla_articles_purchasing", indexes={@ORM\Index(name="mla_articles_purchasing_FK1_idx", columns={"article_id"}), @ORM\Index(name="mla_articles_purchasing_FK2_idx", columns={"vendor_id"}), @ORM\Index... |
@extends('layouts.main')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<... |
<div class="main-content">
<div class="main-content-inner">
<div class="page-content">
<div class="page-header">
<h1>
Manage Anomali
<small>
<i class="ace-icon fa fa-angle-double-right"></i>
Input Anomali
</small>
</h1>
</div>
<div cl... |
<?php
/**
* Enqueue API for consuming assets generated through @wpackio/scripts.
*
* @author Swashata Ghosh <swashata4u@gmail.com>
* @package WPackio\Enqueue
*/
namespace WPackio;
/**
* The primary API class for enqueuing assets using WordPress APIs.
*/
class Enqueue {
/**
* Output path relative to the root... |
<?php
include 'db.php';
$id = $_POST["id"];
$c->query("UPDATE pending_withdraw SET status='completed' WHERE id='" . $id . "'");
$row = $c->query("SELECT * FROM pending_withdraw WHERE id='" . $id . "'")->fetch_assoc();
$userID = $row["user_id"];
$amount = intval($row["amount"]);
$balance = intval($c->query("SELECT * FRO... |
<?php
namespace AppBundle\Controller;
use AppBundle\Entity\Comment;
use AppBundle\Entity\Product;
use AppBundle\Entity\UserProfile;
use AppBundle\Service\CommentService;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\Framework... |
<?php
namespace Bjit\Payment\Traits\Payjp;
use Bjit\Payment\Enums\CmnEnum;
use Bjit\Payment\Helpers\CmnHelper;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Payjp\Charge;
trait Paymentable
{
public function formatPaymentListInput($options)
{
... |
<?php
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$user = App\User::create([
'name' => 'coldfire',
'email' => 'leandrouti@yahoo.com.br',
'pa... |
<body id="app-container" class="menu-sub-hidden">
<nav class="navbar fixed-top">
<a href="#" class="menu-button d-none d-md-block">
<svg class="main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 17">
<rect x="0.48" y="0.5" width="7" height="1" />
<rect x="0.48" y="7.5" width="7"... |
<?php
namespace Blok\Modules\Commands;
use Illuminate\Support\Str;
use Blok\Modules\Support\Config\GenerateConfigReader;
use Blok\Modules\Support\Stub;
use Blok\Modules\Traits\ModuleCommandTrait;
use Symfony\Component\Console\Input\InputArgument;
class RequestMakeCommand extends GeneratorCommand
{
use ModuleComm... |
<?php
namespace CodeCommerce\Http\Controllers;
use CodeCommerce\Category;
class AdminCategoriesController extends Controller
{
private $categories;
public function __construct(Category $category)
{
$this->categories = $category;
}
public function index() {
$categories = $thi... |
<?php
$date = new DateTime('2000-01-01');
$date->add(new DateInterval('P10D'));
echo $date->format('Y-m-d') . "\n";
$date = date_create('2000-01-01');
date_add($date, date_interval_create_from_date_string('10 days'));
echo date_format($date, 'Y-m-d'); |
@extends("OneStopService_Child.master")
@section('title', 'Visa Approved Candidates')
@section('DataTableCss')
<!-- DataTables -->
<link href="{{ asset('assets/plugins/datatables/jquery.dataTables.min.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('assets/plugins/datatables/buttons.bootstrap.min.cs... |
<?php
namespace App\Http\Controllers\AdminPanel;
use App\Http\Controllers\Controller;
use App\Models\Menu;
use App\Repositories\Contracts\MenuRepositoryInterface;
use Illuminate\Http\Request;
class MenuController extends Controller
{
private $menuRepository;
public function __construct(MenuRepositoryInterfa... |
<footer class="footer">
<div class="container-fluid clearfix">
<span class="text-muted d-block text-center text-sm-left d-sm-inline-block">Copyright © 2019 <a
href="https://github.com/albrimpaqarizi/Laravel-Shopping-App" target="_blank">PHT</a>. All
rights reserved.</span>
... |
<x-app-layout>
<form class="container p-5 my-5 bg-white shadow-lg rounded-lg" action="{{route('categorias.store')}}" method="POST">
<div class="d-flex align-items-center justify-content-center"><h3 class="display-4 inline-block">Crear Categoria</h3></div>
<hr>
<ul class="text-danger p-3">
... |
<?php
/**
* Copyright 1999-2017 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (GPL). If you
* did not receive this file, see http://www.horde.org/licenses/gpl.
*
* @author Chuck Hagenbuch <chuck@horde.org>
* @package Kronolith
*/
require_once __DIR__ . '/lib/Appli... |
<?php
namespace App\Http\Livewire\User;
use App\Models\Order;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Livewire\Component;
class UserOrderDetailsComponent extends Component
{
public $order_id;
public function mount($order_id)
{
$this->order_id = $order_id;
... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\admin\models\Category */
/* @var $images string */
$this->title = 'Update Category: ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Categories', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $mod... |
<?php namespace ProcessWire;
/**
* ProcessWire Templates
*
* WireArray of Template instances as used by Templates class.
*
* ProcessWire 3.x, Copyright 2016 by Ryan Cramer
* https://processwire.com
*
*/
class TemplatesArray extends WireArray {
public function isValidItem($item) {
return $item instanceof T... |
<!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') }}</tit... |
<?php /** @file */
// post categories and "save to file" use the same item.file table for storage.
// We will differentiate the different uses by wrapping categories in angle brackets
// and save to file categories in square brackets.
// To do this we need to escape these characters if they appear in our tag.
use Zo... |
<?php
namespace Topoff\LaravelUserLogger\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
/**
* Class Session
*
* @package Topoff\LaravelUserLogger\Models
*/
class Session extends Model
{
/**
* Neces... |
<?= "<?php\n" ?>
namespace <?= $namespace; ?>;
use App\Entity\<?= $entity; ?>;
use App\Form\<?= $entity; ?>Type;
use Baldeweg\Bundle\ApiBundle\AbstractApiController;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\R... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
namespace app\modules\asset\models\base;
use kartik\daterange\DateRangeBehavior;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\behaviors\BlameableBehavior;
/**
* This is the base model class for table "room_booking".
*
* @property integer $id
* @property string $booking_by
* @property integer $roo... |
@extends('admin._layouts.details')
@section('main')
<h2>Edit property <a href="{{ URL::route('admin.properties.create') }}" class="btn btn-success"><i class="icon-plus-2"></i> Add new property</a></h2>
{{
Notification::showAll() }}
@if ($errors->any())
<div class="alert alert-dan... |
<?php
/*
* Input: Nhập số áo trong của hàng: n
* Process: $n = (float)$_POST['n']
$da_ban = $n * 1/6
$con_lai = $n - $da_ban
* Output: Số áo còn lại $con_lai
*/
$error = [];
$n = $da_ban = $con_lai = null;
if(isset($_POST['submit'])){
if(!isset($_POST['n']) || empty($_POST['n'])){
$error[] = 'Nhập số á... |
<?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
namespace Database\Seeders;
use App\Models\PaymentPlatform;
use Illuminate\Database\Seeder;
class PaymentPlatformSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
PaymentPlatform::create([
'nombre'=>'... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class CheckUserType
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Http\Response;
use App\Traits\Restable;
abstract class BaseRequest extends FormRequest
{
use Restable;
/**
* Custom message for forbidden requests.
*/
protected $forbidden_message = 'User not authoriz... |
<?php
namespace App\Http\Controllers\Api\Staff;
use App\Http\Controllers\Controller;
use Auth;
use Illuminate\Support\Facades\Hash;
use Validator;
use App\Models\User;
class DetailsController extends Controller
{
public function index()
{
$authId = Auth::id();
$staff = User::with(['w... |
@extends('layout.index')
@section('container')
<div class="col-md-12 col-sm-12 box-akun">
<div class="x_content">
<div class="row">
<div class="col-sm-12 content-akun">
<h3>Kelola <span class="title">Wisata</span></h3>
<div class="col-md-6... |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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/afl-3.0.php
* If you did not receive a... |
<?php
/**
* The header for our theme.
*
* @package QOD_Starter_Theme
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link... |
<?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
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*/
bx_import('BxTemplCalendar');
class BxSitesCalendar extends BxTemplCalendar
{
var $_oDb, $_oTemplate, $_oConfig;
function BxSitesCalendar($iYear, $iMonth, $oSites)
{
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Home extends CI_Controller{
public function __construct()
{
parent::__construct();
//Codeigniter : Write Less Do More
$this->load->model(array('Cafe_model'));
}
function index()
{
$this->load->view('layouts/head');
... |
<?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Core\Tests\Bridge\Doctrine\Orm\Fi... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Linkedmall\V20180116\Models;
use AlibabaCloud\SDK\Linkedmall\V20180116\Models\QueryOrderDetailInnerResponseBody\model;
use AlibabaCloud\Tea\Model;
class QueryOrderDetailInnerResponseBody extends Model
{
/**
* @var strin... |
<?php
namespace App\Interfaces;
interface PaginationInterface
{
/**
* IPagination constructor.
* @param int $currentPage
* @param int $onPage
*/
public function __construct(int $currentPage, int $onPage);
/**
* @return int
*/
public function getCurrentPage(): int;
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
class BlogController extends Controller
{
//
public function index()
{ $name = '我是默默';
return view('blog/index')->with('name' , $name);
}
} |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\helpers\ArrayHelper;
use yii\grid\GridView;
use kartik\widgets\FileInput;
use kartik\widgets\Select2;
use yii\widgets\Pjax;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\MenuSearch */
/* @var $dataProvider yii\data... |
@extends('admin.layout.index')
@section('content')
<!-- Page Content -->
<div id="page-wrapper" style=" margin-left: 210px>
<div class=" container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Books
<small>Danh sách</small>
</h... |
<?php
namespace AlibabaCloud\Vod;
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getUserData()
* @method $this withUserData($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getVideoId()
... |
<?php
namespace Interfaces;
defined('BASEPATH') or exit('No direct script access allowed');
interface iHttpMethods {
function __construct();
function index();
function get(int $id);
function post();
function put(int $id);
function delete(int $id);
} |
@extends('layouts.app')
@section('title', 'Subjects')
@section('content')
<div class="row">
<div class="col-md-5">
<h3 class="modal-title">{{ $result->total() }} {{ str_plural('Question', $result->count()) }} </h3>
</div>
<div class="col-md-7 page-action text-right">
... |
@extends('layouts.app')
@section('title', trans('orders.title'))
@section('content')
<div class="row justify-content-center">
<div class="col">
<div class="card">
<div class="card-header d-sm-flex justify-content-between">
<h5 class="mb-0 py-1">@lang('orders... |
<?php
declare(strict_types=1);
namespace spec\AdminPanel\Symfony\AdminBundle\DependencyInjection\Compiler;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;
class TwigGlobalsPassSpec extends ObjectBeha... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateGamesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('games', function ... |
@extends('layouts/master')
@section('title', 'Buscador - Ferremax')
@section('main')
<div class="button-item">
<input type ='button' data-toggle="button" aria-pressed="false" autocomplete="off" class="btn btn-warning" value = 'Nuevo Producto' onclick="location.href = '{{ Route('newProduct') }}'"/>
</div>
<... |
<?php
/**
* StoreApiTest
* PHP version 5
*
* @category Class
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for ... |
<?php
return [
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [
'log' => [
'targets' => [
[
'class' => 'yii\log\DbTarget',... |
<?php
namespace App\Http\Middleware;
use Closure;
use Session;
class SetLocale
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// dd(Sessi... |
<?php
namespace Oro\Bundle\SearchBundle\Event;
use Oro\Bundle\SearchBundle\Query\Query;
use Symfony\Contracts\EventDispatcher\Event;
/**
* Event which is triggered before search query is executed and gives possibility to adjust search query.
*/
class BeforeSearchEvent extends Event implements SearchQueryAwareEvent... |
<?php
use yii\helpers\Html;
use kartik\widgets\ActiveForm;
use yii\helpers\Url;
use kartik\grid\GridView;
use yii\widgets\Pjax;
//print_r($primary_key);
//$check_count = count($primary_key);
//$index_pk = ( --$check_count);
//for($i=0,$i<=$check_count,$i++){
//
//}
$this->title = "REP_OPCS";
$this->params['breadcr... |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace Afosto\Sdk\Exception;
class SelectSessionShippingWindowInternalServerErrorException extends \RuntimeException implements ServerException
{
private $error;
public function __construct(... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH . '/libraries/REST_Controller.php';
use Restserver\Libraries\REST_Controller;
require APPPATH . 'libraries/Format.php';
class Kelas extends REST_Controller {
function __construct() {
parent::__construct();
$this->load... |
@extends('frontend.layouts.app')
@section('content')
<main>
<!-- Whats New Start -->
<section class="whats-news-area pt-50 pb-20">
<div class="container">
<div class="row">
<div class="col-lg-8">
<h1 class="text-center mb-3" style="color: #002e5b">{{$categor... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... |
<?php
namespace Allsoftware\SymfonyKernelTabler\Entity;
use Allsoftware\SymfonyKernelTabler\Attribute\QuillMention;
use Allsoftware\SymfonyKernelTabler\Entity\Traits\EntityRolesTrait;
use Doctrine\ORM\Mapping as ORM;
use Allsoftware\SymfonyKernelTabler\Model\UserInterface as TablerUserInterface;
use Symfony\Component... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Comment extends Model
{
public function post(){
return $this->belongsTo('App\Blog');
}
} |
@if (count($errors))
<div class="form-group">
<div class="alert alert-danger" style="width: 50%;">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
</div>
@endif |
<?php
namespace Datallio\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
abstract class Request extends FormRequest
{
//
} |
<?php
declare(strict_types=1);
namespace TypeScript\Command;
use Cake\Console\Arguments;
use Cake\Console\Command;
use Cake\Console\ConsoleIo;
use Cake\Console\ConsoleOptionParser;
use Cake\Console\Exception\ConsoleException;
use Cake\Core\Configure;
use Cake\ORM\Table;
use Cake\ORM\TableRegistry;
use Cake\Utility\In... |
@extends('layouts.app')
@section('content')
{!! Form::open(['url' => 'auth/login']) !!}
{!! csrf_field() !!}
<div class="form-group">
{!! Form::label('title','メールアドレス:') !!}
{!! Form::text('email','',['value' => "{{ old('email') }}",
'class' => 'form-control',
'placeholder'... |
<?php
/**
* Left sidebar check
*
* @package understrap
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
?>
<?php if ( 'left' === $sidebar_pos || 'both' === $sidebar_pos ) : ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'left... |
<?php
namespace App\Events;
use App\Events\Event;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
class QuoteCreated extends Event
{
use SerializesModels;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(... |
@extends('layouts.app')
@section('content')
<div class="auth-fluid">
<!--Auth fluid left content -->
<div class="auth-fluid-form-box">
<div class="align-items-center d-flex h-100">
<div class="card-body">
<!-- Logo -->
... |
<?php
/**
* A class for logging
*
* @author Lasse Birnbaum Jensen, SDU.
* @author Andreas Åkre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
* @package SimpleSAMLphp
* @version $ID$
*/
class SimpleSAML_Logger_LoggingHandlerFile implements SimpleSAML_Logger_LoggingHandler
{
/**
* This array contain... |
<?php
/**
* Handles settings functionality.
*
* @package Members
* @subpackage Admin
* @author Justin Tadlock <justintadlock@gmail.com>
* @copyright Copyright (c) 2009 - 2018, Justin Tadlock
* @link https://themehybrid.com/plugins/members
* @license http://www.gnu.org/licenses/old-licenses/gpl-... |
<?php
declare(strict_types=1);
namespace Zinvapel\Basis\OpenApiAssertionBundle\Proto\Transform\Assert\Transformer;
use Zinvapel\Basis\OpenApiAssertionBundle\Proto\Dto\ProtoAssertDto;
final class Collection implements TransformerInterface, TransformerAwareInterface
{
private TransformerInterface $transformer;
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Variable extends Model
{
/**
* Get the workflow that owns this variable
*/
public function workflow()
{
return $this->belongsTo('App\Workflow');
}
} |
<?php
namespace App\Interfaces;
interface ICategoryRepository extends IBaseRepositories
{
public function myStore($request);
public function myUpdate($request,$id);
} |
<?php
namespace rsanchez\Deep\Hydrator;
use Illuminate\Support\Collection;
/**
* Collection of Dehydrators
*/
class DehydratorCollection extends Collection
{
/**
* Throw an exception if attempting to push a Hydrator without specifying type
*/
public function push($value)
{
throw new \... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport">
<title>Forgot Password — Stisla</title>
<!-- General CSS Files -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/boots... |
<?php
declare(strict_types=1);
namespace byrokrat\banking;
use byrokrat\banking\Exception\InvalidAccountNumberException;
/**
* @covers \byrokrat\banking\PlusgiroFactory
*/
class PlusgiroFactoryTest extends \PHPUnit\Framework\TestCase
{
public function testCreatePlusgiro()
{
$this->assertSame(
... |
<?php
namespace App\Http\Controllers;
use App\Company;
use App\Department;
use App\Employee;
use App\Section;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class EmployeeController extends Controller
{
public function get_data(){
$companies_data = Company::all();
$departments_da... |
<?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
declare(strict_types=1);
use Behatch\Context\RestContext as BaseRestContext;
/**
* RestContext.
*/
class RestContext extends BaseRestContext
{
/**
* @param $method
* @param $url
* @param array $params
* @param array $files
* @param array $headers
*/
public function sendR... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Customer extends Model
{
use HasFactory;
protected $table = 'sm_customer';
public $timestamps = false;
protected $fillable = [
'NumberCard',
'Bank',
... |
<?php
namespace Easybill\ZUGFeRD\Model\Trade;
use JMS\Serializer\Annotation\SerializedName;
use JMS\Serializer\Annotation\Type;
use JMS\Serializer\Annotation\XmlElement;
class MonetarySummation
{
/**
* Total amount of all invoice positions.
*
* @var Amount
* @Type("Easybill\ZUGFeRD\Model\Trad... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit40bdadd8885609637959d316ab041a86
{
public static $files = array (
'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
'a4a119a56e50fb... |
<?php
/*
* @package Extly Infrastructure Support
*
* @author Extly, CB. <team@extly.com>
* @copyright Copyright (c)2012-2021 Extly, CB. All rights reserved.
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*
* @see https://www.extly.com
*/
namespace Extly\Infr... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRequerimientosClinicosTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('requerimientos_clinicos', function(Blueprint $table)
{
$tabl... |
<?php
namespace frontend\modules\cm_material_library;
/**
* cm_material_library module definition class
*/
class Module extends \yii\base\Module
{
/**
* {@inheritdoc}
*/
public $controllerNamespace = 'frontend\modules\cm_material_library\controllers';
public $layout = '@frontend/views/lay... |
<?php
#
# $Id: welcome.php,v 1.2 2006-12-17 12:06:19 dan Exp $
#
# Copyright (c) 1998-2003 DVL Software Limited
#
header( "HTTP/1.1 410 Gone" );
require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/common.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/freshports.php');
require_once($_SERVER['D... |
<?php
require_once "WxPay.Exception.php";
require_once "WxPay.Data.php";
require_once "WxPay.Config.php";
require_once "WxPay.Notify.php";
/**
*
* 接口访问类,包含所有微信支付API列表的封装,类中方法为static方法,
* 每个接口有默认超时时间(除提交被扫支付为10s,上报超时时间为1s外,其他均为6s)
* @author widyhu
*
*/
class WxPayApi
{
/**
* SDK版本号
* @var string
*/
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.