text stringlengths 2 1.03M |
|---|
<?php
declare(strict_types=1);
namespace KejawenLab\Application\SemartHris\Repository;
use KejawenLab\Application\SemartHris\Component\Job\Model\JobTitleInterface;
use KejawenLab\Application\SemartHris\Component\Job\Repository\JobTitleRepositoryInterface;
use KejawenLab\Application\SemartHris\Util\UuidUtil;
/**
* ... |
<?php
declare(strict_types=1);
namespace App\Tests\RelationshipVoter;
use App\RelationshipVoter\AbstractVoter;
use App\RelationshipVoter\ProgramYear as Voter;
use App\Service\PermissionChecker;
use App\Entity\Program;
use App\Entity\ProgramYear;
use App\Service\Config;
use Mockery as m;
use Symfony\Component\Securit... |
<?php
require_once 'inc/Class/Scripts.php';
require_once 'inc/Class/Description.php'; |
<?php
namespace common\fixtures;
use yii\test\ActiveFixture;
class CategoriesFixture extends ActiveFixture
{
public $modelClass = 'frontend\models\Categories';
} |
<?php
namespace App\Controllers;
use App\Controllers\BaseController;
use App\Models\KelasModel;
use App\Models\TagihanModel;
class Kelas extends BaseController
{
public function __construct()
{
$this->model = new KelasModel();
$this->tagihan = new TagihanModel();
}
public function in... |
<?php
/**
* Report incoming broken links
*/
class SearchQueryReport extends SS_Report {
public function title() {
return _t('FourOhFourLogger.SEARCHQUERYREPORT',"Search usage report");
}
public function parameterFields() {
return false;
}
public function sourceRecords($params, $sort, $limit) {
re... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Stateful Domains
|--------------------------------------------------------------------------
|
| Requests from the following domains / hosts will receive stateful API
| authentication cookies. T... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sales\Test\Unit\Model\CronJob;
use \Magento\Sales\Model\CronJob\AggregateSalesReportBestsellersData;
/**
* Tests Magento\Sales\Model\CronJob\AggregateSalesReportBestsellersDataTest
*/
... |
<h2><?= (isset($cmclub['name']) ? $cmclub['name'] . ' - ' : 'Club') ?> Nieuws</h2>
<div class='row'>
<?php foreach ($newsitems as $newsitem) : ?>
<?php if ($newsitem['Newsitem']['status'] == "public") : ?>
<div class="col-sm-6 col-lg-4 card-group">
<div class="card">
<a href="<?=$this->... |
@extends('CMS.components.index')
@section('content')
<div id="page-title">
<h2>Danh sách người dùng</h2>
<div id="theme-options" class="admin-options">
<a href="javascript:void(0);" class="btn btn-primary theme-switcher tooltip-button" data-placement="left" title="Color schemes and layout options... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/Users for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespac... |
<div class="d-block d-md-none" id="contact-nav">
<ul class="nav flex-column" id="top-nav" style="width: 100%;">
@include('nav-top')
</ul>
</div>
<div class="d-block d-md-none banner pb-5">
<div class="container">
<nav class="navbar navbar-expand-lg navbar-dark d-flex justify-content-center"... |
<?php
return array(
'module_layouts' => array(
'Application' => 'layout/layout.phtml',
'Users' => 'layout/admin-layout.phtml',
)
); |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use backend\models\Face;
use backend\models\FaceSearch;
/* @var $this yii\web\View */
/* @var $model backend\models\PhotoImage */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Photo images', 'url' => ['index']];
$this->params['breadcr... |
<?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
/* @var $this \yii\web\View */
/* @var $content string */
use frontend\assets\AppAsset;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\Breadcrumbs;
use common\widgets\Alert;
use frontend\components\menuHelper;
AppAsset::register($this);
$this->registerJsFile('@web/statics/js/js_plug/jquery.cookie.js... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePortfolioImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('portfol... |
<div id="page-wrapper">
<div class="container-fluid">
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title">Register Anjing</h4> </div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs... |
<?php
require_once(__DIR__.'../../../autoload.php');
require_once('src/helpers/SessionValidate.php');
require_once('src/helpers/Validate.php');
class EmployeeController{
public function index(){
if($_SESSION['dados_usuario']['nivelAcesso'] == 2){
$employee = new AddE... |
<?php
namespace CodeFin\Models;
use HipsterJazzbo\Landlord\BelongsToTenants;
use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
class BillPay extends Model implements Transformable
{
use TransformableTrait;
use BelongsToTe... |
<?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\Validator\Constraints;
use Symfony\Component\Validato... |
<?php
namespace app\admin\controller;
use think\Controller;
use app\admin\model\Author as AuthorModel;
class Author extends Controller{
public function index(){
$search=input('get.search');
$map['name']=array('like',"%{$search}%");
$data=db('author')->where($map)->select();
$count=db... |
<?php
namespace Kunstmaan\AdminListBundle\Service;
use Doctrine\Common\Persistence\ObjectManager;
use FOS\UserBundle\Model\User;
use Kunstmaan\AdminListBundle\Entity\LockableEntity;
use Kunstmaan\AdminListBundle\Entity\EntityVersionLock;
use Kunstmaan\AdminListBundle\Entity\LockableEntityInterface;
use Kunstmaan\Admi... |
<?php
include('../pages/teacherhome.html');
?> |
<?= $this->extend("admin/template"); ?>
<?= $this->section("content"); ?>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">
<div class="card-title">
<button id="btn-add" type="button" class="btn btn-primary" data-toggle="mo... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "ads".
*
* @property integer $id
* @property string $title
* @property string $url
* @property string $code
*/
class Ads extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
... |
<?php
namespace Modules\V1\Traits;
use React\Http\Message\Response;
use \Exception;
trait AuthValidate
{
public function inputValidate(array | object $inputs, array $required = [], string $contentType = "application/json; charset=utf-8"): void
{
foreach ($required as $key) (isset($inputs[$key])) ? tr... |
<?php
namespace Mobile\Controller;
use Think\Controller;
use User\Api\MemberApi;
use Common\Api\GameApi;
use Common\Api\PayApi;
use Com\Wechat;
use Com\WechatAuth;
use Org\JtpaySDK\Jtpay;
use Org\SwiftpassSDK\Swiftpass;
use Org\WeiXinSDK\WeiXinOauth;
use Org\WeiXinSDK\Weixin;
class PayController extends Sub... |
<?php
/**
* Atom Feed Template for displaying Atom Posts feed.
*
* @package WordPress
*/
header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
$more = 1;
?>
<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
<feed
xmlns="http://www.w3.org/200... |
<?php
session_start();
if (isset($_SESSION['priusername'])){
}
else {
header("location: index.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!--favicon-->
<link rel="shortcut icon" href="favicon.ico" type="image/icon">
<link rel="icon" href="favicon.ico" type="image/icon">
... |
<?php
use App\Http\Livewire\Home\Home;
use App\Http\Livewire\Auth\Login;
use App\Http\Livewire\Auth\Register;
use App\Http\Livewire\Category\Categories;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|----------------------------------... |
<?php
namespace Bolt\Storage\Entity;
use ArrayAccess;
use JsonSerializable;
/**
* An abstract class that other entities can inherit. Provides automatic getters and setters along
* with serialization.
*/
abstract class Entity implements ArrayAccess, JsonSerializable
{
use MagicAttributeTrait;
use EntitySeri... |
<?php
namespace Lukaswhite\TemporaryFiles\Events;
/**
* Class TemporaryFileCreated
*
* This event gets fired when a new temporary file gets created.
*
* @package Lukaswhite\Events
*/
class TemporaryFileCreated extends TemporaryFileEvent
{
} |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>思途CMS4.0</title>
{template 'stourtravel/public/public_min_js'}
{php echo Common::getScript("DatePicker/WdatePicker.js,config.js"); }
{php echo Common::getCss('base.css,sms_dialog.css,style.css'); }
</head>
<body >
<div class="s-main">
... |
<!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="Khóa Học Lập Trình Laravel Framework 5.x Tại Khoa Phạm">
<meta name="author" con... |
@extends('layouts.app')
@section ('scripts')
@parent
<script src="https://cdn.ckeditor.com/ckeditor5/12.3.1/classic/ckeditor.js"></script>
<script src={{asset('js/formEnable.js')}}> </script>
<script>
ClassicEditor
.create( document.querySelector( '#editor' ) )
.catch( ... |
<?php
namespace App\Repositories;
interface BlogRepositoryInterface{
public function getAll();
public function getById($id);
public function create(array $attributes);
public function update($id , array $attributes);
public function delete($id);
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateResultsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('results', funct... |
<?php
/**
* Create, edit and get keyboard for VK
* @author slmatthew
* @package keyboard
*/
class Keyboard {
/**
* Should VK hide the keyboard after first use
* @var bool
*/
public $one_time = false;
/**
* Should keyboard be inline
* @var bool
*/
public $inline = false;
/**
* @ignore
*/
p... |
<table border='1' class='content'>
<tr>
<td colspan='11'>
<div id='notif'>
</div>
</td>
</tr>
<tr>
<th>NIS</th>
<th>Nama</th>
<th>Kelas</th>
<th>Angkatan</th>
<th>Tanggal Lahir</th>
<th>Agama</th>
<th>Alamat</th>
<th>Jenis Kelamin</th>
<th>Wali Murid</th>
<th>F... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateArticleCommentsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('article__comments', function(Blueprint $table)
{
$table->increments... |
<?php
class EtapeTermeneController extends BaseController
{
public function getEtape($id_obiectiv = null)
{
$sql = "SELECT
epl.id_etapa,
CONCAT(epl.termen_predare, ' ', um_timp.denumire) AS termen_predare,
epl.id_um_timp,
(CASE
WHEN epl.... |
@extends('admin.admin_layouts')
@section('admin_content')
<!-- ########## START: MAIN PANEL ########## -->
<div class="sl-mainpanel">
<nav class="breadcrumb sl-breadcrumb">
<a class="breadcrumb-item" href="{{ route('admin.home') }}">Dapple Park</a>
<span class="breadcrumb-item active">Stock</span>... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Fortify\TwoFactorAuthenticatable;
use Laravel\Jetstream\HasProfilePhoto;
use La... |
<?php
/**
This file is part of WideImage.
WideImage is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
W... |
@extends('layouts.admin')
@section('content')
@push('css')
<meta name="csrf-token" content="{{ csrf_token() }}">
@endpush
<div class="kt-portlet kt-portlet--mobile">
<div class="kt-portlet__head kt-portlet__head--lg">
<div class="kt-portlet__head-label">
<span class="kt-portlet__head-icon"><i class="fab fa-gg-... |
<div class="w3-row" id="">
<div class="w3-col l12 s6" style="background-color: #C0AB8E;">
<h1 class="text-right" id="jt" style="padding-right: 15px;">
<br><br><br>
<b style="font-size:22px;color:#61361e">CONCERNS</b>
<b style="font-size:32px;color:#f4f0bd">QUERIES</b>
</h1... |
<?php
use yii\db\Schema;
use yii\db\Migration;
class m150123_145348_user extends Migration
{
public function up()
{
}
public function down()
{
echo "m150123_145348_user cannot be reverted.\n";
return false;
}
} |
<?php
use App\Models\File;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your ap... |
<?php
declare(strict_types=1);
namespace Scn\EvalancheSoapStruct\Struct\Statistic;
/**
* Represents a statistic about a Mailing.
* Contains Information about Profile- Count, Duplicate- Count, Blacklists Count, Hard and Softbounces, Impressions.
* Also includes MediaStatisticItems, ArticleStatisticItems, and LinkS... |
@extends('layouts.app')
@section('content')
<!-- content -->
<div class="container mt-5">
<div class="row">
<!-- Image -->
<div class="col-12 col-lg-6">
<div class="card bg-light mb-3">
<div class="card-body">
<a href="... |
<?php
error_reporting(E_ALL | E_STRICT);
ini_set("display_errors", 1);
$siteurl = ''; |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use Illuminate\Http\Request;
use App\Customer;
use Hash;
use Crypt;
use Mail;
class ForgotPasswordController extends Controller
{
public function ForgotPassword(Request $reque... |
<?php
// A test class should implement ITest
// Typically it has a 1:1 relation with a class you want to unit test
class testExample1 implements Tigrez\IExpect\ITest{
// The only method ITest forces you to implement is run()
public function run(Tigrez\IExpect\Assertion $I){
$I->expect(true)->equals(true);
$I... |
<?php
/**
* Part of the Stripe package.
*
* NOTICE OF LICENSE
*
* Licensed under the 3-clause BSD License.
*
* This source file is subject to the 3-clause BSD License that is
* bundled with this package in the LICENSE file.
*
* @package Stripe
* @version 2.2.10
* @author Cartalyst LLC
* @license... |
<?php namespace App\Services\RequestManager;
use App\Core\Version;
use App\Models\Activity\Activity;
use Illuminate\Database\Eloquent\Collection;
/**
* Class ActivityElementValidator
* @package App\Services\RequestManager
*/
class ActivityElementValidator
{
/**
* @var activity element validator instance
... |
<?php
namespace App\Http\Controllers\api\user;
use App\Http\Controllers\Controller;
use App\Models\Property;
use App\Models\PropertyRatingAndReview;
use App\Models\Wallet;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Validator;
use Tymon\JWTAuth\Facades... |
<?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 ECSPrefix20220418\Symfony\Component\OptionsResolver\Debug;
use ECSPrefix... |
<!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="">
<title>Turtle Paradise</title>
<!-- Font Awesome Icons -->
<link href="vendor/fonta... |
<?php
declare(strict_types=1);
namespace College\Tests\Classrooms;
use PHPUnit\Framework\TestCase;
use College\Classrooms\{ ClassroomsDto, ClassroomsModel, ClassroomsController };
class ClassroomsControllerTest extends TestCase
{
private array $input;
private ClassroomsDto $dto;
private ClassroomsModel ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
namespace AEngine\Orchid\Filter\Lead;
use AEngine\Orchid\Filter\FilterRule;
use AEngine\Orchid\Annotation\Target;
/**
* @Target('PROPERTY')
*/
class StrlenBetween extends FilterRule
{
/**
* @var integer
*/
public $min;
/**
* @var integer
*/
public $max;
/**
* @v... |
@extends('layouts.baseori')
@section('title','ORIENTACIÓN EDUCATIVA')
@section('content')
<generar-report-oe userlogeado = "{{auth()->user()}}"></generar-report-oe>
<!--Seccion lateral-->
<section class="contenedor-secciones">
<!--card info personal-->
<card-info-personal></card... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ExpertTestIndexRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize(): bool
{
return true;
}
/**... |
@extends('layouts.template')
@section('content')
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h4 class="title-header">Rekap Jumlah Penduduk Perbulan</h4>
<hr>
<form action="{{route('mutasi.cetak_rekap')}}" method="POS... |
<?php
function route_class()
{
return str_replace('.', '-', Route::currentRouteName());
}
function category_nav_active($category_id)
{
return active_class((if_route('categories.show') && if_route_param('category', $category_id)));
}
function make_excerpt($value, $length = 200)
{
$excerpt = trim(preg_repl... |
<?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
header ("content-type: text/xml");
$xtn = array_key_exists('xtn', $_GET) ? $_GET['xtn'] : NULL;
$mode = array_key_exists('mode', $_GET) ? $_GET['mode'] : NULL;
$url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
if (!@include_once(getenv('FREEPBX_CONF') ? getenv('FREEPBX_CONF') : '/etc/freepbx.conf')) {
... |
<?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\Component\Core\Model;
use Sylius\Component\Channel\Model\ChannelsAwareInterface;
use... |
<?php
namespace App\Http\Controllers;
use App\Post;
use App\Transformers\PostTransformer;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class PostController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public fu... |
<div
x-cloak
x-data="{
isOpen: false,
isError: @if ($type == 'error') true @elseif ($type == 'success') false @endif,
messageToDisplay: '{{ $message }}',
showNotification(message) {
this.isOpen = true;
this.messageToDisplay = message;
setTime... |
<!DOCTYPE html>
<html lang="{{ config('app.locale') }}">
<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>1669 Navigation</title>
<!-- Fonts -->
<link href... |
<?php
include_once __DIR__ . '/model/User.php';
if (!isset($_SESSION)) session_start();
include_once __DIR__ . '/controller/ListCtl.php';
include_once __DIR__ . '/controller/ProductCtl.php';
$listCtl = new ListCtl();
$productCtl = new ProductCtl();
$arr_list_service = $listCtl->getService();
$arr_list_product = $listCt... |
<?php
namespace RectorPrefix20210904;
if (\class_exists('Tx_Extbase_MVC_Exception_InvalidRequestMethod')) {
return;
}
class Tx_Extbase_MVC_Exception_InvalidRequestMethod
{
}
\class_alias('Tx_Extbase_MVC_Exception_InvalidRequestMethod', 'Tx_Extbase_MVC_Exception_InvalidRequestMethod', \false); |
<!DOCTYPE html>
<html lang="en">
<!?=pre($history)?>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Order History</title>
</head>
<body>
<div class="... |
<?php
include("database/db_conection.php");//make connection here
if(isset($_POST['custype']))
{
//$prefix = "DAPL/";
//$postfix = "/";
$custype=$_POST['custype'];//same
$description=$_POST['description'];//same
$check_custype_query="SELECT custype FROM custype where custype = '$custype'";
//echo "ch... |
@extends('admin.master')
@section('module_title')
<section class="content-header">
<h1> Manage Sub Category </h1>
<ol class="breadcrumb">
<li><i class="fa fa-dashboard"></i> Online Courses </li>
<li class="active"> Manage Sub Category </li>
</ol>
</section>
@stop
@section('admin_content')
... |
<div class="footer">
<div class="container">
<b class="copyright">© {{ date('Y') }} - Library Management System </b> All rights reserved by Buggbear.
</div>
</div> |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\PhotoLibrarySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Photo Libraries';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="photo-library-index">
<h1><?= H... |
<?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 an... |
<?php declare(strict_types=1);
namespace Dms\Web\Expressive\Util;
use Dms\Core\Module\IAction;
use Illuminate\Contracts\Config\Repository;
/**
* The action safety checker class.
*
* @author Elliot Levin <elliotlevin@hotmail.com>
*/
class ActionSafetyChecker
{
/**
* @var string[]
*/
protected $s... |
<?php
declare(strict_types=1);
namespace FluxSE\PayumStripe\Action\Api\Resource;
use FluxSE\PayumStripe\Request\Api\Resource\DeleteInterface;
use Stripe\ApiResource;
interface DeleteResourceActionInterface extends ResourceActionInterface
{
public function deleteApiResource(DeleteInterface $request): ApiResource... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateReviewsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('reviews', funct... |
<?php
declare(strict_types=1);
namespace Rector\CodeQuality\Rector\Isset_;
use PhpParser\Node;
use PhpParser\Node\Arg;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\BinaryOp\BooleanAnd;
use PhpParser\Node\Expr\BinaryOp\NotIdentical;
use PhpParser\Node\Expr\FuncCall;
use PhpParser\Node\Expr\Isset_;
use PhpParser\N... |
<?php
namespace JCrowe\PHPCas\CasClient;
use GuzzleHttp\Client as GuzzleClient;
use JCrowe\PHPCas\CasClient\Requests\AbstractRequest;
use JCrowe\PHPCas\CasClient\ResponseHandlers\BaseRequestHandler;
use JCrowe\PHPCas\Contracts\RedirectorContract;
use JCrowe\PHPCas\Factories\RequestResponseFactory;
use JCrowe\PHPCas\... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Mportofolio extends CI_Model{
function getArtikel($id){
$this->db->where('id_portofolio', $id);
$query = $this->db->get('portofolio');
return $query->row();
}
function getThreeInformasi(){
... |
--TEST--
swoole_coroutine_system: waitEvent
--SKIPIF--
<?php require __DIR__ . '/../include/skipif.inc';
skip_if_offline();
?>
--FILE--
<?php declare(strict_types = 1);
require __DIR__ . '/../include/bootstrap.php';
use Swoole\Coroutine;
Coroutine\run(function () {
$client = stream_socket_client('tcp://www.qq.com... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "galeriaimage".
*
* @property int $id
* @property string $galeriaImg
* @property int $id_galeria
*/
class Galeriaimage extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
... |
<?php
namespace App\models;
use Illuminate\Database\Eloquent\Model;
class Purchase extends Model {
protected $table = 'purchase';
public function __construct() {
}
public function product() {
return $this->belongsTo('Products', 'product_id ');
}
} |
<?php
namespace Mooc;
use Util\Curl;
class User extends Course
{
/**
* User constructor.
* @param $cookie
* @param $CSRF
* @param $baseUrl
*/
public function __construct($cookie, $CSRF, $baseUrl)
{
parent::__construct($cookie,$CSRF,$baseUrl);
}
/**
* 获取学校课程I... |
<?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 Illuminate\Http\Request;
class MuridController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Display a listing of ... |
@extends('layouts.main')
@section('header')
<h1 id="page-header"></h1>
@endsection
@section('content')
<plan></plan>
@endsection |
<?php
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
... |
<!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">
<meta name="csrf-token" content="{{ csrf_token() }}">
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<span class="panel-title">Компания</span>
</div>
<div ... |
<?php
use wscvua\ws_admin_simple\Module;
use wscvua\ws_admin_simple\widgets\grid\GridView;
use yii\widgets\ActiveForm;
use yii\helpers\Html;
/* @var $this yii\web\View */
$this->title = Module::t('app','Edit var_name').': '.$model->var_name;
$this->params['breadcrumbs'][] = ['label' => Module::t('app','Blog'), 'url' =>... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasFactory,... |
<div>
{{-- {{ dd($procecings) }} --}}
<div class="row">
<div class="col-12">
<div class="card-header">
<h4></h4>
<div class="card-header-action">
<button wire:click="$emit('back')"
class="btn btn-danger btn-icon i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.