text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateKomentarPertanyaanTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('kome... |
khs2.innoi.kr<br>
Create : 2021-05-17 13:20:04<br>
<?phpinfo(); |
<script>
function rupiah2(angka) {
var rupiah = '';
var angkarev = angka.toString().split('').reverse().join('');
for (var i = 0; i < angkarev.length; i++)
if (i % 3 == 0) rupiah += angkarev.substr(i, 3) + '.';
return 'Rp. ' + rupiah.split('', rupiah.length - 1).reverse().join('');
}
</script>
<?php
$total... |
<?php declare(strict_types=1);
/*
* (c) shopware AG <info@shopware.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SwagMigrationNext\Test\Profile\Shopware55\Converter;
use PHPUnit\Framework\TestCase;
use Shopware\Core\F... |
<?php
namespace App\Model\Table;
use App\Model\Entity\Post;
use Cake\ORM\Query;
use Cake\ORM\RulesChecker;
use Cake\ORM\Table;
use Cake\Validation\Validator;
/**
* Posts Model
*
* @property \Cake\ORM\Association\BelongsTo $Users
*/
class PostsTable extends Table
{
/**
* Initialize method
*
* @... |
<!-- Page Content -->
<div>
@yield('content')
</div>
<!-- /.container --> |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:83:"D:\phpStudy\PHPTutorial\WWW\yzcd\public/../application/admin\view\example\save.html";i:1572414689;s:72:"D:\phpStudy\PHPTutorial\WWW\yzcd\application\admin\view\common\meta.html";i:1552356108;s:72:"D:\phpStudy\PHPTutorial\WWW\yzcd\application\admin\view\common\edit.... |
<div class="page-header">
<h2><?= t('Edit a tag') ?></h2>
</div>
<form method="post" class="popover-form" action="<?= $this->url->href('TagController', 'update', array('tag_id' => $tag['id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
<?= $this->form->hidden('id', $values) ?>
<?= $this->form->h... |
<?php
namespace App\Http\Controllers;
use App\Models\Author;
use App\Models\Book;
use Illuminate\Http\Request;
class BookController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
// mengambil dat... |
<?php
/**
* This file is part of CodeRunner
*
* This source file is subject to the BSD 3-Clause License that is bundled
* with this source code in the file LICENSE.
*
* @category CodeRunner
* @author suzunone<suzunone.eleven@gmail.com>
* @copyright Project CodeRunner
* @license BSD 3-Clause License
... |
<?php
namespace OswisOrg\OswisCalendarBundle\Entity\NonPersistent;
use Doctrine\Common\Collections\Collection;
use OswisOrg\OswisCalendarBundle\Entity\Registration\RegistrationFlag;
class FlagsByType
{
/**
* Gets array of flags aggregated by their types.
*
* @param Collection $flags
*
... |
<nav class="navbar navbar-top navbar-horizontal navbar-expand-md navbar-dark">
<div class="container px-4">
<a class="navbar-brand" href="{{ route('home') }}">
<img src="{{ asset('argon') }}/img/brand/black.png" />
</a>
<button class="navbar-toggler" type="button" data-toggle="co... |
<div class="main-content">
<section class="section">
<div class="section-header">
<h1>Filter Laporan Transaksi</h1>
</div>
</section>
<form method="POST" action="<?php echo base_url('admin/laporan') ?>">
<div class="form-group">
<label>Dari Tanggal</label... |
<?php
namespace Database\Factories;
use App\Models\Email;
use Illuminate\Database\Eloquent\Factories\Factory;
class EmailFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Email::class;
/**
* Define the model's de... |
<!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">
<!-- Load icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\vod\V20190610\Models\GetMezzanineInfoResponse\mezzanine;
use AlibabaCloud\Tea\Model;
class audioStreamList extends Model {
protected $_name = [
'index' => 'Index',
'codecName' => 'CodecName',
'codecLon... |
<?php
require('mysql_table.php');
class PDF extends PDF_MySQL_Table
{
function Header()
{
//Title
$this->SetFont('Arial','',18);
$this->Cell(0,6,'World populations',0,1,'C');
$this->Ln(10);
//Ensure table header is output
parent::Header();
}
}
//Connect to database
mysql_connect('localhost','r... |
<table class="table">
<thead>
<tr>
<th>Cantidad</th>
<th>Detalles</th>
<th>Valor</th>
<th>Gestión</th>
</tr>
</thead>
<tbody>
@foreach ($equipo as $e)
<tr>
<td>{{ $e->unidad }}</td>
<td>{{ $e->nombre }} {{ $e->marca ... |
@extends('maindashboard')
@section('kontentadmin')
<h1><?php echo $data['title'] ?></h1>
<ol class="breadcrumb" style="font-size: 15px">
<li>
<a href="#"><span class="fa fa-home"></span> Home</a>
</li>
<li>
<a href="#"><span class="fa fa-book"></span> Siswa</a>
</li>
<li>
<a href="#"><span class... |
<?php
namespace Nogrod\eBaySDK\Trading;
use Nogrod\XMLClientRuntime\Func;
/**
* Class representing ListingTipFieldType
*
* This type is deprecated.
* XSD Type: ListingTipFieldType
*/
class ListingTipFieldType implements \Sabre\Xml\XmlSerializable, \Sabre\Xml\XmlDeserializable
{
/**
* This field is depr... |
<?php
declare(strict_types=1);
namespace MyApp\Shared\Infrastructure;
use CodelyTv\Shared\Domain\RandomNumberGenerator;
final class PhpRandomNumberGenerator implements RandomNumberGenerator
{
public function generate(): int
{
return random_int(1, 5);
}
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBannersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('banners', funct... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="venchik-form col-sm-offset-3">
<?php $form = ActiveForm::begin(['options' => ['class' => 'col-sm-8 bg-img']]); ?>
<div class="col-sm-6">
<?= $form->field($model, 'v... |
<?php
namespace Gnugat\Redaktilo\Exception;
use Gnugat\Redaktilo\Text;
/**
* Thrown if the given line number isn't a positive integer strictly inferior to
* the total number of lines in text.
*
* @api
*/
class InvalidLineNumberException extends InvalidArgumentException
{
/** @var mixed */
private $lineN... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateConfigsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('configs', funct... |
<?php
use Illuminate\Database\Seeder;
use App\Kecamatan;
class KecamatansTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Kecamatan::create([
'kabupaten_id'=>'1',
'name'=>'ABIANSEMAL',
'sl... |
<?php
header('content-type: application/json; charset=utf-8');
if (!isset($_SERVER['HTTP_X_CSRFTOKEN']) || !$currentUser->validateCSFRToken($_SERVER['HTTP_X_CSRFTOKEN'])) {
echo json_encode(array('error' => 'true', 'result' => 'Invalid CSRF Token' ));
exit;
}
$definition = array(
'data' => new ezcInputFormDefinit... |
<?php
namespace App\Form;
use App\Entity\Pays;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class PaysType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
... |
<?php
/**
* Increases the components reference counter [deprecated]
*
* @phpstub
*
* @return void
*/
function com_addref()
{
} |
<?php
namespace Psalm\LaravelPlugin\Fakes;
use Barryvdh\LaravelIdeHelper\Console\MetaCommand;
class FakeMetaCommand extends MetaCommand
{
/**
* @return void
*/
protected function registerClassAutoloadExceptions()
{
// by default, the ide-helper throws exceptions when it cannot find a cl... |
<?php
//code
$square = new Square();
$square->a = 10;
$square->b = 20;
printf('Square: %s' . \PHP_EOL, $this->calculateSquare());
printf('Is quadrate: %s' . \PHP_EOL, ($this->isQuadrate()) ? 'yes' : 'no'); |
<?php
namespace _PhpScoper5d8cb17438769\GuzzleHttp\Exception;
class TransferException extends \RuntimeException implements \_PhpScoper5d8cb17438769\GuzzleHttp\Exception\GuzzleException
{
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Category;
use App\RentCategory;
class AsesoriaController extends Controller
{
public function asesoria()
{
$rents = RentCategory::get();
$categories = Category::has('products')->get();
return view('sections.asesoria')->... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMayanHerbal extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mayan_herbal', f... |
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of La... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductPropertyValuesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('p... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
... |
<?php
session_start();
//set the session userdata if non-existant
if(!isset($_SESSION['userdata']))
{
$_SESSION['userdata'] = array();
}
//set newFlashdata if non-existent
if(!isset($_SESSION['newFlashdata']))
{
$_SESSION['newFlashdata'] = array();
}
//empty out the "oldFlashdata" field
$_SESSION['oldFlashdata'] ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateAnggotaTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('anggotas', function (Blueprint $table) {
$table->engine = 'InnoDB';
$table-... |
<?php
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
?>
/******************************************************************************/
/* general tags */
body {
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-family: <?php echo $GLOBALS['cfg']['F... |
<?php
/*
* This file is part of the core-bundle package.
*
* (c) 2018 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\CoreBundle\Navigation\MaterialDesignIconicFont;
use WBW\Bundle\CoreBundle\Navigat... |
<?php
namespace ContainerJkmjU67;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getForm_TypeExtension_Form_Trans... |
<?php
/**
* Copyright 2021 Catch-e Pty Ltd.
*
* 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 o... |
<?php
function index(){
//先看看此用户是否开启主页
$pdo = get_pdo();
$res = $pdo -> query('select zhuye from '.DB_PRE."user where user_id = '{$_GET['k']}' limit 1",'');
if(empty($res) || $res['zhuye'] == '1')
alert_2(0,'您所访问的用户不存在或未开通主页','index.php',3000);
//获取用户信息
} |
<?php
use Illuminate\Http\Request;
use App\Post;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the ... |
<?php
namespace App\Support\Http\Controllers;
abstract class ModelApiController extends ApiController
{
use HasModelApi;
} |
<?php
/*
* Codejudge
* Copyright 2012, Sankha Narayan Guria (sankha93@gmail.com)
* Licensed under MIT License.
*
* Installation PHP Script
*/
require_once('functions.php');
if(isset($_POST['host'])) {
// create file 'dbinfo.php'
$fp = fopen('dbinfo.php','w');
$l1 = '$host="'.$_POST['host'].'";';
$l2 = '... |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Unit\Security;
use UnitTester... |
<div class="row mb-3">
<div class="col-12">
<h5 class="mb-3"><?php echo get_phrase('contact'); ?></h5>
<?php if($listing_details['website'] != ""){ ?>
<a href="<?php echo $listing_details['website']; ?>" target="blank" class="btn_1 full-width outline wishlist social-button" id = "btn-wishlist-social"><i class="... |
<?php
/**
* Custom template tags for this theme
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package UnderscoresSeed
*/
if ( ! function_exists( 'underscores_seed_posted_on' ) ) :
/**
* Prints HTML with meta information for the current post-date/time.
*/
function u... |
<?php
require_once "client.php";
use Mocean\Client;
use Mocean\Client\Credentials\Basic;
use Mocean\Command\Mc;
use Mocean\Command\McBuilder;
use Mocean\Command\ContentBuilder\WaStickerContentBuilder;
/** @var $client */
/** @var $dlr_url */
$textContent = WaStickerContentBuilder::create()->setRichMediaUrl("https:... |
<?php
class evaluacion_model extends CI_Model {
private $table_preguntas = "eval_preguntas";
private $table_respuestas = "eval_respuestas";
private $table_evaluaciones = "eval_evaluaciones";
function __construct()
{
// Call the Model constructor
parent::__construct();
$this->load->helper('date');
... |
<style>
tr,th{
border: 1px solid black;
}
</style>
<script>
$(document).ready(function() {
$( "#paymentDate" ).pickadate();
});
</script>
<div class='col s12 offset-s2'>
<form>
<div id='abstract'>
<div class='row'>
<div class='col s6'>
<h5... |
<?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\CssSelector\XPath;
/**
* XPath expression translator... |
<?php
namespace App\Http\Controllers\Backend;
use App\Http\Controllers\Controller;
use App\Models\ShipForMe;
use Illuminate\Http\Request;
use DB;
class ShipOrderProcessController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public ... |
<?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\Bundle\ThemeBundle\Collector;
use Sylius\Bundle\ThemeBundl... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. Y... |
<?php
/**
* Created by PhpStorm.
* User: Samuel
* Date: 5/8/2018
* Time: 10:29 AM
*/
namespace Amadeus\Client\RequestOptions\Fare\GetFareFamilyDescription;
use Amadeus\Client\LoadParamsFromArray;
class ItineraryInformation extends LoadParamsFromArray
{
/** Flight origin IATA Code
* @param string
*... |
<?php
namespace App\Http\Controllers\Frontend;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\farmingtip;
class TipsController extends Controller
{
public function farmingtips()
{
$categories=farmingtip::get();
return view ('frontend.layouts.tips',compact('ca... |
<?php
namespace Spatie\LaravelIgnition;
use Illuminate\Contracts\Debug\ExceptionHandler;
use Illuminate\Foundation\Application;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\ServiceProvider;
use Illuminate\View\ViewException;
use Laravel\Octane\Events\RequestReceived;
use Laravel\Octane\Events\TaskReceiv... |
<?php
/**
* @package Grav\Framework\RequestHandler
*
* @copyright Copyright (c) 2015 - 2022 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/
declare(strict_types=1);
namespace Grav\Framework\RequestHandler\Exception;
use Psr\Http\Message\ServerRequestInter... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\reklamir\models\Reklamir */
$this->title = 'Загрузить рекламу';
$this->params['breadcrumbs'][] = ['label' => 'Реклама', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="reklamir-create">
<h1><?... |
<?php $__env->startSection('title'); ?>
Dashboard
<?php $__env->stopSection(); ?>
<?php $__env->startSection('pagestyle'); ?>
<link rel="stylesheet" href="<?php echo e(asset('/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css')); ?>">
<?php $__env->stopSection(); ?>
... |
<?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 RectorPrefix20210827\Symfony\Component\Finder\Iterator;
/**
* CustomFil... |
<?php
interface FormatterInterface
{
}
class FormatString implements FormatterInterface
{
}
class FormatNumber implements FormatterInterface
{
}
/**
* Class StaticFactory
*/
final class StaticFactory
{
public static function factory(string $type): FormatterInterface
{
if ($type == 'number') {
... |
<li class="winner_page">
<div class="pages ">
<?php if ($previous_page !== FALSE): ?>
<a class="winner_page_down" href="<?php echo $page->url($previous_page); ?>">«</a>
<?php endif; ?>
<?php
if ($total_pages < 8)
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Skill extends Model
{
protected $table = 'skill';
public $timestamps = false;
public function ability(): BelongsTo
{
return $this->belongsTo(Ability::class);
}
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue API supports an assortment of back-ends via a single
| API, giving y... |
<?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 App\Console\soMigrations;
class CreateMSTITEMTable extends soMigrations
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('MI1MAS', function ($table) {
$table->integer('M1COMPIY')->nullable(false)->comment('System Comp... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<form actio... |
<?php
//expected -30000 mod 2^32 = 4294937296, and not -30000
//because we can represent 4294937296 with our PHP int type
print_r(unpack('I', pack('L', -30000))); |
<table id="mytable" class="table table-striped table-bordered dt-responsive nowrap" style="width:100%">
<thead>
<tr>
<th>No</th>
<th>Tahun Ajaran</th>
<th>Semester</th>
<th>Bidang</th>
<th>Is Active</th>
<th>Created By</th>
... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AntChain\DONPA\Models;
use AlibabaCloud\Tea\Model;
class PersonData extends Model
{
// 姓名
/**
* @example 刘猫本
*
* @var string
*/
public $userName;
// 待修复 sha256 加密身份证号
/**
* @example 384a3bdc4347348b9... |
<?php
/**
* LaraClassified - Classified Ads Web Application
* Copyright (c) BedigitCom. All Rights Reserved
*
* Website: http://www.bedigit.com
*
* LICENSE
* -------
* This software is furnished under a license and may be used and copied
* only in accordance with the terms of such license and with the inclusio... |
<?php if($query): ?>
<div id="comments_tab">
<?php foreach($query as $comment): ?>
<div class="panel panel-default">
<div class="panel-heading"><b><?php echo $comment->comment_username; ?></b> on <?php echo date('M d, Y',strtotime($comment->comment_date)); ?></div>
<div class="panel-body">
<?php echo $comment->... |
<?php
namespace EvenementBundle\Repository;
/**
* participationRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class participationRepository extends \Doctrine\ORM\EntityRepository
{
} |
<?php
// WARNING! THIS IS A GENERATED FILE, PLEASE DO NOT EDIT!
namespace gen\Migrations;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Reactor\Hierarchy\Contract\Migration\MigrationContract;
class HierarchyCreateProductSourceTable extends Migration implements Migration... |
<?php
include dirname(dirname(__FILE__))."/conexion/conexion_consulta.php";
$rif=$_POST['rif'];
$razon=$_POST['razon'];
$direccion=$_POST['direccion'];
$telefono=$_POST['telefono'];
if(!mysql_query("update clientes set razon='".$razon."', direccion='".$direccion."', telefono='".$telefono."' where rif='".$_P... |
<?php
namespace PHPAlgorithms\GraphTools\Abstracts;
use PHPAlgorithms\GraphTools\Interfaces\BuilderInterface;
use PHPAlgorithms\GraphTools\Traits\AllowedPropertiesTrait;
/**
* Class BuilderAbstract
* @package PHPAlgorithms\GraphTools\Abstracts
*/
abstract class BuilderAbstract implements BuilderInterface
{
us... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Hash;
use Session;
use App\Models\User;
use Illuminate\Support\Facades\Auth;
class CustomAuthController extends Controller
{
public function index()
{
return view('auth.login');
}
public function customLogin(Requ... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace app\components\CustomGii;
use yii\web\AssetBundle;
/**
* This declares the asset files required by Gii.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @s... |
<?php
namespace Pragma\Forms\Fields;
use Pragma\Forms\Fields\AbstractTextableField;
class PasswordField extends AbstractTextableField{
public function __construct($params = []){
parent::__construct($params);
$this->setType('password');
}
} |
<?php
namespace Whatsloan\Http\Requests\Admin\V1;
use Whatsloan\Http\Requests\Request;
class UpdateBankDocumentRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/*... |
@extends('admin.layout.layout')
@section('title')
Add Category
@endsection
@section('content')
<section class="content-header">
<h1 style="text-align: center;"> Add Category </h1>
<ol class="breadcrumb">
<li><a href="{{url('/adminpanel')}}"><i class="fa fa-dashboard"></i> Home</a></li>
... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="{{asset('storage/css/estils.css')}}">
<title>Home</title>
... |
<?php
declare(strict_types=1);
/*
* This file is part of the Doctrine Behavioral Extensions package.
* (c) Gediminas Morkevicius <gediminas.morkevicius@gmail.com> http://www.gediminasm.org
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
... |
<?php
namespace Gnuk\Iframe\Validator;
/**
* Checker class
* @author Anthony
* @since 02/10/2014
*/
interface Checker
{
public function getType();
public function getIframe();
public function isValid();
public function getParameters();
public function getParameter($key);
public function se... |
<?php
namespace WSPturismo\Exceptions;
use Exception;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that should not be reported.
*
* @var array... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
* Name: flexi auth Config
*
* Author:
* Rob Hussey
* flexiauth@haseydesign.com
* haseydesign.com/flexi-auth
*
* Copyright 2012 Rob Hussey
*
* Previous Authors / Contributors:
* Ben Edmunds, benedmunds.com
* Phil Sturgeon, philsturgeon.co.uk... |
<?php
namespace App\Listeners;
use App\Events\User\Registered;
use App\Jobs\SendEmailJob;
use Illuminate\Foundation\Bus\DispatchesJobs;
class UserRegisteredNotifications
{
use DispatchesJobs;
/**
* Handle the event.
*
* @param Registered $event
* @return void
*/
public function... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
INFO - 2015-08-22 01:46:36 --> Config Class Initialized
INFO - 2015-08-22 01:46:36 --> Hooks Class Initialized
DEBUG - 2015-08-22 01:46:37 --> UTF-8 Support Enabled
INFO - 2015-08-22 01:46:37 --> Utf8 Class Initialized
INFO - 2015-08-22 01:46:37 ... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\SalesRule\Test\Unit\Model\ResourceModel;
use Magento\SalesRule\Model\ResourceModel\ReadHandler;
use Magento\SalesRule\Model\ResourceModel\Rule;
use Magento\Framework\EntityManager\MetadataPool;
use... |
<?php
class PresencesController extends \BaseController {
public function index()
{
$curr_date = date('Y-m-d');
$teaches = Teach::where('project_id','=',Auth::user()->curr_project_id)
->where('location_id','=',Auth::user()->location_id)
->where('course_date','=',$curr_date)
->get();
$cours... |
<?php
namespace App\Http\Controllers;
use DB;
use Illuminate\Http\Request;
use App\Http\Requests\CheckRegisterForm;
use App\Http\Requests\CheckAuthForm;
use App\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cache;
class AuthController extends Controlle... |
<?php
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Cviebrock\EloquentSluggable\Sluggable;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
class Post extends Model
{
use Sluggable;
use HasFactor... |
<?php
namespace RS\DiExtraBundle\Tests\Functional\Bundles\Foo\Entity;
use Doctrine\ORM\Mapping as ORM;
use RS\DiExtraBundle\Tests\Functional\Bundles\Foo\Repository\ProductRepository;
/**
* @ORM\Entity(repositoryClass=ProductRepository::class)
*/
class Product
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()... |
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/poly... |
@extends('adminlte::master')
@section('adminlte_css')
<link rel="stylesheet"
href="{{ asset('vendor/adminlte/dist/css/skins/skin-' . config('adminlte.skin', 'blue') . '.min.css')}} ">
@stack('css')
@yield('css')
@stop
@section('body_class', 'skin-' . config('adminlte.skin', 'blue') . ' sidebar-m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.