text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Livewire;
use App\Models\Product;
use Livewire\Component;
use Livewire\WithPagination;
use Cart;
use App\Models\Category;
class SearchComponent extends Component
{
public $sorting;
public $pagesize;
public $search;
public $product_cat;
public $product_cat_id;
public... |
<?php
/**
* Copyright 2011 Bas de Nooijer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of cond... |
<?php //00551
// --------------------------
// Created by Dodols Team
// --------------------------
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class Admin extends Authenticatable
{
use Notifiable;
protected $table="admin";
/**
* The attributes that are mass assignable.
*
* @va... |
<?php
namespace Elasticsearch\ConnectionPool;
use Elasticsearch\ConnectionPool\Selectors\SelectorInterface;
use Elasticsearch\Connections\Connection;
use Elasticsearch\Connections\ConnectionFactoryInterface;
class SimpleConnectionPool extends AbstractConnectionPool implements ConnectionPoolInterface
{
/**
... |
<?php
/*
* OAuth2 Client Bundle
* Copyright (c) KnpUniversity <http://knpuniversity.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace KnpU\OAuth2ClientBundle\Client\Provider;
use KnpU\OAuth2ClientBundle\Client\OAuth... |
<?php namespace Atrauzzi\LaravelDoctrine\CacheProvider;
use Doctrine\Common\Cache\XcacheCache;
/**
* Class MemcachedProvider
* @package Atrauzzi\LaravelDoctrine\CacheProvider
*/
class XcacheProvider extends CacheProvider{
/**
* Sets up and returns the CacheProvider
* @param $config
* @return \... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... |
@extends('layouts.public', ["title" => "My Channels", "sidebar" => false])
@section("content")
@if (Auth::check())
<div class="col-8" style="overflow-y:scroll;margin-top:60px;padding:10px;background:#efefef;height:100vh;">
@endif
<div class="col-md" style="overflow-y:scroll;margin-t... |
<div class="pb-20">
<div class="border-b border-gray-200 px-4 py-4 sm:flex sm:items-center sm:justify-between sm:px-6 lg:px-8">
<div class="flex-1 min-w-0">
<h1 class="text-lg font-medium leading-6 text-gray-900 sm:truncate">
Bizden Haberler
</h1>
</div>
... |
<?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
// This file is auto-generated, don't edit it. Thanks.
namespace Aliyun\PDS\SDK\Models;
use AlibabaCloud\Tea\Model;
class BaseFileProcessRequest extends Model
{
/**
* @example 1:1, 1:2, 2:1, 2:3, 3:2, 7:4
*
* @var string[]
*/
public $imageCroppingAspectRatios;
/**
* @desc... |
<?php
/*
* $Id: DBMSSQL.php 989 2008-03-11 14:29:30Z heltem $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO... |
<?php
class Kwf_Controller_Action_MaintenanceJobs_JobsController extends Kwf_Controller_Action_Auto_Grid
{
protected $_buttons = array('reload');
protected $_defaultOrder = array('field' => 'last_run', 'direction' => 'DESC');
public function indexAction()
{
$this->view->ext('Kwf.MaintenanceJobs... |
<?php
namespace WebPlatform\AseagleBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CompanyCertification
*
* @ORM\Table(name="company_certification")
* @ORM\Entity
*/
class CompanyCertification
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\Gen... |
<?php
namespace AvtoDev\FirebaseCloudMessaging;
use Illuminate\Notifications\Notification;
use AvtoDev\FirebaseCloudMessaging\Exceptions\CouldNotSendNotification;
use AvtoDev\FirebaseCloudMessaging\Receivers\FcmNotificationReceiverInterface;
/**
* Channel to send message to Firebase cloud message.
*/
class FcmChan... |
<?php
declare(strict_types=1);
namespace Vrok\DoctrineAddons\DBAL\Tests;
use Doctrine\DBAL\Platforms\MySqlPlatform;
use Doctrine\DBAL\Types\ConversionException;
use PHPUnit\Framework\TestCase;
use Vrok\DoctrineAddons\DBAL\Types\UTCDateTimeType;
class UTCDateTimeTypeTest extends TestCase
{
protected MySqlPlatfor... |
<?php
namespace App\Http\Controllers\API;
use App\Attendance;
use App\branch;
use App\Http\Controllers\Controller;
use Carbon\Carbon;
use Illuminate\Http\Request;
class AttendanceController extends Controller
{
public function store(Request $request)
{
$request->validate([
'lat' => 'requi... |
@extends('layouts.admin.default')
@section('title', $title)
@section('content')
<div class="page-breadcrumb">
<div class="row">
<div class="col-12 d-flex no-block align-items-center">
<h4 class="page-title">@yield('title')</h4>
<div class="ml-auto text-right">
... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// $this->call(UserSeeder::class);
$this->call([
ProvinceTableSeeder::class,
CityTableS... |
<?php
/*
* This file is part of the Dektrium project.
*
* (c) Dektrium project <http://github.com/dektrium/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace andrew72ru\user\helpers;
/**
* Password helper.
*
* @autho... |
<?php $__env->startSection('title', 'Item'); ?>
<?php $__env->startSection('content_header'); ?>
<h1>Item - Editar</h1>
<ol class="breadcrumb">
<li><a href="<?php echo e(route('item.index')); ?>"><i class="fa fa-dashboard"></i> Item</a></li>
<li class="active">Editar</li>
</ol>
<?php $__env->stopSection(); ?>
... |
<li class="media mt-4 mb-4">
<a href="{{route('users.show',$user->id)}}">
<img src="{{$user->gravatar()}}" alt="{{$user->name}}" class="mr-3 gravatar">
</a>
<div class="media-body">
<h5 class="mt-0 mb-1">
{{$user->name}} /
<small>{{$status->created_at->diffForHumans()}}</small>
</h5>
{... |
import { Route } from "@angular/router";
import { <?= $entity_class_name ?>ListComponent } from './<?= $route_name ?>-list/<?= $route_name ?>-list.component';
import { <?= $entity_class_name ?>NewComponent } from './<?= $route_name ?>-new/<?= $route_name ?>-new.component';
import { <?= $entity_class_name ?>EditComponen... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Photo;
class PortfolioController extends Controller
{
public function index()
{
$photos = Photo::orderBy('sort-order-portfolio')->where('portfolio', 1)->get();
return view('a... |
@extends('layouts.panel')
@section('content')
<div class="card shadow">
<div class="card-header border-0">
<div class="row align-items-center">
<div class="col">
<h3 class="mb-0">Nueva alumno</h3>
</div>
<div class="col text-right">
<a href="{... |
<!DOCTYPE html>
<html>
<head>
<title>Buy | Sell | Body Groomers Foe Sale In UK | 99 Right Deals</title>
<meta name="description" content="Search free ads for Buy or Sell Body Groomer for Sale in United Kingdom at affordable price on 99 Right Deals." />
<!-- xxx Head Content xxx -->
<?php echo $this->load->view('comm... |
<div class="section layout_padding">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="full center">
<div class="heading_main text_align_center">
<h2><span class="theme_color">ประชาสัมพันธ์</span> กิจกรรม</h2... |
<?php
namespace Encore\Admin\IdValidator;
use Encore\Admin\Extension;
class IdValidator extends Extension
{
public $name = 'id-validator';
public $menu = [
'title' => '身份证校验',
'path' => 'id-validator',
'icon' => 'fa-credit-card',
];
} |
<!-- Main navbar -->
<div class="navbar navbar-inverse">
<div class="navbar-header">
<a class="navbar-brand" href="index.html"><img src="" alt=""></a>
<ul class="nav navbar-nav visible-xs-block">
<li><a data-toggle="collapse" data-target="#navbar-mobile"><i class="icon-tree5"></i></a></li>
<li><a... |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyrig... |
<?php
namespace MobileCart\FedexBundle\Api\RateV10\ComplexType;
use MobileCart\FedexBundle\Api\RateV10\SimpleType;
/**
* The descriptive data for a FedEx email notification recipient.
*
*
*/
class EMailNotificationRecipient extends ComplexTypeAbstract
{
const CLASS_NAME = 'EMailNotificationRecipient';
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Painting extends Model
{
protected $fillable = [
'title',
'year',
'size',
'details',
'img',
];
} |
@extends('layouts.layout-admin')
@section('content')
<div class="page-content">
<!--breadcrumb-->
<div class="page-breadcrumb d-none d-sm-flex align-items-center mb-3">
<div class="breadcrumb-title pe-3">Home</div>
<div class="ps-3">
<nav aria-label="breadcr... |
<?php
namespace Nascom\ToerismeWerktApiClient\Serializer\Model;
use Nascom\ToerismeWerktApiClient\Model\AttractionCategory;
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface;
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait;
use Symfony\Component\Serializer\Normalizer\Denormaliz... |
@extends('layouts.admin')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="login-box card">
<div class="login-header card-header mx-auto">{{ __('messages.Login') }}</div>
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Display Debug backtrace
|--------------------------------------------------------------------------
|
| If set to TRUE, a backtrace will be displayed along with php err... |
@macro('simple', $first, $second = 3)
return $first . $second;
@endmacro
@domacro('simple', 'my age is ', 6) |
<?php
namespace App\Http\Services\Client\ProductClient;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;
class SearchServiceClient
{
public function findAllByProductName($request){
$name= Str::of($request->name)->replace(' ','');
$main=self::mainGetCount();
return DB::table... |
<?php
////////////////////////////////////////////////////////////////////////////
//
// (c) phpChess Limited, 2004-2006, in association with Goliath Systems.
// All rights reserved. Please observe respective copyrights.
// phpChess - Chess at its best
// you can find us at http://www.phpchess.com.
//
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOtpsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('otps', function (B... |
<?php
/*
* This file is part of the Barqrcodewizard Bundle.
*
* (c) Daniel Kiesel <https://github.com/iCodr8>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Craffft\BarqrcodewizardBundle\DependencyInjection;
use Symfo... |
@extends('master')
@section('content')
<div class="container content">
<div class="row">
<div class="col-md-6 product-detail">
<h3>{{$product->name}}</h3>
<img src="{{$product->picture}}" alt="">
<h3 class="description">Description</h3>
<hr>
<p>{{$... |
<?php declare(strict_types=1);
namespace Symplify\EasyCodingStandard\SniffRunner\Tests\Application;
use Symplify\EasyCodingStandard\SniffRunner\File\File;
use Symplify\EasyCodingStandard\SniffRunner\File\FileFactory;
use Symplify\EasyCodingStandard\SniffRunner\Fixer\Fixer;
use Symplify\EasyCodingStandard\Tests\Abstra... |
<?php
/*
* Copyright (C) 2015 STFC
* 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 to in writing... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$ta... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMulaiJawabTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mulai_jawab'... |
<?php
namespace Tests\Feature\Http\Controllers;
use App\Actividad;
use App\Name;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use JMac\Testing\Traits\AdditionalAssertions;
use Tests\TestCase;
/**
* @see \App\Http\Controllers\ActividadController
*/
class ActividadC... |
<?php
namespace App\Http\Controllers\Admin\CMS;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\CmsHome;
class HomePageController extends Controller
{
private $cms;
public function index()
{
$cms = CmsHome::first();
return view("admin.CMS.homepage",compact('cms'));
}
... |
<?php
namespace Flofire\TaobaoSDK\Top\Request;
use Flofire\TaobaoSDK\Top\RequestCheckUtil;
use Flofire\TaobaoSDK\Top\RequestInterface;
/**
* TOP API: taobao.item.anchor.get request
*
* @author auto create
* @since 1.0, 2014.02.28
*/
class ItemAnchorGetRequest implements RequestInterface
{
/**
* 对应类目编号
... |
<?php
final class PhabricatorRepositoryManagementDiscoverWorkflow
extends PhabricatorRepositoryManagementWorkflow {
public function didConstruct() {
$this
->setName('discover')
->setExamples('**discover** [__options__] __repository__ ...')
->setSynopsis('Discover __repository__, named by cal... |
<?php
//application/views/news/success.php
?>
<h1>Yay!</h1>
<p>In theory your data was entered!</p> |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDisposisisTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('disposisis',... |
<!-- START X-NAVIGATION VERTICAL -->
<ul class="x-navigation x-navigation-horizontal x-navigation-panel">
<!-- TOGGLE NAVIGATION -->
<li class="xn-icon-button">
<a href="#" class="x-navigation-minimize"><span class="fa fa-d... |
@extends('templates.main')
@section('content')
<div class="row">
<div class="col-12">
<h1 class="float-start">PPAT Page</h1>
<a class="btn btn-success float-end" href="{{ route('ppat.create') }}" role="button">Create New Form</a>
</div>
</div>
<form action="{{ route... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstra... |
@extends('layouts.app')
@section("content")
<uninstall-component
props-url = "{{
json_encode([
"index" => route("setup.index"),
"uninstall" => route("setup.uninstall"),
],JSON_HEX_... |
<?php
/*
type: layout
name: Title Image BG 2
position: 41
*/
?>
<?php include 'settings_padding_front.php'; ?>
<?php include 'settings_is_color_front.php'; ?>
<?php
/* Is Parallax */
$is_parallax = get_option('is_parallax', $params['id']);
if ($is_parallax === null OR $is_parallax === false OR $is_parallax == ''... |
<?php
namespace App\Http\Middleware;
use Closure;
class EnsureEmailIsVerified
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// 三个判断:
... |
<?php
namespace Amp\Sync;
use Amp\Promise;
final class PrefixedKeyedMutex implements KeyedMutex
{
/** @var KeyedMutex */
private $mutex;
/** @var string */
private $prefix;
public function __construct(KeyedMutex $mutex, string $prefix)
{
$this->mutex = $mutex;
$this->prefix ... |
<?php
/*
* This file is part of the Monolog package.
*
* (c) Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace DhlVendor\Monolog\Handler;
use DhlVendor\Monolog\Logger;
use DhlVendor\Mon... |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Unit\Html\Link\EvolvableLink;
use... |
<?php
class HeadwayCompiler {
private static $accepted_formats = array('css', 'less', 'js');
public static function init() {
add_action('headway_visual_editor_save', array(__CLASS__, 'flush_cache'));
add_action('headway_visual_editor_reset_layout', array(__CLASS__, 'flush_cache'));
add_action('headway_vi... |
<?php
namespace app\controllers;
use Yii;
use app\models\Order;
use yii\data\ActiveDataProvider;
use yii\db\Query;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use app\models\LoginForm;
class AdminController extends Controller
{
public func... |
<!DOCTYPE html>
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Required meta tags -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Dify Admin</title>
<!-- plugins:css -->
<link rel="stylesheet" hr... |
<?php
/*
* This file is part of Psy Shell.
*
* (c) 2012-2015 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Psy\CodeCleaner;
use PhpParser\Node;
use PhpParser\Node\Expr\Variable;
use Psy\Exception\Runti... |
<?php
/**
* Stores the configuration used to run PHPCS and PHPCBF.
*
* Parses the command line to determine user supplied values
* and provides functions to access data stored in config files.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license... |
@extends('layouts.app')
@section('content')
<div class="container">
<h2 class="titulo-categoria text-uppercase mt-5 mb-4">
Resultados Búsqueda: {{ $busqueda }}
</h2>
<div class="row">
@foreach( $recetas as $receta)
@include('ui.receta')
@en... |
<?php
namespace Dhii\Data\Object;
use ArrayObject;
use InvalidArgumentException;
use stdClass;
/**
* Functionality for retrieval of the data store.
*
* @since [*next-version*]
*/
trait GetDataStoreCapableTrait
{
/**
* The data store.
*
* @since [*next-version*]
*
* @var ArrayObject|n... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call(AdminSeeder::class);
}
} |
<?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\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use GuzzleHttp\Psr7\Request;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Support\Facades\Auth;
use Laravel\Socialite\Facades\Socialite;
class LoginController extends Controller
{
/*
|------------------------... |
@extends('layouts.index')
@section('styles')
@section('scripts')
@section('content')
<!-- Main content -->
<div class="content-wrapper">
<!-- Page header -->
<div class="page-header page-header-light">
<div class="page-header-content header-elements-md-inline">
<div class="page-title d-f... |
<?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
namespace App;
use Illuminate\Database\Eloquent\Model;
class StudyMaterialCat extends Model
{
protected $table='study_material_cat';
public $timestamps = true;
} |
<?php
namespace App\Controllers;
use CodeIgniter\Controller;
class c_home extends Controller{
public function tampil(){
$session = session();
echo "Welcome back, ".$session->get('user_name');
}
}
?> |
<?php
namespace Hotel\Validators;
use \Prettus\Validator\Contracts\ValidatorInterface;
use \Prettus\Validator\LaravelValidator;
/**
* Class MediaValidator.
*
* @package namespace Hotel\Validators;
*/
class MediaValidator extends LaravelValidator
{
/**
* Validation Rules
*
* @var array
*/
... |
<script src="js/jquery-2.2.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!--RS-->
<script src="vendors/rs-plugin/js/jquery.themepunch.tools.min.js"></script> <!-- Revolution Slider Tools -->
<script src="vendors/rs-plugin/js/jquery.themepunch.revolution.min.js"></script> <!-- Revolution Slider -->
<... |
<?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.
*/
namespace Sylius\Bundle\VariableProductBundle\Form\Type;
use Sylius\Bundle\VariableProductBundle\Form... |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Api\V2010\Account;
use Twilio\InstanceContext;
use Twilio\Values;
use Twilio\Version;
class ApplicationContext extends InstanceContext {
/**
* Initialize the ApplicationC... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Model;
class Subprogram extends Model
{
public $incrementing = false;
public function interventions(): HasMany
{
return $this->hasMany(Intervention::class,'commodity_id');
}
public ... |
<!-- /.container-fluid-->
<!-- /.content-wrapper-->
<footer class="sticky-footer">
<div class="container">
<div class="text-center">
<small>Copyright © Your Website 2018</small>
</div>
</div>
</footer>
<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded... |
@extends('layouts.admin')
@section('content')
<div class="card">
<div class="card-header">
{{ trans('cruds.productToApprove.title') }} jjjj
</div>
<div class="card-body">
<p>
Text coming soon... aslkdaklsdll
</p>
</div>
</div>
@endsection |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreatePointsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('points', function(Blueprint $table)
{
$table->increments('id');
$table->i... |
<?php
/**
* Productv2GetProductInfoListResponseTest
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
* @link https://github.com/swagger-api/swagger-codegen
*/
... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/compute/v1/compute.proto
namespace Google\Cloud\Compute\V1\InterconnectLocationRegionInfo;
use UnexpectedValueException;
/**
* Identifies the network presence of this location.
*
* Protobuf type <code>google.cloud.compute.v1.I... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<?php declare(strict_types=1);
namespace Spawnia\Sailor;
use GraphQL\Executor\ExecutionResult;
use Psr\Http\Message\ResponseInterface;
use Safe\Exceptions\JsonException;
use Spawnia\Sailor\Error\InvalidDataException;
use stdClass;
/**
* Represents a response sent by a GraphQL server.
*
* During instantiation, the... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Contact extends Model
{
protected $table = 'contact';
protected $fillable = [
'name','email','country','state','city','subject','message','answer'
];
} |
<?php
/**
* @link http://ipaya.cn/
* @copyright Copyright (c) 2016 ipaya.cn
* @license http://ipaya.cn/license
*/
use yii\helpers\Html;
use backend\widgets\ActionColumn;
use yii\grid\GridView;
/**
* @var $this yii\web\View
* @var $searchModel backend\models\ClientSearch
* @var $dataProvider yii\data\ActiveData... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit22194900a142f7ba191f9802d33c94e2
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'667aeda72477189d0494fecd3... |
<?php
namespace Sirius\Filtration;
use PHPUnit\Framework\TestCase;
class FilterSetTest extends TestCase
{
protected function setUp(): void
{
parent::setUp();
$this->filterset = new FilterSet();
}
function testInsert()
{
$this->filterset->insert(new Filter\StringTrim(), 0... |
<?php
namespace In2code\Powermail\ViewHelpers\Misc;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3\CMS\Fluid\ViewHelpers\FlashMessagesViewHelper;
/**
* Class GetFlashMessagesPartialNameViewHelper depending on TYPO3 version
* Because ... |
<?php
namespace DigiTickets\Bambora\Messages;
use Omnipay\Common\Message\AbstractResponse;
class CompletePurchaseResponse extends AbstractResponse
{
public function isSuccessful()
{
return isset($this->data['trnApproved']) && '1' === $this->data['trnApproved'];
}
public function isCancelled(... |
<?php
/* @var $this yii\web\View */
$this->title = Yii::$app->name;
?>
<!-- <div class="site-index">
<div class="jumbotron">
<h1>Congratulations!</h1>
<p class="lead">You have successfully created your Yii-powered application.</p>
<p><a class="btn btn-lg btn-success" href="http://www.yiif... |
<?php
include "config/config.php";
/*error_reporting(E_ALL);
ini_set('display_errors', 1);*/
$project_id = $_POST['project_id'];
$travel_type = $_POST['travel_type'];
$booking_mode = $_POST['booking_mode'];
$response = array();
$vendors = array();
if($booking_mode == "Hotel" && $travel_type != "Return Journey"){
... |
<?php
namespace App\Types;
use Illuminate\Database\Eloquent\Model;
class Gamedisc extends Model
{
protected $fillable = [
'comision','deposit','id','img','price','type','name','brand','category','tags','waranty','kredit','percentkredit','video','status'
];
} |
<?php
/**
* This file is placed here for compatibility with Zendframework 2's ModuleManager.
* It allows usage of this module even without composer.
* The original Module.php is in 'src/AcploBase' in order to respect PSR-0
*/
require_once __DIR__.'/src/AcploBase/Module.php'; |
<div class="row">
<div class="col-md-12">
<?php
if (has_message('success')) {
?>
<div class="lzi alert-msg alert-success text-center mx-auto mt-3 mb-0" role="alert">
<div class="d-inline-block m-0">
<p class="mb-0">
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.