text
stringlengths
2
1.03M
<?php namespace common\models\product\repositories; use common\models\{ product\ProductEntity, product_price\ProductPriceEntity, product_feedback\ProductFeedbackEntity, user_product_favorite\UserProductFavoriteEntity, product_city\ProductCityEntity, city\CityEntity }; use Yii; use yii\data\ArrayDataProvider; ...
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:104:"/Users/jxq1225/workspace/phpcode/amkj_shop/public/../application/admin/view/recruit/workforce/index.html";i:1595943126;s:85:"/Users/jxq1225/workspace/phpcode/amkj_shop/application/admin/view/layout/default.html";i:1588765311;s:82:"/Users/jxq1225/workspace/phpcode/...
<?php /** * Prototype Engine Helper for JsHelper * * Provides Prototype specific JavaScript for JsHelper. Requires at least * Prototype 1.6 * * PHP 5 * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed unde...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use T...
<?php namespace AlibabaCloud\DataworksPublic; /** * @method string getProjectEnv() * @method string getProjectName() * @method string getBizDate() * @method string getFlowName() * @method string getDagParameters() * @method string getNodeParameters() */ class RunManualDagNodes extends Rpc { /** * @par...
<?php /** * Copyright (c) 2010-2017 Arne Blankerts <arne@blankerts.de> * 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...
<?php namespace App\Http\Controllers\Api; use App\Clases\Utilitat; use App\Models\Incidencies; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Http\Controllers\Controller; use Illuminate\Database\QueryException; use App\Http\Resources\IncidenciesResource; use App\Models\Incidencies_has_recurso...
<?php /** * @package yii2-nestable * @author Simon Karlen <simi.albi@gmail.com> */ namespace simialbi\yii2\nestable\actions; use Yii; use yii\base\Action; use yii\base\InvalidConfigException; /** * Make node a root node and move node after node context * * @throws InvalidConfigException * @since 3.0 */ class...
<?php namespace App\Http\Controllers\API\Download; use App\Models\Playlist; use Download; use Exception; use Illuminate\Auth\Access\AuthorizationException; use Symfony\Component\HttpFoundation\BinaryFileResponse; class PlaylistController extends Controller { /** * Download all songs in a playlist. * ...
<?php /** * Webino (http://webino.sk) * * @link https://github.com/webino/WebinoDraw for the canonical source repository * @copyright Copyright (c) 2012-2017 Webino, s. r. o. (http://webino.sk) * @author Peter Bačinský <peter@bacinsky.sk> * @license BSD-3-Clause */ namespace WebinoDraw\Manipul...
<?php namespace App\Models; use App\Models\Contrato; use App\Models\NotaFiscal; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; class Empenho extends Model { use HasFactory; public $timestamps = false; protected $fillable = ['numEmpenho', 'anoEmpenho', 'emi...
<?php declare(strict_types=1); namespace Rector\Tests\Autodiscovery\Rector\FileNode\MoveValueObjectsToValueObjectDirectoryRector\Source\ValueObject; use Rector\Tests\Autodiscovery\Rector\FileNode\MoveValueObjectsToValueObjectDirectoryRector\Source\ObviousValueObjectInterface; final class SomeName implements Obvious...
<?php namespace App\Command\Utils; use App\Entity\User; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Security\Core\Encoder\UserPasswordEnc...
<?php declare(strict_types=1); namespace Symplify\PHPStanRules\Matcher; use Nette\Utils\Arrays; /** * @see https://gist.github.com/kyledseever/3014950 */ final class SharedNamePrefixMatcher { /** * @param string[] $values * @return array<string, string[]> */ public function match(array $val...
<?php use yii\db\Migration; /** * Handles the creation of table `tokens`. * Has foreign keys to the tables: * * - `users` */ class m181126_101321_create_tokens_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable('tokens', [ 'id'...
<?php namespace App\Exports; use App\Product; use Illuminate\Support\Str; use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Writer\Xlsx; use PhpOffice\PhpSpreadsheet\Style; class ProductsExport { static $products; static $fileName; static $spreadsheet; static $sheet; static ...
<?php namespace App\Http\Controllers; use App\Helper; use App\User; use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\View\Factory; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\Support\Facades\Auth; use Illuminate\Support\...
<?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 /* * 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 /** * Copyright © 2019 Zemez. All rights reserved. * See COPYING.txt for license details. */ namespace Zemez\ThemeOptions\Block\Config; use \Zemez\ThemeOptions\Helper\Data; use \Magento\Framework\Config\FileResolverInterface; use \Magento\Framework\Config\ConverterInterface; use \Magento\Framework\Config\Sch...
<?php namespace Swiftmade\Blogdown\Http\Controllers; use Swiftmade\Blogdown\PostsRepository; class PostsController { private $posts; public function __construct(PostsRepository $posts) { $this->posts = $posts; } public function index() { $posts = $this->posts->all() ...
<!DOCTYPE html> <html lang="en"> <?php $this->load->view("_partials/head.php") ?> <body class=""> <?php $this->load->view("_partials/sidebar.php") ?> <div class="main-content"> <?php $this->load->view("_partials/navbar.php") ?> <!-- Header --> <div class="header pb-8 pt-5 pt-md-8 d-flex align-items-ce...
<?php namespace Database\Seeders; use App\Models\Data; use Illuminate\Database\Seeder; class DataSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Data::create([ 'countryname'=>'try', 'stock_quantity'=>200...
<?php Class SituationTableSeeder extends Seeder{ public function run(){ DB::table('situations')->insert(array( 'nombre' => 'Activo', )); DB::table('situations')->insert(array( 'nombre' => 'Historico', )); DB::table(...
<?php namespace Drupal\Tests\migrate_drupal\Kernel; use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase; /** * Test that no dummy migrate_map tables are created. * * @group migrate_drupal */ class IdMapTableNoDummyTest extends MigrateDrupal6TestBase { /** * The migration plugin manager. * ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Post; class PostsController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $posts = Post::orderby('created_at', '...
@extends('master') @section('content') <div class=" custom-product "> <div class="col-sm-10"> <div class="trending-wrapper"> <h4>Result for Product</h4> <a class="btn btn-success" href="ordernow">Order Now</a> <br><br> @foreach($products as $item) <div class="row searched item cart-list-devider"> <div cla...
<?php $this->load->view('admin/partials/admin_header.php'); ?> <div class="right_col" role="main"> <div class=""> <div class="page-title"> <div class="title_left"> <h3>Sold Vehicles</h3> </div> </div> <div class="clearfix"></div> <hr> ...
<?php declare(strict_types=1); /** * Spiral Framework. * * @license MIT * @author Anton Titov (Wolfy-J) */ namespace Spiral\Framework\Validation; use Spiral\Framework\BaseTest; use Spiral\Validation\ValidationInterface; use Spiral\Validation\ValidatorInterface; class ConditionTest extends BaseTest { pu...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use App\Models\PedidoProduct as Pedidos; use App\Models\Farmacia; use App\Models\Produto; use App\Models\Pedido; use App\User; use DB; class HomeController extends Controller { /** * Create a new controll...
<?php if ($this->UserModel->getLevel($idname) > 3){ $paramName = $this->input->post('paramName'); $paramValue = $this->input->post('paramValue'); $r = $this->SystemParamModel->set($paramName, 'm_value', $paramValue); echo ($r) ? 'Update success !' : 'Update fail'; }
<?php namespace Tests\Feature\Http\Controllers\Api; use App\Models\Category; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Testing\TestResponse; use Tests\TestCase; class CategoryControllerTest extends TestCase { use DatabaseMigrations; private $category; protected function setUp...
<?php namespace Landekhovskii\OzmaConnector; use Symfony\Component\HttpClient\HttpClient; use Symfony\Component\Cache\Adapter\FilesystemAdapter; use Symfony\Contracts\HttpClient\Exception; use Psr\Cache\InvalidArgumentException; /** * Class Landekhovskii\OzmaConnector\Auth * @author Evgenii Landekhovskii <evgenii...
<?php use Helpers\OAuth2Helper; include_once '../../vendor/autoload.php'; $uri = parse_url($_SERVER['REQUEST_URI'])['path']; try { // allowed for anonymous $publicRoutes = require '../routes/public.php'; // protected $protectedRoutes = require '../routes/protected.php'; if ('/' === $uri) { ...
<?php namespace BitmovinApiSdk\Models; use Carbon\Carbon; use BitmovinApiSdk\Common\ObjectMapper; class AkamaiNetStorageInput extends Input { /** @var string */ public $host; /** @var string */ public $username; /** @var string */ public $password; public function __construct($attribut...
<?php namespace App; use Illuminate\Database\Eloquent\Model; /* Laravel fournit une implémentation simple pour interagir avec la basse de données Chaque table de la base de données a un Modèle associé pour interagir avec la table concernée. La class Post a pour objectif d'intéragir avec la table de la base donnée po...
<!DOCTYPE html> <html class="dark" lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Carbon\Carbon; class RolesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('roles')->insert([ [ 'role_name' => "Admin", ...
<!DOCTYPE html> <!--author: Matheus Leite student#: 200350070--> <html lang="en"> <head> <meta charset="UTF-8"> <title>Lab 1</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSI...
<?php /** * Dokan Dashboard Template * * Dokan Main Dashboard template for Fron-end * * @since 2.4 * * @package dokan */ ?> <?php do_action( 'dokan_dashboard_wrap_start' ); ?> <div class="dokan-dashboard-wrap"> <?php /** * dokan_dashboard_content_before hook ...
<?php namespace reddtica\Http\Controllers; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; class Controller extends BaseController { use AuthorizesR...
<?php namespace spec\SlartyBartfast; use PhpSpec\ObjectBehavior; use SlartyBartfast\MyCommand; class MyCommandSpec extends ObjectBehavior { public function it_is_initializable(): void { $this->shouldHaveType(MyCommand::class); } }
<?php declare (strict_types=1); namespace RectorPrefix20211201\Symplify\EasyTesting\ValueObject; final class InputAndExpected { /** * @var string */ private $input; private $expected; /** * @param mixed $expected */ public function __construct(string $input, $expected) { ...
@extends('lazy-view::layout') @section('content') {{-- 主页示例 --}} <div class="row wrapper wrapper-content animated fadeInRight"> <div class="col-lg-4"> <div class="ibox float-e-margins"> <div class="ibox-title"> <h5>按钮颜色</h5> <div class="ibox-tools"> ...
<?php use yii\db\Migration; /** * Class m180301_184229_init_tables */ class m180303_184229_indexes extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createIndex('posts_average_rate', 'posts', 'average_rate'); $this->createIndex('posts_author_ip', 'pos...
@extends('layouts.page.index') @section('content') <div class="page-head"> <div class="container"> <div class="row"> <div class="page-head-content"> <h1 class="page-title">PROPIETARIOS EN Alquiler</h1> </div> ...
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (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 PHPUnit\Framework; use Iterator; use IteratorAggregate; ...
<?php namespace App\Http\Controllers\Admin\Projects; use App\Http\Controllers\Admin\Controller; use App\Models\Clients\Clients; use App\Models\Projects\ProjectImages; use App\Models\Solutions\Solutions; use App\Models\StaticData\StaticData; use App\Providers\ImageServiceProvider as imageHandle; use Illuminate\Http\Re...
<?php use yii\helpers\Html; use yii\db\Query; $this->title = 'Add Property'; $this->params['breadcrumbs'][] = $this->title; if(Yii::$app->user->isGuest) { header('Location: ?r=user/login'); } else { if(isset($_GET['name']) && !empty($_GET['name']) ) { $con = Yii::$app->db; $id = Yii::$app->user->getId(); $co...
<?php namespace addons\RfMerchants\wechat\controllers; use Yii; use common\controllers\AddonsController; /** * 默认控制器 * * Class DefaultController * @package addons\RfMerchants\wechat\controllers */ class BaseController extends AddonsController { /** * @var string */ public $layout = "@addons/RfMer...
<?php namespace App\Models\Notifications; use App\Http\Resources\UserRechargeOrderResource; use App\Models\UserRechargeOrder; use Illuminate\Support\Str; class RechargeOrderSuccessNotification extends BaseNotification implements INotification { public bool $forced = true; public bool $socket = true; ...
<?php namespace MensaBattle\APIBundle\Controller; use Symfony\Component\HttpFoundation\ResponseHeaderBag; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class AlbumController extends Controller { /** ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateBlogsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('blogs', function ...
<?php namespace worstinme\zoo\elements\system\meta_keywords; use Yii; class Behavior extends \worstinme\zoo\elements\BaseElementBehavior { public function rules() { return [ [$this->attribute,'string', 'max'=>255], ]; } }
<?php namespace App\Http\Controllers; use App\Models\Product; class HomeController extends Controller { /** * Show the start page. * * @return \Illuminate\Contracts\Support\Renderable */ public function index() { $products = Product::where('category_id', '!=', 7) ...
<?php defined('BASEPATH') OR exit('No direct Script allowed'); class M_matapelajaran extends CI_Model{ function tampil_data(){ return $this->db->get('m_matapelajaran'); } //Mencari siswa dengan CI public function get_product_keyword($keyword){ $this->db->select('*'); $this-...
<?php declare(strict_types=1); namespace Cycle\ORM\Entity\Behavior\Tests\Functional\Driver\SQLServer\UpdatedAt; // phpcs:ignore use Cycle\ORM\Entity\Behavior\Tests\Functional\Driver\Common\UpdatedAt\ListenerTest as CommonClass; /** * @group driver * @group driver-sqlserver */ class ListenerTest extends CommonCla...
<?php class DatastoreException extends Exception { } ?>
<?php namespace App\Http\Requests\Admin\Subject; use Illuminate\Foundation\Http\FormRequest; class DestroySubjectRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } ...
<?php include('conexion.php'); if (isset($_REQUEST['id_rep'])) { $id = $_REQUEST['id_rep']; } else { $id = ""; } //ELIMINAMOS EL PRODUCTO mysqli_query($conexion,"DELETE FROM repuestos WHERE id_rep = '$id'"); //ACTUALIZAMOS LOS REGISTROS Y LOS OBTENEMOS $registro = mysqli_query($conexion,"SELECT * FROM repuestos OR...
<?php include ('./include/admin/header.php');?>
<?php $id = $this->session->id; $query = $this->db->get_where('usuarios', array('id' => $id), 1); $usuario = $query->row(); //print_r($usuario); ?> <!-- Main Sidebar Container --> <aside class="main-sidebar sidebar-dark-primary elevation-4"> <!-- Brand Logo --> <a href="<?= base_url(); ?>" class="brand-lin...
<?php include_once '../assets/conn/dbconnect.php'; // Get the variables. $id = $_POST['id']; // echo $appid; $delete = mysqli_query($con,"DELETE FROM doctorschedule WHERE scheduleId=$id"); // if(isset($delete)) { // echo "YES"; // } else { // echo "NO"; // }
<?php namespace Magister\Http\Controllers; use Magister\Evalua; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Validator; use Magister\Tesis; use Magister\Tribunal; use Magister\Conforman; use Magister\Alumno; use Magis...
<?php /** * Тестирование ядра базовых классов. * Этот пакет содержит набор тестов для ядра баззовых классов. * * @package App.Tests.Models * @since 1.0 * @version 1.0 */ namespace App\Tests\Models\Validators; use Tests\TestCase; use App\Models\Validators\PhoneValidator; /** * Тестирование: Классы для валидац...
<?php /** PHPExcel root directory */ if (!defined('PHPEXCEL_ROOT')) { /** * @ignore */ define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); } /** * PHPExcel_Reader_Excel2007 * * Copyright (c) 2006 - 2015 PHPExcel * * This library is fre...
<?php namespace HybridauthTest\Hybridauth\User; use Hybridauth\User\Contact; class ContactTest extends \PHPUnit\Framework\TestCase { public function test_instance_of() { $contact = new Contact; $this->assertInstanceOf('\\Hybridauth\\User\\Contact', $contact); } public function test_...
<div class="page-header"> <h1>Bagikan Dokumen</h1> </div> <div class="row"> <div class="col-md-9"> <form action="<?php echo base_url();?>pegawai/input_discovery" method="post" enctype="multipart/form-data" > <?php foreach($pengguna->result() as $row){?> <input type="hidden" name="ni...
<?php $categoriesMenu = App\Models\Categories::where('mode','on')->orderBy('name')->take(6)->get(); $categoriesTotal = App\Models\Categories::count(); ?> <div class="btn-block text-center showBanner padding-top-10 padding-bottom-10" style="display:none;">{{trans('misc.cookies_text')}} <button class="btn btn-sm btn-suc...
<script src="{{ asset('/js/vue.js') }}"></script> <script src="{{ asset('/js/axios.js') }}"></script> <script src="{{ asset('/js/jquery.min.js ') }}"></script> <!-- Bootstrap core JavaScript ================================================== --> <!-- Placed at the end of the document so...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Rekaptulasi extends MY_Controller { public function __construct() { parent::__construct(); $this->load->model('m_kelas'); $this->load->model('m_ujian'); $this->load->model('m_tugas'); } public function index() { ...
<?php /** * @package AcyMailing for Joomla! * @version 5.5.0 * @author acyba.com * @copyright (C) 2009-2016 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?>
<?php namespace Test; use PHPUnit_Framework_TestCase; abstract class HatpickTest extends PHPUnit_Framework_TestCase { }
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Workflow\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for DeleteVerkDataPrintResponse StructType * @subpackage Structs */ class DeleteVerkDataPrintResponse extends AbstractStructBase { }
<?php namespace App\Http\Resources\Admin; use Illuminate\Http\Resources\Json\JsonResource; class BairroResource extends JsonResource { public function toArray($request) { return parent::toArray($request); } }
<?php namespace RectorPrefix20210828; if (\class_exists('Tx_Extbase_Service_FlexFormService')) { return; } class Tx_Extbase_Service_FlexFormService { } \class_alias('Tx_Extbase_Service_FlexFormService', 'Tx_Extbase_Service_FlexFormService', \false);
<?php namespace CarlosOCarvalho\Elasticsearch; /** * Class Request * @package CarlosOCarvalho\Elasticsearch */ class Request { /** * Get the request url * @return string */ public static function url() { $server = $_SERVER; $ssl = (!empty($server['HTTPS']) && $server['...
<?php namespace App\Http\Controllers; use App\Work; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; use App\User; class WorkController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
@foreach(['success', 'warning', 'danger'] as $status) @if (session($status)) <div class="alert alert-{{$status}} alert-dismissable costum-{{$status}}-box"> <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a> <strong>{{session($status)}}</strong> </div> @endif @endforeach
@extends('layout.menu') @section('content') @php setlocale(LC_TIME, 'fr', 'fr_FR', 'fr_FR.ISO8859-1'); @endphp <style> .titre{ background-image: linear-gradient(to left, #268956, #332F30); color:#fff; border-radius:20px; padding:0 10px; padding:10px; ...
<?php namespace Database\Seeders; use App\Models\RoomsCategory; use Illuminate\Database\Seeder; class RoomsCategorySeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { RoomsCategory::create(['tipo'=>'Doble','imagen' => 'img/room/roo...
<? $MESS["IDEA_SUBSCRIBE_TITLE"] = "Название"; $MESS["IDEA_SUBSCRIBE_STATUS"] = "Статус"; $MESS["IDEA_SUBSCRIBE_AUTHOR"] = "Автор"; $MESS["IDEA_SUBSCRIBE_PUBLISHED"] = "Опубликовано"; $MESS["IDEA_SUBSCRIBE_TOTAL"] = "Подписок"; ?>
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePaletteGroupChat extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('palette_gro...
<footer> <div class="container"> <div class="row"> <div class="col-lg-12"> <h2>FOOTER(footer.php) - remove this in production</h2> </div> </div> </div> </footer> <?php wp_footer(); ?...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Role extends Model { protected $table = "roles"; protected $fillable = [ 'name', 'slug', ]; public function users() { return $this->belongsToMany('App\User', 'user_role', 'role_id', 'user_id'); } publi...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; // ??? WHAT IS THIS? /** * The attributes that are mass assignable. ...
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. A...
<?php /** * View: Day Event * * Override this template in your own theme by creating a file at: * [your-theme]/tribe/events/v2/day/event.php * * See more documentation about our views templating system. * * @link {INSERT_ARTCILE_LINK_HERE} * * @version 5.0.0 * * @var WP_Post $event The event post object wit...
<?php namespace iMemento\Clients\Middleware; use GuzzleHttp\Psr7\Response; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use GuzzleHttp\Exception\RequestException; class ErrorMiddleware { protected $nextHandler; protected $mode; public function __construct(callable $next...
<!DOCTYPE html> <html lang="en"> <?php $this->load->view("home/head"); ?> <body> <?php $this->load->view('home/main_menu'); ?> <?php $this->load->view("home/fixed_navbar") ; ?> <div id="wrapper"> <div class="main-content"> <div class="row small-spacing"> <div class="col-lg-4 col-md-4 col-xs-12"> ...
<?php use App\Mail\ContactFormMailable; use App\Models\Comment; use App\Models\Post; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |---------------...
@extends('template.admin') @section('content') <div class="row"> <div class="col-lg-8 col-md-8 col-xs-12"> <h3> Listado de Buses <a href="bus/create"><button>Nuevo </button></a></h3> @include('bus.search') </div> </div> <div class="row"> <div class="col-...
<?php declare(strict_types=1); namespace App\GridMakers; use Illuminate\Database\Eloquent\Builder; use App\GridMakers\Concerns\UseEloquent; use App\GridMakers\Filter\FilterableKey; use App\GridMakers\Filter\FilterableKeysDict; use Illuminate\Database\Eloquent\Model; use Spatie\Activitylog\Models\Activity; class Act...
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (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 PHPUnit\Framework\MockObject\Stub; use PHPUni...
<?php namespace util; /* kplphp框架 https://gitee.com/JefferyCai/kplphp 测试 = 导入数据 */ class PHPCsv { /* kplphp框架 https://gitee.com/JefferyCai/kplphp line_number = 1 跳过第N行[开始],默认1第一行 file_name = 文件filename import_data = 导入数据[定义导入的字段] */ static public function importCsv($file_name,$...
<?php /** * @file * Contains Phagrancy\Http\Response\ScopeList */ namespace Phagrancy\Http\Response; /** * Scope JSON list response * * @package Phagrancy\Http\Response */ class ScopeList extends Json { public function __construct(array $scopes) { parent::__construct($scopes); } }
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/pubsub/v1/pubsub.proto namespace Google\Cloud\PubSub\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A snapshot resource. Snapshots are used in * [Seek...
<div class="panel-body"> <div id="experience-res"> </div> <form class="form-horizontal" id="experience-create" action="/seeker/employment" method="POST"> {{ csrf_field() }} <div class="row"> <div class="col-md-12"> <div class="form-group"> <label for="company" class="col-md-4 control-...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title>layout @yield('title') - Layui</title> <link rel="stylesheet" href="/admins/layui/css/layui.css"> <script src="/admins/layui/layui.js"></script> </head> <body class...
<?php namespace App\Sharp; use App\Feature; use App\Pilot; use App\Sharp\Filters\CorporationGlobalFilter; use App\Spaceship; use App\SpaceshipType; use Code16\Sharp\Exceptions\Form\SharpApplicativeException; use Code16\Sharp\Form\Eloquent\Uploads\Transformers\SharpUploadModelFormAttributeTransformer; use Code16\Sharp...