text
stringlengths
2
1.03M
<?php /** * Ignited Datatables * * This is a wrapper class/library based on the native Datatables server-side implementation by Allan Jardine * found at http://datatables.net/examples/data_sources/server_side.html for CodeIgniter * * @package CodeIgniter * @subpackage libraries * @category library * @ver...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Buyer; use App\Http\Controllers\ApiController; class BuyerController extends ApiController { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Tempatoleholeh; use Illuminate\Support\Facades\File; use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Exceptions\TempatoleholehException; use Illuminate\Support\Str; use DB; class TempatOlehOlehController extends Controller { ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class GeneralUserText extends Model { protected $table = 'gutext'; protected $primaryKey = "id"; public $timestamps = false; }
<?php /** * Model层-接口模块模型 * @author 王远庆 <[562909771@qq.com]> */ namespace app\common\model; use think\Model; use think\Db; class DevapiModule extends Base { //默认主键为id,如果你没有使用id作为主键名,需要在此设置 protected $pk = 'id'; public function formatWhereDefault($model,$parame){ if (isset($parame['search']) && ...
@extends('layouts.template') @section('title') @parent :: Home @stop @section('styles') .inputleft{ margin-left:470px; } .inputleft-2{ margin-left:504px; } .inputright{ margin-left:1019px; } .inputright-2{ margin-left:1054px; } .inputright-3{ margin-left:985px; } .inputright-4{ margin-left:952px; }...
<?php /** * MIT License * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace Spryker\Zed\MerchantOmsDataImport; use Generated\Shared\Transfer\DataImporterConfigurationTransfer; use Spryker\Zed\DataImport\DataImportConfig; class MerchantOmsDataImpor...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBusinessAddressesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('busin...
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents an issue template. */ echo wfView::create('scanner/issue-base', array( 'internalType' => 'postBadTitle', 'displayType' => __('Post', 'wordfence'), 'iconSVG' => '<svg viewBox="0 0 20 20"><rect x="0" fill="none" width="20" height="20"/><g><path d="M10...
@extends('layouts.backend.mastar') @section('title') slider @endsection @section('css') @endsection @section('content') <!--start index --> <div class="row"> <div class="col-md-12 mb-30"> <div class="card card-statistics h-100"> <div class="card-body"> ...
<?php namespace App\Http\Requests\Backend\Package; use Illuminate\Foundation\Http\FormRequest; use App\Rules\FilterStringRule; use App\Models\Product\Product; class UpdatePackageRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ ...
<?php /** * Created by PhpStorm. * User: adam * Date: 03/10/15 * Time: 16:04 */ class Mailer{ public function send($to, $from, $body){ } } class UserMailer extends Mailer { } class AdminMailer extends Mailer{ }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePatientHospitalTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('patient...
<?php namespace App\Http\Livewire\Chat; use Livewire\Component; class Main extends Component { public function render() { return view('livewire.chat.main'); } }
@extends('admin.main') @section('content') <div class="container"> <form method="POST" action="{{action('CategoriesController@store')}}" class="form-group" enctype="multipart/form-data"/> <div class="col-xs-4"> <label for="ex3">Название категории</label> <input class="form-cont...
<?php namespace AlibabaCloud\Sas; /** * @method string getSourceIp() * @method $this withSourceIp($value) * @method string getLang() * @method $this withLang($value) */ class DescribeAllGroups extends Rpc { }
<?php /* * Copyright 2020 Google LLC. * * 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 agre...
<?php require 'includes/init.php'; if(isset($_SESSION['user_id']) && isset($_SESSION['email'])){ $user_data = $user_obj->find_user_by_id($_SESSION['user_id']); if($user_data === false){ header('Location: logout.php'); exit; } // FETCH ALL USERS WHERE ID IS NOT EQUAL TO MY ID $allpro...
<?php namespace LucasDotVin\Soulbscription\Models; use Illuminate\Database\Eloquent\Model; use LucasDotVin\Soulbscription\Models\Concerns\Expires; class FeatureTicket extends Model { use Expires; protected $fillable = [ 'charges', 'expired_at', ]; public function feature() { ...
<?php namespace App; use Illuminate\Foundation\Auth\User as Authenticatable; class AdminPPP extends Authenticatable { protected $table = "admin_ppps" ; protected $guard = "adminppp"; }
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Chat\V2; use Twilio\ListResource; use Twilio\Values; use Twilio\Version; class ServiceList extends ListResource { /** * Construct the ServiceList * * @param Ve...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <title>SMAN 2 Muara Muntai</title> <meta content="" name="description"> <meta content="" name="keywords"> <!-- Favicons --> <link href="{{ asset('Medilab/assets/img/favi...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class RolesSistema extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('rolessistema', functi...
@extends('layouts.main') @section('title', 'Daftar Kategori') @section('content') <div class="container my-3"> <div class="card"> <div class="card-header"> Daftar Kategory </div> <div class="card-body"> <a href="{{ url('/category/form') }}" class="btn btn-sm btn-pr...
<?php namespace Domain\TodoCQRS\States; abstract class TodoStatusState { public string $name; }
@php $arraySearch = [ ['id' => '0', 'name' => 'Товары', 'col' => '256', 'link'=> [ ['name' => 'Корм для собак (86)'], ['name' => 'Корм для котов (65)'], ['name' => 'Корм для птиц (32)'], ['name' => 'Корма для грызунов (18)'], ['name' => 'Аксессуары для...
<?php namespace Symfony\Framework\WebBundle\Session; /* * This file is part of the symfony framework. * * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ /** * * * @package symf...
<?php namespace App\Services; class WinnersService { /** * @var int */ public $betAmount = 100; /** * @var int */ public $totalWin = 0; /** * @var array */ public $winners = []; public function __construct($betAmount = 100) { $this->setBetAmou...
<?= $this->extend('layout/template'); ?> <?= $this->section('content'); ?> <div class="card mb-4"> <div class="card-body"> <h6 class="m-0 font-weight-bold text-primary">LAB - RUANG BACA</h6> <div class="text-center"> <img class="img-fluid px-3 px-sm-4 mt-3 mb-4" style="width: 25rem;" src="/img/pict-ic...
<!DOCTYPE html> <html lang="{{ 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="{{ csrf_token() }}"> <title>...
@extends('layouts.admin') @section('content') <div class="page-header" style="background-color: #2d6ca2"> <div class="container-fluid"> <h2 class="h5 no-margin-bottom">Data Kegiatan</h2> </div> </div> <div class="row"> <div class="col-md-2"> {{-- --}} </div> <div class="col-md-8"> <form action="{{ route('...
<!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"> <title>Laravel</title> <!-- Fonts --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fo...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProfilehistoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('profil...
<?php defined( '_JEXEC' ) or die; // No direct access /** * View for current element * @author CB9TOIIIA */ class MyjbzoostatViewNodubles extends JViewLegacy { public function display( $tpl = null ) { $this->_setToolBar(); parent::display( $tpl ); } /** * Method to display the toolbar */ ...
<?php namespace app\models; use Yii; // The Expression and TimestampBehavior, is used form auto // date time / timestamp created_at and updated_at, in behaviors() use yii\db\Expression; use yii\behaviors\TimestampBehavior; // The ArrayHelper, is used for building a map (key-value pairs). use yii\helpers\ArrayHelper...
@extends('backend.adminlayout.adminmaster') @section('title','Admin User Info Page') @section('content') <!-- Page Content --> <div id="page-wrapper"> <div class="container-fluid"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <h1 class="page-he...
<?php use mvc\i18n\i18nClass ?> <?php use mvc\session\sessionClass as session ?> <?php $devolucionForm = session::getInstance()->getFlash('devolucion') ?> <?php $idEmp = empleadoTableClass::ID ?> <?php $nombreEmp = empleadoTableClass::NOMBRE ?> <?php $id = devolucionIncubadoraTableClass::ID ?> <?php $salidain = devolu...
<?php namespace App\models; use Illuminate\Database\Eloquent\Model; class History extends Model { protected $table = 'history'; }
@extends("assign.header") @section("content") <div class="card"> <div class="card-header bg-light"> <label>Information Task</label> </div> <form action="{{ url('/store/emp') }}" method="POST"> @csrf <div class="card-body"> <div class="row"> <div class="col-md-6"> <lab...
@extends('template') @section('content') @if(Session::has('message')) <script type="text/javascript"> $( document ).ready(function() { swal("", "{{Session::get('message')}}", "success"); }); </script> @endif <script type="text/javascript"> $( document ).ready(function() { $('.deleteButton'...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFailedJobsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('failed_jobs'...
<?php declare(strict_types=1); namespace SimplyCodedSoftware\Messaging\Handler\Enricher; use SimplyCodedSoftware\Messaging\Handler\ExpressionEvaluationService; use SimplyCodedSoftware\Messaging\Handler\ReferenceSearchService; use SimplyCodedSoftware\Messaging\Message; use SimplyCodedSoftware\Messaging\Support\Assert; ...
<?php use Illuminate\Support\Facades\Route; use Inertia\Inertia;
<?php return [ 'activate' => 0, 'block' => 2, 'add_status' => 1, ];
@extends('layouts.admin') @section('body') <main role="main"> <div class="container mt-4 pt-4"> <div class="row"> <div class="col-md-6"> <div class="col"> <h3 class="panel-title">Opret annonce</h3> </div> <div class="col mt-2 mb-2"> <form action="/admin/crea...
<?php if (session()->has('error')) : ?> <div class="alert bg-rgba-danger alert-dismissible mb-2" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">×</span> </button> <div class="d-flex align-items-center"> ...
<?php /** * Created by PhpStorm. * User: echoinfinite * Date: 05/01/20 * Time: 02.49 */ ?> <?php $__env->startSection('content'); ?> <table border="1"> <thead> <tr> <th>No</th> <th>Nama</th> <th>Tanggal Masuk</th> </tr> </thead> <...
<!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"> <meta name="description" content=""> <meta name="author" content=""> <title>Panel Admin Banboo.id</title> ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\extend\Nav */ $this->title = Yii::t('extend', 'Update:') . $model->name; $this->params['breadcrumbs'][] = ['label' => Yii::t('extend', 'Nav List'), 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'u...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Complemento extends Model { use HasFactory; protected $fillable = ['nombre','materiales_id','detallesmaterial_id']; }
<?php namespace Tagliatelle\Model\Block; class TextBlock extends AbstractBlock implements BlockInterface { }
<?php namespace common\models; use Yii; use yii\db\ActiveRecord; class Message extends base\Message { const SEND_ADMIN = 0; const SEND_USER = 1; /** * @return array */ public function behaviors() { return [ 'timestamp' => [ 'class' => 'yii\behaviors\...
@extends('base.loginAdminLte') @section('content') <div class="card"> <div class="card-body login-card-body"> <p class="login-box-msg">Sign in to start SAMO</p> @if ($message = Session::get('error')) <div id="danger-alert" class="alert alert-danger alert-block"> ...
<?php class Configuracao { public $SGBD = 'mysql'; public $banco = 'capsdtem_capsule'; public $charset = 'utf8'; //Desenvolvimento public $usuario_des = 'usrcapsule'; public $senha_des = 'capsuleusr'; public $servidor_des = 'localhost'; //Producao public $usuario_prd = 'capsdtem_usrcaps'; public $senha_prd = ...
@extends( Input::has('popup') ? '../../front-page-popup' : (Input::has('blank') ? '../../front-page-blank' : '../../front-page') ) @section('main_content') <section id="error" class="container" style="padding:30px"> <h1>Lỗi</h1> <div class="alert alert-danger" role="alert"><?php echo $message ?></div> </sectio...
<!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"> <meta name="description" content=""> <meta name="author" content=""> <title>Entel</title> <link href="{{url('bower_comp...
<?php namespace Flofire\TaobaoSDK\Top\Request; use Flofire\TaobaoSDK\Top\RequestInterface; /** * TOP API: taobao.fenxiao.productcats.get request * * @author auto create * @since 1.0, 2016.04.06 */ class FenxiaoProductcatsGetRequest implements RequestInterface { /** * 返回字段列表 **/ private $fields...
<?php /** * THE CODE IN THIS FILE WAS GENERATED FROM THE EBAY WSDL USING THE PROJECT: * * https://github.com/davidtsadler/ebay-api-sdk-php * * Copyright 2014 David T. Sadler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Mailgun, Postmark...
<div class="row justify-content-center"> <div class="col-xl-4"> <div class="card mb-5"> <div class="card-body"> <div class="row"> <div class="col-6"> <h5>Welcome Back !</h5> <p class="text-muted">Dashboard - @yield('...
<?php namespace App\Controllers; use CodeIgniter\Controller; class Pages extends Controller { public function view($page = 'edit') { if ( ! is_file(APPPATH.'/Views/pages/'.$page.'.php')) { // Whoops, we don't have a page for that! throw new \CodeIgniter\Exceptions\Pag...
<!doctype html> <html> <head> <meta name="viewport" content="width=device-width"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Simple Transactional Email</title> </head> <body> <table style="width:700px"> <tbody> <tr> <td style="background-color:#652c88; text-...
<?php namespace Radvance\Repository; use Radvance\Model\ModelInterface; /** * This class provide support for legacy methods. */ abstract class BaseLegacyRepository extends BaseRepository { /** * On legacy code we shouldn't get exceptions when nothing found. * * {@inheritdoc} */ public f...
<!-- Sub banner start --> <div class="sub-banner"> <div class="container breadcrumb-area"> <div class="breadcrumb-areas"> <h1>Faq</h1> <ul class="breadcrumbs"> <li><a href="<?php echo base_url('halaman_index');?>">Home</a></li> <li class="active">Faq</...
<?php require 'database.php'; /** * Mevcut url adresimi alıyoruz. * @param $url * @return stringZ */ function url($url = null){ if (!empty($url)){ return BACKEND_URL.$url; } return BACKEND_URL; } /** * Proje id sine ait veritabanından dosya bilgilerini çeker. * @param $proje_id * @ret...
<?php /** * Created by PhpStorm. * User: sachin * Date: 4/20/17 * Time: 11:02 AM */ namespace App\Listeners; use App\Events\EventRestoredCallback; class EventRestoredListener { public function handle(EventRestoredCallback $event) { return $event->obj->restored_event(); } }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Link extends Model{ protected $table = 'web_links'; public function websetting(){ return $this->belongsTo('App\Models\WebSettings'); } }
<?php declare(strict_types=1); /* * This file is part of JoliCode's Slack PHP API project. * * (c) JoliCode <coucou@jolicode.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace JoliCode\Slack\Api\Normalizer; use Jane...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; /** * App\Models\Applet * * @property int $id * @property string $name 小程序名称 * @property string $app_id appid * @property string $secret secret * @property int $debug 是否开启debug骗审 1正常 2开启 默认开启2 * @property string $advertising_ids 广告ids * @pr...
<?php namespace IFCPHP\IFC4\Entity; use IFCPHP\IFC4 as IFC; class IfcPropertyReferenceValue extends IfcSimpleProperty{ static public $elementName = 'IFCPROPERTYREFERENCEVALUE'; static public $params = [ [ 'name' => 'Name', 'class' => 'Type\IfcIdentifier', 'type' => 'object', 'optional' => false, ]...
<div> <div class="card-body"> <div class="row"> <div class="col-md-6"> <div class="card"> <div class="card-header"> <h3 class="card-title">ตารางแสดงเพศ</h3> </div> <!-- /.card-header --> ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use function PHPSTORM_META\elementType; /** * Class Coupon * * @package App\Models * @mixin \Eloquent * @property-read \App\Models\CouponType $couponType * @property int $id * @property int $coupon_type_id * @property int $customer_id * @pr...
<?php return array ( '{userName} finished task {task}.' => '{userName} 完成任务 {task}.', );
<?php namespace backend\modules\parametros\controllers; use yii\web\Controller; /** * Default controller for the `parametros` module */ class DefaultController extends Controller { /** * Renders the index view for the module * @return string */ public function actionIndex() { ret...
<?php /* * This file is part of the Antvel Shop package. * * (c) Gustavo Ocanto <gustavoocanto@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Antvel\Users\Notifications; use Antvel\Orders\Models\Order; use ...
<!DOCTYPE html> <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9"> <![endif]--> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> <!-- BEGIN HEAD --> <head> <meta charset="utf-8" /> <title>登陆</title> <meta content="width=device-width, initial-scale=1.0" n...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Behat\Context\Transform; use Behat\Behat\Context\Context; ...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="generator" con...
<?php /** * @copyright 2019 innovationbase * * 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 limitation the rights * to use, copy, modify, merge, ...
@section('header') <header id="header" class="navbar navbar-inverse navbar-fixed-top" role="banner"> <div class="container"> <div class="navbar-header"> <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span clas...
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <link rel="stylesheet" href="<?php echo asset('css/header.css');?>" /> <link rel="stylesheet" href="<?php echo ...
<form method="post"> <input type="hidden" name="userid" value="<?php echo $userid ?>"/> <div class="w3-white w3-padding-top"> <div class="w3-row-padding w3-padding-top"> <div class="w3-col m2"> <label>Full Name</label> </div> <div class="w3-col m5"> ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ProductCategory extends Model { use HasFactory; protected $fillable = [ 'product_id', 'category_id', ]; public function category() { return $t...
<?php namespace AFUP\HaphpyBirthdayBundle\Entity; use Doctrine\ORM\EntityRepository; /** * Contribution * * @author Faun <woecifaun@gmail.com> */ class ContributionRepository extends EntityRepository { /** * Find all contributions where credit is wanted * in alphabetical order * * @return...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Resources\CategoryResource; use App\Laravue\Models\Category; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Validator; use \App\Laravue\JsonResponse; class CategoryController extends Controller { const ITEM_PER_PAGE = 10;...
<?php /** * Archive: Event /// event CPT */ ?> <?php // print site header get_header(); ?> <?php // query $paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1; $ev_query = new WP_Query( array( 'post_type' => 'event', 'order' => 'ASC', 'orderby' => 'meta_value_num', 'meta_key' => '_order', 'paged' => $pa...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ProductUpdate extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the...
<?php /** * Copyright (C) GrizzIT, Inc. All rights reserved. * See LICENSE for license details. */ namespace GrizzIt\Services\Component\Compiler; use GrizzIt\Storage\Common\StorageInterface; use GrizzIt\Validator\Common\ValidatorInterface; use GrizzIt\Configuration\Common\RegistryInterface; use GrizzIt\Services\C...
<?php namespace Drupal\wildlife_breadcrumbs; use Drupal\Core\Breadcrumb\Breadcrumb; use Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface; use Drupal\Core\Link; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\node\Entity\Node; /** * Content Preview b...
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2019-04-18 * Time: 上午 1:25 */ namespace app\admin\controller; use think\Controller; class Phone extends Controller { public function phone() { return $this->fetch(); } public function luyin() { return $this->fetch(...
<?php require_once dirname(dirname(__FILE__)) . '/config.php'; require_once dirname(dirname(dirname(__FILE__))) . '/vendor/autoload.php'; $userDataList = []; for ($i = 0; $i < 600; $i++) { $userDataList[] = [ "user_id" => "u${i}", "email" => "xyz${i}@abc.com", ]; } $datacue = new \DataCue\Cl...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v7/enums/user_interest_taxonomy_type.proto namespace Google\Ads\GoogleAds\V7\Enums; if (false) { /** * This class is deprecated. Use Google\Ads\GoogleAds\V7\Enums\UserInterestTaxonomyTypeEnum\UserInterestTaxonomyT...
<?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also ...
<?php include 'template.php'; ?>
<?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 /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2017, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php namespace Illuminate\Testing; use Illuminate\Console\OutputStyle; use Illuminate\Contracts\Console\Kernel; use Illuminate\Contracts\Container\Container; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Support\Arr; use Mockery; use Mockery\Exception\NoMatchingExpectationException; use PHPUnit\Framewor...
<?php namespace App\Http\Livewire; use App\Models\Course; use App\Actions\DeleteAction; use LaravelViews\Facades\Header; use LaravelViews\Views\TableView; use LaravelViews\Actions\RedirectAction; use Illuminate\Database\Eloquent\Builder; class CoursesTableView extends TableView { protected $paginate = 20; p...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Customer extends Model { use HasFactory; protected $fillable=[ 'firstname','address','email','lastname','contact' ]; }
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Login') }}</div> <div class="card-body"> ...