text
stringlengths
2
1.03M
<?php // +---------------------------------------------------------------------- // | Do what we can do // +---------------------------------------------------------------------- // | Date : 2020/5/22 - 8:44 下午 // +---------------------------------------------------------------------- // | Author: seebyyu <seebyyu@gma...
<?php namespace TennisGame; class TennisGame1 implements TennisGame { private $m_score1 = 0; private $m_score2 = 0; private $player1Name = ''; private $player2Name = ''; public function __construct($player1Name, $player2Name) { $this->player1Name = $player1Name; $this->player2...
@role($role) Test @endrole
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTasksTable extends Migration { public function up() { if (!Schema::hasTable('tasks')) { Schema::create('tasks', function (Blueprint $table) { ...
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2018/5/9 * Time: 11:18 */ namespace app\modules\mch\models\mch; use app\models\common\admin\order\CommonOrderSearch; use app\models\Goods; use app\models\Mch; use app\models\Order; use app\models\OrderDetail; use app\models\OrderRefund; use app\model...
<?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 PWCode\eBaySDK\Test\Trading\Enums; use PWCode\eBaySDK\Trading\Enums\BestOfferStatusCodeType; class Be...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title><?= $title; ?...
<?php class ImprimirController extends BaseController { public function __construct(){ $this->beforeFilter('auth'); } public function getCita($id){ //Declarar un arreglo para devolver los resultados. $parameter = array(); //Se instancian los objetos necesarios. $paciente = new Paciente; $condiciones =...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'BlockChyp\\' => array($vendorDir . '/blockchyp/blockchyp-php/lib'), );
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php declare(strict_types=1); namespace Roave\BetterReflection\Reflection\Adapter; use ReflectionNamedType as CoreReflectionNamedType; use Roave\BetterReflection\Reflection\ReflectionType as BetterReflectionType; class ReflectionNamedType extends CoreReflectionNamedType { private BetterReflectionType $betterRe...
<?php namespace App\Core\Category\Models; use App\Core\Advertisement\Models\Advertisement; use Illuminate\Database\Eloquent\Model; class Category extends Model { public $timestamps = false; public function advertisements() { return $this->hasMany(Advertisement::class); } }
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Linkvisual\V20180120\Models; use AlibabaCloud\Tea\Model; class DeleteRecordPlanDeviceResponseBody extends Model { /** * @var string */ public $requestId; /** * @var string */ public $errorMes...
<?php /*----------------------------------------------------------------- !!!!警告!!!! 以下为系统文件,请勿修改 -----------------------------------------------------------------*/ namespace app\ctrl\index; // 不能非法包含或直接执行 if (!defined('IN_GINKGO')) { return 'Access denied'; } class Index { public function __construct() { ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class Transferencia extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('transferencia', func...
<?php $view_name = $_GET['type']; $view_name_formatted = ucwords(str_replace('_', ' ', $_GET['type'])); $key = "12345"; /** CYZ VR: View Resources */ $resource_dir = get_admin_assets_dir_url(); ?> <div id="body-container" class="body-container transition bg-secondary"> <div class="body-content nice-scroll bg-ligh...
<?php namespace app\common\model; use think\Model; use think\Db; class Category extends Model{ //添加分类 public function add($data){ $data['status'] = 1; return Db::table('cy_category')->insert($data); } //获取一级分类信息 public function getNormalFirstCategory($bis_id){ $data = [ ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Theme extends Model { use HasFactory; protected $fillable = ['name', 'description']; }
<?php /** * WooCommerce Admin: Feature plugin main class. */ namespace Automattic\WooCommerce\Admin; defined( 'ABSPATH' ) || exit; use \Automattic\WooCommerce\Admin\Notes\Notes; use \Automattic\WooCommerce\Admin\Notes\HistoricalData; use \Automattic\WooCommerce\Admin\Notes\OrderMilestones; use \Automattic\WooComme...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use App\Models\Order; use App\Models\Branch; use App\Models\User; use App\Models\Location; use Carbon\Carbon; use StdClass; class OrderController extends Controller { public ...
<?php /** * Copyright 2002-2017 Horde LLC (http://www.horde.org/) * * See the enclosed file LICENSE for license information (BSD). If you * did not receive this file, see http://www.horde.org/licenses/bsdl.php. * * @author Chuck Hagenbuch <chuck@horde.org> */ class Hermes_Form_JobType_Add extends Horde_Form { ...
<?php // @formatter:off // phpcs:ignoreFile /** * A helper file for Laravel, to provide autocomplete information to your IDE * Generated for Laravel 9.4.1. * * 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/ba...
@extends('layouts.default') @section('title') 这是主页 @stop @section('content') <div class="jumbotron"> <h1>Hello Laravel</h1> <p class="lead"> 你现在所看到的是 <a href="https://laravel-china.org/courses/laravel-essential-training-5.5">Laravel 入门教程</a> 的示例项目主页。 </p> <p> ...
<?php namespace Egzaminer\Controller; use Egzaminer\Model\ExamsGroupModel; use Egzaminer\Themes\MaterialDesignLite; use Exception; use Twig_Environment; use Twig_Loader_Filesystem; abstract class AbstractController { /** * @var array */ private $container; /** * @var array */ pro...
<?php namespace Rubix\ML\Tests\Transformers; use Rubix\ML\Transformers\Stateful; use Rubix\ML\Transformers\Transformer; use Rubix\ML\Datasets\Generators\Blob; use Rubix\ML\Transformers\IntervalDiscretizer; use PHPUnit\Framework\TestCase; use RuntimeException; class IntervalDiscretizerTest extends TestCase { /** ...
@extends('layout') @section('content') <h2>SADAĻA 4</h2> <?php $arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5); echo json_encode($arr); ?> <br> <br> <?php ?> @stop
<?php namespace App\Tests\BasicRum\Layers\DataLayer\Query; use App\BasicRum\Periods\Period; use App\BasicRum\Filters\Secondary\QueryParam; use App\BasicRum\Layers\DataLayer\Query\MainDataSelect\DataRows; class QueryParamLikeTest extends DataLayerFixtureTestCase { /** * @group data_query */ public f...
<div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading"> <div class="panel-title">Data Guru</div> </div> <div class="panel-body"> <div id="table-toolbar"> <a id="btn-add" href="" class="btn btn-primary btn-sm"...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
<?php $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; class Prices extends Base { protected $table = 'prices'; /** * Specific method to get latest price * @param none * @return last price as double **/ public function getLastPrice() { $stmt = $this->mysqli->prepare("SELECT ...
<?php return [ /** * Returns required number of messages before notification is emailed */ 'notification' => [ 'crm_notify_from_messages' => getenv('CRM_NOTIFY_FROM_MESSAGES'), ], /** * Returns Twitter credentials from config file */ 'twitter_credentials' => [ ...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class testMail extends Mailable { use Queueable, SerializesModels; public $details; /** * Create a new message instance. * ...
<?php namespace App\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Http; use App\User; use App\Sensor; use App\Ratadata; class MasterController extends Controller { public function login() { return view ('login'); } public ...
<nav class="navbar navbar-expand-lg navbar-light bg-light"> <a class="navbar-brand" href="#">Blog</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></s...
<?php /** * The close view file of story module of ZenTaoPMS. * * @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com) * @license ZPL (http://zpl.pub/page/zplv12.html) * @author Chunsheng Wang <chunsheng@cnezsoft.com> * @package story ...
<?php namespace Rancherusermaker\Spout\Common\Helper; use Rancherusermaker\Spout\Common\Exception\IOException; /** * Class FileSystemHelper * This class provides helper functions to help with the file system operations * like files/folders creation & deletion */ class FileSystemHelper implements FileSystemHelper...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
<?php declare(strict_types=1); namespace Roave\BetterReflectionTest\SourceLocator\Exception; use PHPStan\BetterReflection\SourceLocator\Exception\TwoClosuresOnSameLine; use PHPUnit\Framework\TestCase; /** * @covers \PHPStan\BetterReflection\SourceLocator\Exception\TwoClosuresOnSameLine */ class TwoClosuresOnSameL...
<?php /** * @author Igor Ognichenko * @copyright Copyright (c)2007-2010 by Kasseler CMS * @link http://www.kasseler-cms.net/ * @version 2.0 */ if (!defined('ADMIN_FILE')) die("Hacking attempt!"); global $navi, $main, $break_load; $break_load=false; if(!empty($main->user['user_adm_modules']) AND !in_array($main->module...
@extends('layouts.simple.master') @section('title', 'Rangking Satker') @section('css') <link rel="stylesheet" type="text/css" href="{{asset('assets/css/vendors/date-picker.css')}}"> <link rel="stylesheet" type="text/css" href="{{asset('assets/css/vendors/tour.css')}}"> @endsection @section('style') @endsection @sec...
<?php namespace App\Http\Controllers; use App\Http\Requests\CreateBillCategoryRequest; use App\Http\Requests\UpdateBillCategoryRequest; use App\Http\Controllers\AppBaseController; use App\Models\BillCategory; use Illuminate\Http\Request; use Flash; use Response; class BillCategoryController extends AppBaseController...
<?php namespace Anax\View; /** * Template file to render a view for validateIp */ ?> <div class="container"> <p>Här kan du validera en ip-adress. Fyll i adressen och tryck på validera. Du kommer även få fram information om protokoll och domän.</p> <form method="post" class="form-inline"> <div class="fo...
@extends("layouts.master") @section("content") <div class="container body"> <div class="row"> @include("components.profile-and-cart") <div class="col-md-8 content"> <div class="row"> @if(Auth::user()) <div class="col-md-4 a...
<?php /** * Translates a number to a short alhanumeric version * * Translated any number up to 9007199254740992 * to a shorter version in letters e.g.: * 9007199254740989 --> PpQXn7COf * * specifiying the second argument true, it will * translate back e.g.: * PpQXn7COf --> 9007199254740989 * * this function ...
<?php namespace Faker\Test\Provider; use Faker\Generator; use Faker\Provider\HtmlLorem; use PHPUnit\Framework\TestCase; class HtmlLoremTest extends TestCase { public function testProvider() { $faker = new Generator(); $faker->addProvider(new HtmlLorem($faker)); $node = $faker->random...
@extends('layouts.backend.index') @section('content') <style type="text/css"> label.cabinet{ display: block; cursor: pointer; } .selected{ color: #90caf9; } .hidden{ display: none; } td{ text-align: center; } label.cabinet input.file{ position: relative; height: 100%; width: auto; opa...
<!-- Fonts and icons --> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" /> {{-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css"> --}} <!-- Material Ki...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateStyleLoginsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('style_login...
<?php $themeConfig = SimpleSAML\Configuration::getConfig('module_themeegi.php'); $enable_cookies_banner = $themeConfig->getValue('enable_cookies_banner'); if (!empty($this->data['htmlinject']['htmlContentPost'])) { foreach ($this->data['htmlinject']['htmlContentPost'] as $c) { echo $c; } } ?> </div><!...
<?php namespace Jane\AutoMapper\Transformer; use Jane\AutoMapper\Extractor\PropertyMapping; use Jane\AutoMapper\Generator\UniqueVariableScope; use PhpParser\Node\Arg; use PhpParser\Node\Expr; use PhpParser\Node\Name; use PhpParser\Node\Scalar\String_; /** * Transform a string to a \DateTimeInterface object. * * @...
<?php //namespace Illuminate\Contracts\Container; // //use Closure; //interface Container //{ // public function bound($abstract); // public function alias($abstract, $alias); // public function tag($abstracts, $tags); // public function tagged($tag); // public function bind($abstract, $concrete = null, ...
<?php use yii\db\Migration; /** * Handles the creation of table `{{%user}}`. */ class m200904_120625_create_user_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable('{{%user}}', [ 'id' => $this->primaryKey(), 'name' => ...
<?php /** * @package 3slab/VdmLibraryBundle * @copyright 2020 Suez Smart Solutions 3S.lab * @license https://github.com/3slab/VdmLibraryBundle/blob/master/LICENSE */ namespace Vdm\Bundle\LibraryBundle\Event; use Symfony\Component\Messenger\Event\AbstractWorkerMessageEvent; /** * Class CollectWorkerMessa...
@extends('layouts.app') @section('content') <section class="content-header"> </section> <section class="content"> <div class="row"> <div class="col-md-8"> <div class="box box-info"> <div class="box-header with-border"> <h3 class="box-title">Editar Detalles</h3> </div> {...
<?php namespace bunq\Model\Generated\Endpoint; use bunq\Http\ApiClient; use bunq\Http\BunqResponse; use bunq\Model\Core\BunqModel; use bunq\Model\Generated\Object\AttachmentMonetaryAccountPayment; use bunq\Model\Generated\Object\LabelUser; /** * Used to manage attachment notes. * * @generated */ class NoteAttachm...
<?php defined('SYSPATH') OR die('No direct script access.'); class Image_Imagick extends Kohana_Image_Imagick {}
<?php /** * Copyright (c) 2017 Rizky Kharisma (@ngengs) * * * 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 * * Unless required by ...
<?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...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class RankingPVP extends Model { protected $table = 'ranking_pvp'; protected $primaryKey = 'char_id'; public $timestamps = false; }
<?php namespace ByTIC\RestClient\Client; use ByTIC\RestClient\Client\Configuration\Configuration; use Psr\Http\Client\ClientInterface; /** * Class AbstractClient * @package ByTIC\RestClient\Client */ abstract class AbstractClient { use Traits\HasBasicOperations; use Traits\HasConfiguration; use Traits...
<div class="form-container"> <form> <div class="row"> <div class="col-md-6 mb-3"> <label for="input-referral-person" class="form-label">轉介者姓名</label> <input type="text" class="form-control" id="input-referral-person"> </div> <div class="col...
<?php namespace openacalendar\staticweb\models; use openacalendar\staticweb\config\Config; /** * * @package Core * @link http://ican.openacalendar.org/ OpenACalendar Open Source Software * @license http://ican.openacalendar.org/license.html 3-clause BSD * @copyright (c) 2015, JMB Technology Limited, http://jmbt...
<?php /** * Created by PhpStorm. * User: xuyan * Date: 2015/12/23 * Time: 21:39 */ include_once 'student_crawl_tools.php'; class student_announcement extends student_crawl_tools { /** * student_announcement constructor. */ public function __construct($cookie) { parent::__construct(...
<?php use cyneek\yii2\uploadBehavior\models\FileModel; use yii\db\Schema; class m141203_185519_fileModel extends \yii\db\Migration { public function up() { $tableOptions = NULL; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unic...
<?php namespace Api\Controller; use Think\Controller; class WxpayController extends BaseController { public function _initialize() { $wxPay = M('plugin')->where(array('type'=>'payment','code'=>'weixin'))->find(); if(!$wxPay){ $res = array('msg'=>'没有配置微信支付插件','status'=>-1); ...
<?php namespace SleepingOwl\Admin\Model; use Illuminate\Database\Eloquent\Model; use SleepingOwl\Admin\Contracts\Initializable; use SleepingOwl\Admin\Contracts\Form\FormInterface; use SleepingOwl\Admin\Contracts\Display\DisplayInterface; class SectionModelConfiguration extends ModelConfigurationManager { /** ...
@extends('admin.admin') @section('title') Add company @endsection @section('content') <div class="content"> <div class="block block-fx-shadow"> <div class="block-header bg-modern-dark text-center"> <h3 class="block-title text-white"> Add New company </h3> ...
<? $MESS["MPF_EDITOR"] = "Visual editor"; $MESS["MPF_EXTRANET_ROOT"] = "Extranet"; ?>
<?php /** * User: kit * Date: 17/10/15 * Time: 3:35 PM */ namespace AppBundle\Repository\Settings; use Doctrine\ODM\MongoDB\DocumentRepository; use AppBundle\Document\Settings\Weighting; class WeightingRepository extends DocumentRepository { /** * @param $name * @return Weighting|null */ ...
<?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 PWCode\eBaySDK\Trading\Types; /** * */ class ProPackEnabledDefinitionType extends \PWCode\eBaySDK\Ty...
<?php namespace eMapper\Query; use eMapper\Reflection\ClassProfile; /** * The Attr class represents an entity attribute. * @author emaphp */ class Attr extends Field { /** * Returns a new Attr instance * @param string $method * @param array $args * @return \eMapper\Query\Attr */ public static function ...
<?php /** * @link https://github.com/androphin/yii2-trumbowyg * @licence http://opensource.org/licenses/MIT MIT */ namespace androphin\yii2\extensions\trumbowyg\assets\langs; use androphin\yii2\extensions\trumbowyg\assets\LangAsset; /** * Mongolian translation Asset Bundle * * @since 1.0.0 */ class MnLangAs...
<?php /* * Copyright 2014 Google 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 * * Unless required by applicable law or agreed t...
<?php /* * The MIT License * * Copyright 2016 LengthOfRope, Bas de Kort <bdekort@gmail.com>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without l...
<?php /** * Copyright (c) Tony Bogdanov <tonybogdanov@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tests\DataTraveller\Path\Step\RegexStep; use DataTraveller\Path\Step\RegexStep; use PHPUnit\Framework\TestC...
<?php namespace app\components\telegrambot\Objects; use Illuminate\Support\Collection; /** * Class BaseObject * @package app\components\telegrambot\Objects */ abstract class BaseObject extends Collection { /** * Builds collection entity. * @param array|mixed $data */ public function __const...
<div class="main-content"> <div class="container-fluid"> <div class="page-header"> <div class="row align-items-end"> <div class="col-lg-12"> <div class="page-header-title" style="text-align: center;"> <div class="d-inline"> <h5>Survey List (Raw Data) <div id="bulan_name"...
<?php namespace App\Exceptions; use Exception; use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that should not be reported. * * @var array */ protec...
<?php declare(strict_types=1); namespace LinioPay\Idle\Message\Messages\Queue\Service\Google\CloudTasks; use Google\Cloud\Tasks\V2\CloudTasksClient; use Google\Cloud\Tasks\V2\HttpMethod; use Google\Cloud\Tasks\V2\HttpRequest; use Google\Cloud\Tasks\V2\Task; use LinioPay\Idle\Config\Exception\ConfigurationException; ...
<?php /** * Created by PhpStorm. * User: extnddthght * Date: 2019-04-11 * Time: 00:07 */
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateExperiencesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('experiences...
<?php namespace App\Shared\Domain\ValueObject; interface UuidInterface { public function equals(UuidInterface $other): bool; public function value(): ?string; public function __toString(): string; public static function create(); }
<?php namespace PYS\LolApi\Models; class CurrentLeaguePositionModel extends AbstractModel { /** * @var string */ public $queueType; /** * @var bool */ public $hotStreak; /** * @var int */ public $wins; /** * @var bool */ public $veteran; /** ...
@extends('layouts.admin') @section('content') <div id="item-detail"> <div class="card"> <div class="card-header"> <img src="{{ asset('images/item_'.$item->value['id'].'.jpg') }}" alt=""> </div> <div class="card-body"> <h4 class="h4">商品名</h4> {{ $item->value['name'] }} <h4 class=...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateActuacionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('actuacions',...
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'modules' => [ 'api' => [ 'class' => 'app\modules\api\Api', ], ], 'aliases' => [ '@bower'...
<?php if(!class_exists('Rain\Tpl')){exit;}?><div class="header bg-gradient-primary pb-8 pt-5 pt-md-8"></div> <div class="container-fluid mt--7"> <div class="row"> <div class="col-xl-12 mb-5 mb-xl-0"> <div class="card shadow"> <div class="card-header border-0"> <div class="row align-items-...
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @codingStandardsIgnoreFile namespace Magento\Shipping\Model\Carrier; use Magento\Quote\Model\Quote\Address\RateResult\Error; use Magento\Shipping\Model\Shipment\Request; /** * Class AbstractCarrier ...
<?php namespace Pantheon\Terminus\Models; use League\Container\ContainerAwareInterface; use League\Container\ContainerAwareTrait; use Pantheon\Terminus\Collections\Backups; use Pantheon\Terminus\Collections\Bindings; use Pantheon\Terminus\Collections\Commits; use Pantheon\Terminus\Collections\Domains; use Pantheon\Te...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Penduduk; use App\PendudukDetail; use App\Pendidikan; use App\Pekerjaan; class PendudukController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public functio...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddCountsheetDetailSeriesJson extends Migration { /** * Run the migrations. * * @return void */ public function up() { try { DB::b...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; // use App\Http\Controllers\Auth\Request; // use AuthenticatesUsers; use Illuminate\Http\Request; use App\User; class LoginController extends Controller { /* |-------------------...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. * @license http://codei...
<?php namespace App\Models; use App\Models\Categoria; use App\Models\Pedido; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\BelongsToMany; class Produto extends Model { // protected $fillable = [ 'categori...
<?php namespace guiaceliaca\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed ...
<?php declare(strict_types=1); use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePlanFeaturesTable extends Migration { /** * Run the migrations. * * @return void */ public function up(): void { Schema::create(config('rinvex.sub...
<?php namespace App\Http\Controllers; use App\Mail\forgotPassword; use Illuminate\Http\Request; use Illuminate\Support\Facades\Mail; class MailController extends Controller { public static function sendSignupEmail($name, $email, $verification_code){ $data = [ 'name' => $name, 'ver...
<?php declare(strict_types=1); /* * This file is part of Laravel Identicon. * * (c) Brian Faust <hello@basecode.sh> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Artisanry\Tests\Identicon; use GrahamCampbell\TestBen...
<?php declare(strict_types=1); namespace AbterPhp\Files\Validation\Factory; use Opulence\Validation\Factories\ValidatorFactory; use Opulence\Validation\IValidator; class FileCategory extends ValidatorFactory { /** * @return IValidator */ public function createValidator(): IValidator { ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Assumption Medical Diagnostic Center Inc. | Issued Supplies Invoice</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-s...