text stringlengths 2 1.03M |
|---|
<?php
namespace Bakgul\Packagify\Services\AppTypeServices;
use Bakgul\Kernel\Helpers\Settings;
use Bakgul\ResourceCreator\Services\ResourceService;
class VueViewFilesService
{
public static function root(array $app)
{
(new ResourceService)->create(self::request($app));
}
private static funct... |
<?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 ... |
<?php
declare(strict_types=1);
/**
* Created by solutionDrive GmbH.
*
* @copyright 2018 solutionDrive GmbH
*/
namespace spec\solutionDrive\MultiStepBundle\Model;
use PhpSpec\ObjectBehavior;
use solutionDrive\MultiStepBundle\Exception\StepNotFoundException;
use solutionDrive\MultiStepBundle\Model\MultiStepFlow;
u... |
<?php
//////////////////////////////////////////////////////////////
// set routes here and WpclassMVC will add routes
//
// you must setup controller! and it must match name of route!
//
// controller.php is abstract and expects you to have index()
// in your controller
//
//
namespace diquinnyonk\WpclassMVC\Config;
... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Process\Exception;
use Symfony\Component\Process\Proc... |
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv... |
<?php
namespace Galileo\SimpleBet\ModelBundle\Form\Type;
use Doctrine\ORM\EntityManager;
use Galileo\SimpleBet\MainBundle\Transformer\BetTransformer;
use Galileo\SimpleBet\MainBundle\Transformer\ScoreTransformer;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Com... |
<?php
use Illuminate\Database\Seeder;
class CartSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// Default cart uuid for testing: 39e7062f-fa31-480a-aaf1-a534e2541381
// Should use this uuid in the frontend app
... |
<?php
namespace Moyasarphpanonymouscom\MoyasarApi\Moyasar;
use Moyasarphpanonymouscom\MoyasarApi\MoyasarFaced;
class Payment //extends MoyasarFaced
{
const AMOUNT = "amount";
const CURRENCY = "currency";
const DESCRIPTION = "description";
const SOURCE = "source";
const SADAD = ... |
<?php
namespace App\DataTables;
use App\Models\KeteranganMenikah;
use Yajra\DataTables\Services\DataTable;
use Yajra\DataTables\EloquentDataTable;
class KeteranganMenikahDataTable extends DataTable
{
/**
* Build DataTable class.
*
* @param mixed $query Results from query() method.
* @return \... |
<?php
/**
* This source file is part of the open source project
* ExpressionEngine (https://expressionengine.com)
*
* @link https://expressionengine.com/
* @copyright Copyright (c) 2003-2018, EllisLab, Inc. (https://ellislab.com)
* @license https://expressionengine.com/license Licensed under Apache License... |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Events Events
* @ingroup UnaModules
*
* @{
*/
require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
check_logged();
BxBaseModProfileRequest:... |
<?php
use App\controllers\Controller;
use Core\Facades\Auth;
use Core\Facades\Request;
use Core\Facades\Validation\Validator;
class controllername extends Controller
{
public function __construct(){
//
}
public function index()
{
return view('auth/login');
}
public function ... |
<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Component\DocumentManager\Event;
use PHPCR\NodeInterface;
class RestoreEvent extends AbstractMappingEvent
{
/**
* ... |
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
class SiswaSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
User::create([
'name' => 'Aldo',
'email' => 'user@gmail.c... |
<?php
/**
* QueryHandlerException.php
*
* MIT LICENSE
*
* LICENSE: This source file is subject to the MIT license.
* A copy of the licenses text was distributed alongside this
* file (usually the repository or package root). The text can also
* be obtained on one of the following sources:
* * http://opensource... |
<?php
use Illuminate\Http\Request;
Route::middleware('auth:api')->get('user', function (Request $request) {
return $request->user();
});
Route::get('post', 'PostController@index');
Route::group(['prefix' => 'post'], function () {
Route::post('add', 'PostController@add');
// Route::get('edit/{id}', 'BookC... |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies ... |
<?php
namespace App\Http\Controllers;
use App\Models\Barang;
use App\Models\Category;
use App\Models\Client;
use App\Models\Transaksi;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Ramsey\Uuid\Type\Integer;
class AdminController extend... |
@extends('informe.index')
@section('content')
<div class="row">
<div class="col-md-12">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ route('informe.index',$consultoria) }}">Informe</a></li>
<li class="breadcrumb-item active" aria-current="page">{{$Info... |
@extends('layouts.master')
@section('css')
<!-- Internal Nice-select css -->
<link href="{{URL::asset('assets/plugins/jquery-nice-select/css/nice-select.css')}}" rel="stylesheet" />
@section('title')
اضافة مستخدم - طيبه سوفت للادارة القانونية
@stop
@endsection
@section('page-header')
<!-- breadcrumb -->
<div class="... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Cate;
use App\Article;
use App\Tag;
use DB;
use Cache;
class IndexController extends Controller
{
public function index(Request $request,Article $article){
//获取推荐文章
// dump($this->getProvinceSee('1/01.206.182.166'));
$re... |
<?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(AdminsTableSeeder::class);
// $this->call(SectionsTab... |
<?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 ... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CoreUI CSS -->
<link rel="stylesheet" href="https://unpkg.com/@coreui/coreui/dist/css/coreui.min.css" crossorigin="anonymous">
... |
<?php
namespace Acme\Component\Resource\Model;
/**
* @author Joseph Bielawski <stloyd@gmail.com>
*/
interface TimestampableInterface
{
/**
* @return \DateTime
*/
public function getCreatedAt();
/**
* @return \DateTime
*/
public function getUpdatedAt();
/**
* @param \Da... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Hugo 0.88.1"... |
<?php
namespace Sabre\VObject\Recur;
use DateTime;
use DateTimeImmutable;
use DateTimeZone;
use PHPUnit\Framework\TestCase;
use Sabre\VObject\InvalidDataException;
class RRuleIteratorTest extends TestCase
{
public function testHourly()
{
$this->parse(
'FREQ=HOURLY;INTERVAL=3;COUNT=12',
... |
<?php
/**
* Trust Payments SDK
*
* This library allows to interact with the Trust Payments payment service.
*
* 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... |
@extends('admin.layouts.app')
@section('title', "Editar produto {$product->name}")
@section('content')
<h1>Editar produto {{ $product->name }}</h1>
<form action="{{ route('products.update', $product->id) }}" method="post" enctype="multipart/form-data">
{{-- precisa dessa linha abaixo PUT quando for r... |
<?php
/**
* @author Mark van der Velden <mark@dynom.nl>
*/
namespace Faker\Test\Provider;
use Faker;
/**
* Class ProviderOverrideTest
*
* @package Faker\Test\Provider
*
* This class tests a large portion of all locale specific providers. It does not testController the entire stack, because each
* locale spec... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Carbon;
class CreateDivisionJefePivotTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
... |
@extends('layouts.master')
@section('title','Generar orden de compra')
@section('content')
<div class="container">
</div>
@endsection |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class VendorOrder extends Model
{
//
} |
<div class="row">
<div class="col-lg-3 col-md-12">
@include('Hike::frontend.layouts.search.filter-search')
</div>
<div class="col-lg-9 col-md-12">
<div class="bravo-list-item">
<div class="topbar-search">
<h2 class="text">
@if($rows->total() > ... |
<?php
if (!defined('InternalAccess')) exit('error: 403 Access Denied');
$LayoutPageTitle = ($CurUserID && $CurUserInfo['NewNotification']?str_replace('{{NewMessage}}', $CurUserInfo['NewNotification'], $Lang['New_Message']):'') . $PageTitle . ($UrlPath=='home'?'':' - '.$Config['SiteName']);
header("Cache-Control: no-s... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width"/>
<style>
/******************... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Register extends CI_Controller {
public $page='register';
public function __construct() {
parent::__construct();
$user_session = $this->session->userdata('username');
$this->load->helper(array('form', 'url'));
$this->load->li... |
<?php
use App\Models\Meeting;
use App\Models\PrivateRoom;
use App\Models\Room;
use App\Models\Transaction;
use Illuminate\Support\Facades\Broadcast;
/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------... |
<?php
namespace KarixTech\Karix\Broadcasting;
class KarixMessage
{
/**
* The message destination.
*
* @var string
*/
public $to;
/**
* The message content.
*
* @var string
*/
public $content;
/**
* The phone number the message should be sent from.
... |
<?php
declare(strict_types=1);
namespace Thinktomorrow\Chief\Tests\Unit\ManagedModels\Astrotomic;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Thinktomorrow\Chief\ManagedModels\Assistants\ManagedModelDefaults;
use Thinktomorrow\Chief\Mana... |
@extends('admin.partes.index') @section('title') Proveedor @endsection
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<section class="content-header">
<h1>
Registrar Proveedor
</h1>
<ol class="breadcrumb">
<li>
<a href=... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Template {
protected $ci;
public function __construct() {
$this->ci =& get_instance();
}
public function display($view, $data = null) {
$data['_content'] = $this->ci->load->view($view, $data, TRUE);
... |
<?php namespace JobApis\JobsToMail\Http\Messages;
class FlashMessage
{
/**
* The message text
*
* @var string
*/
public $message;
/**
* Type of message being created
*
* @var string
*/
public $type;
/**
* FlashMessage constructor.
*
* @param ... |
--TEST--
Test sort() function : usage variations - unexpected values for 'array_arg' argument
--FILE--
<?php
/* Prototype : bool sort(array &array_arg [, int $sort_flags])
* Description: Sort an array
* Source code: ext/standard/array.c
*/
/*
* testing sort() by providing different unexpected values for array arg... |
<?php
namespace App\Http\Livewire;
use Illuminate\Support\Facades\Http;
use Livewire\Component;
class SearchDialog extends Component
{
public $query = '';
public function render()
{
$searchResults = [];
if (strlen($this->query) >= 2) {
$searchResults = Http::withToken(confi... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... |
<?php
namespace App\Models;
use Backpack\CRUD\app\Models\Traits\CrudTrait;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* App\Models\Scholarship
*
* @property int $id
* @property string $name
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illum... |
<?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 CodeShopping\Http\Controllers\Api;
use CodeShopping\Http\Controllers\Controller;
use CodeShopping\Http\Requests\ProductPhotoRequest;
use CodeShopping\Http\Resources\ProductPhotoCollection;
use CodeShopping\Http\Resources\ProductPhotoResource;
use CodeShopping\Models\Product;
use CodeShopping\Models\Pr... |
<?php
use App\Http\Controllers\AuthController;
use App\Http\Controllers\LoginController;
use App\Http\Controllers\MainController;
use App\Http\Controllers\NotifikasiController;
use App\Http\Controllers\PangkatController;
use App\Http\Controllers\PegawaiController;
use App\Http\Controllers\PemohonController;
use App\Ht... |
<?php
declare(strict_types=1);
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Request as RequestModel;
class RequestsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run(): void
{
$arr = [
[... |
<?php
use yii\web\View;
use backend\models\QrCodes;
?>
<table>
<?php
$params = Yii::$app->request->get();
$models = $newDataProvider->getModels();
$i = 0;
$colCount = isset($params['columns'])&&$params['columns']!=null?$params['columns']:4;
$rowOpened = true;
$rowReached = false;
... |
<?php
/* FOSUserBundle:Resetting:checkEmail.html.twig */
class __TwigTemplate_377d8d495788f884653d18e18b7757662692bea2182b310af63fde39f789eef8 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
try {
$this->pare... |
<?php
namespace operators\comparison_003;
function bar(int $a) {
echo $a;
return $a;
}
function test()
{
if (bar(42) === "blah") {
echo "unreachable";
}
echo "Done";
}
test(); |
<?php
NAMESPACE kcfinder;
?>
<script src="js/index.php" type="text/javascript"></script>
<script src="js_localize.php?lng=<?php echo $this->lang ?>" type="text/javascript"></script>
<?php
IF ($this->opener['name'] == "tinymce"):
?>
<script src="<?php echo $this->config['_tinyMCEPath'] ?>/tiny_mce_popup.js" type... |
<?php
/**
* Copyright 2012-2014 Rackspace US, 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 la... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class PainelController extends Controller
{
public function index()
{
return view('admin.painel.index');
}
} |
<?php declare(strict_types=1);
namespace Helmich\TypoScriptLint\Linter\Sniff\Visitor;
use Helmich\TypoScriptLint\Linter\Sniff\EmptySectionSniff;
use Helmich\TypoScriptLint\Linter\Report\Issue;
use Helmich\TypoScriptParser\Parser\AST\NestedAssignment;
use Helmich\TypoScriptParser\Parser\AST\Statement;
class EmptySecti... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Subject;
use App\ViolationRecord;
use App\Student;
use App\Staff;
use App\Violation;
use App\Activity;
use App\AcademicYear;
use App\ActivityStudent;
use App\SubjectReport;
use App\SubjectRecord;
use App\Grade;
use App\GradeStudent;
use DB;
us... |
<?php
/**
* Created by Sevi Darling.
* Date: 2018-12-11
* Time: 21:44
*/
namespace DarlingCms\classes\database\SQL;
use DarlingCms\interfaces\database\SQL\ISqlQuery;
use \PDO;
use PDOStatement;
/**
* Class MySqlQuery. Defines an implementation of the ISQLQuery interface that
* extends PHP's PDO class. This cl... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/var/www/html/system/languages/lt.yaml',
'modified' => 1625096561,
'data' => [
'GRAV' => [
'FRONTMATTER_ERROR_PAGE' => '---
title: %1$s
---
# Klaida: klaidinga įžanginė konfigūracija
Path: `%2$s`
**%... |
<script type="text/javascript" >
var csrfHash = '<?php echo $this->security->get_csrf_hash(); ?>';
</script>
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12">
<a class="btn btn-block btn-info" id="btn-kembali">
<i class="fa f... |
<?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 if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Soapcliente extends CI_Controller
{
function __construct() {
parent::__construct();
$this->load->library('Nusoap_library');
}
function index(){
$client = new SoapClient('http://192.168.1.18:81/SavarFerroles/Service1.as... |
<?php
/*
* This file is part of the Nopis package.
*
* (c) wangbin <wbhazz@163.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace nPub\Module\NopCoreModule\Controller;
use Exception;
use Nopis\Lib\Pagination\Query\Qu... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require_once APPPATH . '/libraries/REST_Controller.php';
require_once APPPATH . '/libraries/Format.php';
class Antecedentes_familiares_controller extends REST_Controller
{
public function __construct() {
parent::__construct();
... |
@extends('layouts.layout')
@section('head')
@parent
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}" defer></script>
<!-- Fonts -->
<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
<!-- Styles -->
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class MasterApiController extends Bas... |
--TEST--
SimpleXML: adding/removing attributes (single)
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--FILE--
<?php
$xml =<<<EOF
<people>
<person name="Joe"></person>
</people>
EOF;
$people = simplexml_load_string($xml);
var_dump($people->person[0]['name']);
var_dump($people->person[0]['age... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header">Create Post Confirmation</div>
<div class="card-body">
<form method="POST" action="{{ route('posts.stor... |
<div role="tabpanel">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#home2" aria-controls="home" role="tab" data-toggle="tab">Data Teknis</a></li>
<li role="presentation"><a href="#p... |
<?php
namespace ALttP\Location;
use ALttP\Item;
use ALttP\Location;
use ALttP\Rom;
/**
* Dash type Location. E.g. Library
*/
class Dash extends Location
{ } |
<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
namespace RectorPrefix20211221\Nette\Neon;
/**
* Parser for Nette Object Notation.
* @internal
*/
final class Decoder
{
/**
* Decodes a NEON st... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Brand;
use App\Models\Multipic;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Auth;
use Image;
class BrandController extends Controller
{
public function __construct()
{... |
<?php
/**
* Magento
*
* 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.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateConvocationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('convocatio... |
<?php
/**
* Return ImageMagick filters
*
* @see http://php.net/manual/en/imagick.constants.php#imagick.constants.filters
*/
return [
'point',
'box',
'triangle',
'hermite',
'hanning',
'hamming',
'blackman',
'gaussian',
'quadratic',
'cubic',
'catrom',
'mitchell',
'lanczos',
'bessel',
'sinc'
]; |
<?php
// Heading
$_['heading_title'] = 'Apis';
// Text
$_['text_success'] = 'Succès: vous avez modifié les API!';
$_['text_list'] = 'Liste d`API';
$_['text_add'] = 'Ajouter une API';
$_['text_edit'] = 'Modifier l`API';
$_['text_ip'] = 'Au dessous de toi... |
<?php
declare(strict_types=1);
namespace CQ\Middleware;
use Closure;
use CQ\Helpers\ConfigHelper;
use CQ\Response\HtmlResponse;
use CQ\Response\JsonResponse;
use CQ\Response\NoContentResponse;
use CQ\Response\RedirectResponse;
use CQ\Response\Respond;
final class CorsMiddleware extends Middleware
{
/**
* A... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace Fusion\Console\Installer;
use Artisan;
use Caffeinated\Modules\Facades\Module;
class PublishModuleAssets
{
/**
* Execute the command.
*
* @return void
*/
public function handle()
{
Module::all()->each(function ($module, $key) {
Artisan::call('vendor... |
<?php
/**
* @file plugins/importexport/medra/filter/IssueMedraXmlFilter.inc.php
*
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2000-2020 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class IssueMedraXmlFilter
* @ingroup plugins_importexpo... |
<?php
/* UTASegProBundle:Actividad:edit.html.twig */
class __TwigTemplate_46717e6b4b6e28da954b5b75b12c7d03578bf4a4c7ce528f306b89f48dfaa993 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("UTASegPro... |
<?php
/**
* Translation file
* @copyright Copyright (c) 2014-2016 Benjamin BALET
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
* @link https://github.com/bbalet/jorani
* @since 0.4.7
* @author Ceibga Bao <info@sansin.com.tw>
*/
$lang['datatable_sEmptyTable'] = '無可用資料在表單中';... |
<?php
/*
* Copyright (C) 2021 Anders Lövgren (Nowise Systems).
*
* 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 require... |
<?php
use humhub\modules\xcoin\models\Product;
use humhub\widgets\ModalButton;
use humhub\widgets\ModalDialog;
use humhub\widgets\ActiveForm;
use humhub\assets\Select2BootstrapAsset;
use yii\helpers\Html;
use yii\web\JsExpression;
use kartik\widgets\Select2;
/** @var $products array */
/** @var $model Product */
Sel... |
<?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
use Dvsa\Olcs\Transfer\Command;
use Dvsa\Olcs\Transfer\Query;
use Dvsa\Olcs\Transfer\Router\CommandConfig;
use Dvsa\Olcs\Transfer\Router\QueryConfig;
use Dvsa\Olcs\Transfer\Router\RouteConfig;
return [
'licence-status-rule' => [
'type' => 'Segment',
'options' => [
'route' => 'lice... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?php echo $pengaturan->nama ?> - <?php echo $pengaturan->deskripsi ?></title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="<?php echo $meta_keyword ?>" name="keywords">
<meta content="<?php echo $me... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<title>XOLO Q900T - Full phone specifications</title>
<link rel="stylesheet" type="text/css" href="http://cdn2.gsmarena.com/w/css... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Post;
class BlogController extends Controller
{
public function index(){
$posts = Post::all();
return view('blog.index')->with(['posts' => $posts]);
}
public function store(Request $request){
Post... |
<?php
namespace App\Modelos;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Consumoorganico extends Model
{
public $primaryKey='idConsumo';
protected $table = 'consumoorganico';
public $timestamps = false;
} |
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\ProfilSortieRepository;
use Doctrine\Common\Collections\Collection;
use ApiPlatform\Core\Annotation\ApiResource;
use ApiPlatform\Core\Annotation\ApiSubresource;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Serial... |
@extends('apps.layouts.main')
@section('header.title')
Better Work Indonesia | Manual Journal
@endsection
@section('content')
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Manual Journal</h1>
</div>
</div>
... |
<?php session_start(); ?>
<?php include 'connection.php';
if (isset($_SESSION['admin'])) {
?>
<?php
if (isset($_GET['qno'])) {
$qno = mysqli_real_escape_string($dbh , $_GET['qno']);
if (is_numeric($qno)) {
$query = "SELECT * FROM questions WHERE qno = '$qno' ";
$run = mysqli_query($dbh, $query) or die(mysqli... |
<?php
namespace App\Http\Controllers\Auth;
use App\Models\User;
use App\Http\Controllers\Controller;
use App\Models\UserHistoryFields;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Lang;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Fa... |
<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Component\Content\Tests\Unit\Compat;
use PHPUnit\Framework\TestCase;
use Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentIn... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Cekdam Pamulihan</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
... |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use Validator;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
class AuthController extends Controller
{
/*
|-------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.