text
stringlengths
2
1.03M
<?php /** * Elasticsearch PHP client * * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Le...
@extends('layouts.app') @section('main-row') {{-- Side Area --}} @include('includes.sidebar') {{-- Main Area --}} @endsection
<?php /** * BMin JS/CSS/LESS Compiler HTML5 Boilerplate Demo Page * * Copyright (C) 2013 Jukka Hankaniemi - Blowback.fi * Licensed under MIT http://opensource.org/licenses/MIT */ error_reporting(E_ERROR | E_WARNING | E_PARSE); require_once 'bmin/bmin.class.php'; $bmin = new bmin(include 'fileset.php'); $...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php $contents = new Staffroom_magazine_contents; get_header(); ?> <?php /* The loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <main id="site-main"> <section class="magazine-title"> <?php //get the title $title = $post->post_title; //spilt the title on the | $pieces = explode("|", $tit...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> ERROR - 2018-12-14 01:50:35 --> 404 Page Not Found: An-theme/ando ERROR - 2018-12-14 01:50:37 --> 404 Page Not Found: An-theme/ando ERROR - 2018-12-14 01:50:37 --> 404 Page Not Found: An-theme/ando ERROR - 2018-12-14 01:50:47 --> 404 Page Not Fou...
<?php namespace Yiisoft\Validator\Tests\Rule; use PHPUnit\Framework\TestCase; use Yiisoft\Validator\Rule\Email; /** * @group validators */ class EmailTest extends TestCase { public function testvalidate(): void { $validator = new Email(); $this->assertTrue($validator->validate('sam@rmcreat...
@extends('layouts.master') @section('content') <div class="row"> <div class="col-md-4 col-md-offset-4"> <h1>Sign Up</h1> @if(count($errors)>0) <div class="alert alert-danger"> @foreach($errors->all() as $error) <p>{{ $error }}</p> @end...
@extends('layouts.main') @section('content') <div id="admin"> <h1>Categories Admin Panel</h1><hr/> <p>You can create, view, and delete categories.</p> <h2>Categories</h2><hr/> <ul type="disc"> @foreach($categories as $category) <li> ...
<?php // autoload_files.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname(dirname(dirname($vendorDir))); return array( '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFactoringPurchaseHistoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::crea...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Bill extends Model { use HasFactory; protected $table = 'accoutant_order'; public $timestamps = false; protected $primaryKey = "Id"; protected $guarded = []; ...
<tr id="'+count+'"><td class="form-group"><select required class="form-control category_idCr" name="category_id'+count+'" id="category_idCr'+count+'"><option value="">Choose a student first</option></select></td><td class="form-group"><input readonly class="form-control" name="categoryamount'+count+'" id="categoryamoun...
<?php /** * Copyright (c) Saint Systems, LLC. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * BookableResourceBookingHeader File * PHP version 7 * * @category Library * @package Microsoft.Dynamics * @copyright 2017 Saint Systems, LLC * @license ...
<?php namespace xenframe\MvcLibrary; class Hello { public function say($toSay = "Nothing given") { return $toSay.' updated - 9'; // jhbnkiuj } }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddIsActiveColumnToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users...
@extends('layouts.main') @section('content') <section class="section"> <div class="section-header"> <h1> Jenis Pisang <small>Tambah Data</small></h1> </div> <div class="section-body"> <div class="col-12 col-md-6 col-lg-6"> <div class="card"> <div class="card-header"> <a href="{{ ...
<?php $page = "index-anggota"; ?> <?php $__env->startSection('content'); ?> <!-- Breadcrumb --> <div class="breadcrumb-bar"> <div class="container-fluid"> <div class="row align-items-center"> <div class="col-md-12 col-12"> <nav aria-label="breadcrumb" class="page-breadcrumb"> ...
<?php declare(strict_types=1); namespace Rector\Naming\Rector\ClassMethod; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\PropertyFetch; use PhpParser\Node\Identifier; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Return_; use PHPStan\Type\BooleanType; use Rector\Core\Rector\Abst...
@extends('layout.admin') @section('title', 'Admin | Tambah Wisata') @section('judul-content', 'Tambah Wisata') @section('content-active', 'Tambah Wisata') @section('content') <section class="content"> <div class="container-fluid"> <div class="row"> <!-- left column --> <div class="col-md-12"> ...
<?php /** * Contact Creation Object * * @package RescueGroups * @subpackage Response * @author SourceGenerator */ namespace RescueGroups\Objects\Create; class Contact implements \RescueGroups\Objects\APIEncodableInterface { /** * Class * * @var string */ public $class = null; /**...
<?php namespace ConVes\Recurrent\Recurrences; use ConVes\Recurrent\models\Event; class Series { private $event; private $recurrenceFactory; private $type; private $seriesIndex = 0; private $currentOccurrence = null; private $previousOccurrence = null; /** ...
<?php namespace ParacestamolTests\cases; use ParacestamolTests\AcceptanceTester; class SomeOtherCest { /** * @param AcceptanceTester $I * @group cat * @group dog * @group bird */ public function test01(AcceptanceTester $I) { sleep(random_int(0, 2)); } /** ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Class_s extends CI_Controller { public function index() { $this->load->model('class_model'); $display['display']=$this->class_model->class_display(); $this->load->view('admin/class_s',$display); ...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ co...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Devicevalues */ $this->title = Yii::t('app', 'Update Devicevalues: ' . $model->id, [ 'nameAttribute' => '' . $model->id, ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Devicevalues'), 'url' => ['index']]; $this->...
<?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 | ...
<nav class="navbar navbar-default"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expa...
<?php namespace App\Http; use App\Http\Middleware\CheckUserRole; 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 ar...
@extends('layouts.sidebar') @section('content') <header> {{ Auth::user()->name}} </header> <ul> <li><a href="/etablissement"><i class="fas fa-qrcode " class="nav-link"></i>Aceuil</a></li> <li><a href="/layouts/recommondation"><i class="fas fa-clipboard" ></i>Recommondation</a></li> <li><a href="/lesrapports"><i cla...
<?php namespace IFCPHP\IFC4\Entity; use IFCPHP\IFC4 as IFC; class IfcProjectLibrary extends IfcContext{ static public $elementName = 'IFCPROJECTLIBRARY'; static public $params = [ [ 'name' => 'GlobalId', 'class' => 'Type\IfcGloballyUniqueId', 'type' => 'object', 'optional' => false, ], [ 'nam...
<?php $image = get_template_directory_uri() . '/assets/img/jumbotron/anpi.jpg'; ?> <div class="jumbotron" id="thread-tron" style="background-image: url('<?= $image ?>');" title="Pieter Brueghel the Elder (1526/1530–1569) [Public domain or Public domain], via Wikimedia Commons"> <h1>破滅派 安否情報</h1> <p><?= esc_html...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit0d1005e912064fbf27b48070ef6618f8::getLoader();
--TEST-- MySQL PDOStatement->errorCode(); --SKIPIF-- <?php require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); $db = MySQLPDOTest::factory(); ?> --FILE-- <?php require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test....
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use app\assets\AppAsset; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <meta charset="<?= Yii::$app->charset ?>"> <meta http-equiv="X-UA-Compatible...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?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\HttpClient; use Psr\Log\LoggerAwareInterface; use Psr...
<?php declare(strict_types = 1); error_reporting(E_ERROR | E_WARNING | E_PARSE); require_once __DIR__ . '/../vendor/autoload.php'; $tests = []; $finder = new \Symfony\Component\Finder\Finder(); $finder->files(); $finder->name('*.yaml'); $finder->ignoreDotFiles(true); $finder->ignoreVCS(true); $finder->sortByName();...
<?php /* * This file for make the site language is English * * Taken files from controller Folder * * $data['title '] it is the target :) */ //come from app/controllers Folders // // $lang['FileName_FunctionName'] = ""; // This come from view folder // $lang[filename_view"it's Folder Name"_tag] ?>
<?php /** * LitePubl CMS * * @copyright 2010 - 2017 Vladimir Yushko http://litepublisher.com/ http://litepublisher.ru/ * @license https://github.com/litepubl/cms/blob/master/LICENSE.txt MIT * @link https://github.com/litepubl\cms * @version 7.08 */ namespace litepubl\admin\widget; use litepubl\admin\...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\StaffSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Staff'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="staff-index"> <h1><?= Html::encode($this->tit...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Rate extends Model { // }
<?php namespace CultuurNet\UDB3\Media\Events; class ContentTypes { /** * Intentionally made private. */ private function __construct() { } /** * @return array * * @todo once we upgrade to PHP 5.6+ this can be moved to a constant. */ public static function map() ...
@extends('layout') @section('content') <h1>The Welcome Page Goes Here</h1> @stop
<?php /* gallery.html.twig */ class __TwigTemplate_ddb3ab7324ebe0103d6abea22c9045638c16f44e18055c841c3e0a5f3f4e21f2 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("partials/base.html....
<?php /* * This file is part of Totara Learn * * Copyright (C) 2020 onwards Totara Learning Solutions LTD * * This program 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...
<?php require_once(__DIR__ .'/../vendor/autoload.php'); \Reportico\Engine\Builder::build() ->project("tutorials") ->load("stock") ->execute(); ?>
<h6 class="widget_title">RECENT POSTS</h6> <ul class="recent_post border_bottom_dash list_none"> @foreach($blogfooter as $value) <li> <div class="post_footer"> <div class="post_img"> <a href="{{ route('blogreadmore', $value->id) }}"><img style="height: 60px;width: 110px;" sr...
<?php namespace app\admin\controller\order; use app\common\controller\Backend; /** * * * @icon fa fa-circle-o */ class Goreder extends Backend { /** * Goreder模型对象 * @var \app\admin\model\order\Goreder */ protected $model = null; public function _initialize() { parent...
<?php /** * WNote.php */ defined('WITYCMS_VERSION') or die('Access denied'); /** * WNote manages all notes : stores, displays, ... * * @package System\WCore * @author Johan Dufau <johan.dufau@creatiwity.net> * @version 0.6.1-23-11-2016 */ class WNote { /** * Note levels */ const ERROR = 'danger'; con...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>SB Admin 2 - Bootstrap Admin Th...
<?php /** ______ _ _ _ ___ * | ____| | | | | |__ \ * | |__ | |_ ___ __| |__ ___ ___| | ) | * | __| | | | | \ \ /\ / /| '_ \ / _ \/ _ \ | / / * | | | | |_| |\ V V / | | | | __/ __/ |/ /_ * |_| |_|\__, | \_/\_/ |_| |_|\___|\___|_|_...
<?php namespace App\Http\Controllers; use App\Models\Product; use App\Models\Store; use App\Services\CsvParseServiceInterface; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; use Inertia\Inertia; class ProductController extends Controller { private CsvParseServiceInterface $csvParseService; ...
<?php class Genocad_Form extends Zend_Form { public $elementDecorators = array( 'ViewHelper', array('Description', array('escape' => false, 'tag' => 'span', 'style'=>'padding-left: 10px')), 'Errors', array(array('data' => 'HtmlTag'), array('tag' => 'td', 'class' => 'element')), ...
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Latihan</title> <!-- Bootstrap core CSS --> <link href="<...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateImmobilisationsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('immobil...
<?php require_once 'wow.php'; # Variables $username = doSafe ( $_POST ['username'] ); $password = doSafe ( $_POST ['password'] ); $email = doSafe ( $_POST ['email'] ); # Security Checks $name_sql = "SELECT username FROM users WHERE username = '".$username."' OR oldusrname = '".$username."'"; $ip_sql = "SEL...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Payment extends Model { protected $fillable = [ 'folio', 'student_id' ]; public function details() { return $this->hasMany(PaymentDetail::class); } public function incomes() { return $this->hasMany(...
<?php declare(strict_types=1); namespace Biplane\YandexDirect\Api\V5\Contract; /** * Auto-generated code. */ class ArchiveAdsRequest { protected $SelectionCriteria = null; /** * @return static */ public static function create() { return new static(); } public function ge...
<?php namespace App\Models\ModuleDelete; use Illuminate\Database\Eloquent\Model; class ModuleDelete extends Model { protected $table = 'mudule_delete'; }
<!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.0"> <title>Input</title> </head> <style> fieldset { width : 40%; margin : 20px auto; border-...
<?php /** * This file is part of the <Admin> project. * * @category Admin_Util * @package Extension_jquery * @author Etienne de Longeaux <etienne.delongeaux@gmail.com> * @since 2012-01-11 * * For the full copyright and license information, please view the LICENSE * file that was distributed with this sou...
<?php /** * Kpm_CommonmsManager.php * * @author {$author} * @package Kpm * @version $Id: a17b62fb78834da3c636228f401e740cd5bfdb64 $ */ /** * Kpm_CommonmsManager * * @author {$author} * @access public * @package Kpm */ class Kpm_CommonmsManager extends Ethna_AppManager { privat...
<?php declare(strict_types=1); namespace Swoft\Validator\Annotation\Mapping; use Doctrine\Common\Annotations\Annotation\Attribute; use Doctrine\Common\Annotations\Annotation\Attributes; use Doctrine\Common\Annotations\Annotation\Target; /** * Class File * * @since 2.0 * * @Annotation * @Target("PROPERTY") * @...
<?php namespace ubackupparser\Module; use ubackupparser\Module\Base\Module; class ForumCategories extends Module { /** * @var string */ protected static $file = 'fr_fr.txt'; public function getFieldsMap() { return [ 0 => self::$map['ID'], 1 => self::$map['PARENT...
@extends('backend/backend_template') @section('content') <section> <div class="container-fluid"> <!-- Page Header--> <header> <h1 class="h3 display">Tables <button class="btn btn-primary float-right" data-toggle="modal" id="createCategory"> <i c...
<?php namespace TFD\Redirects\Modules\NotFound; use Exception; use Illuminate\Support\Collection; use Statamic\Facades\File; use Statamic\Facades\YAML; use Statamic\Support\Str; class NotFoundRepository { /** * @var Collection */ protected $pages; /** * @var string */ protected ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMenusTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('menus', function ...
<!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"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Lara...
<?php namespace App\Http\Middleware; use Fideloper\Proxy\TrustProxies as Middleware; use Illuminate\Http\Request; class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array|string */ protected $proxies; /** * The headers that should be...
<?php namespace bluegg\websitedocumentation\assetbundles\documentwidget; use Craft; use craft\web\AssetBundle; use craft\web\assets\cp\CpAsset; class DocumentWidgetAsset extends AssetBundle { // Public Methods // ========================================================================= /** * Initial...
@extends('layouts.app') @section('content') <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">Dashboard<span class="float-right"><a href="/listings/create" class="btn btn-success btn-sm">Add Busness</a></span></div> ...
@extends('welcome') @section('content') <h1>{{ $category['name'] }}</h1> <div id="textBlock"> @if(count($items)) <div class="wrapper"> <ul class="products clearfix"> @for($i = 0; $i < count($items); $i++) <li class="product-wrap...
<?php /** @var \Laravel\Lumen\Routing\Router $router */ /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It is a bre...
<?php $this->load->view('head'); ?> <?php $this->load->view('header'); ?> <div class="banner" style=""> <div class="row center title"> <div class="col-sm-6 col-sm-offset-3 padd-40-0 center"> <img style="width:100%; min-width: 300px;" alt="Home" src="<?php echo base_url('img/logo-alt....
--TEST-- ReflectionClass::getModifiers() --CREDITS-- Felix De Vliegher <felix.devliegher@gmail.com> --FILE-- <?php class a {} abstract class b {} final class c {} interface d {} class e implements d {} interface f extends d {} class g extends b {} function dump_modifiers($class) { $obj = new ReflectionClass($class);...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Registrar') }}</div> <div class="card-body"> <form method="...
<?php $cw = array( chr(0) => 250, chr(1) => 250, chr(2) => 250, chr(3) => 250, chr(4) => 250, chr(5) => 250, chr(6) => 250, chr(7) => 250, chr(8) => 250, chr(9) => 250, chr(10) => 250, chr(11) => 250, chr(12) => 250, chr(13) => 250, chr(14) => 250, chr(15) => 250, chr(16) => 250, chr(17) => 250, chr(18) => 250, ch...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\TblLapangan */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="tbl-lapangan-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'kode_lapangan')->textInput(['maxlengt...
@inject('brands', 'App\Http\Controllers\Site\SiteController') @foreach ($brands->getModel() as $brand ) @if (sizeof($brand->products) > 0) <a class="dropdown-item" href="{{ route('product.brand',['q' => $brand->id ]) }}">{{ $brand->brand }}</a> @endif @endforeach
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInit9ce2fd1c1abc64582ba7d2dd38081bb7 { public static $files = array ( 'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php', 'a4a119a56e50fb...
<table> <thead> <tr> <th>Section:</th> <th colspan="6">{{ $data[0]->section_name }}</th> </tr> <tr> <th>Grade Level:</th> <th colspan="6">Grade {{ $data[0]->grade_level }}</th> </tr> <tr> <th>Subject:</th> ...
<!DOCTYPE html> <!-- Landing page based on Pratt: http://blacktie.co/demo/pratt/ --> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Adminlte-laravel - {{ trans('adminlte_lang::message.landingdescription...
<?php /** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "Licen...
<?php namespace ForkCMS\Modules\MediaLibrary\Backend\Ajax; use ForkCMS\Core\Backend\Domain\Ajax\AjaxAction as BackendBaseAJAXAction; use ForkCMS\Modules\MediaLibrary\Domain\MediaItem\MediaItemRepository; use Symfony\Component\HttpFoundation\Response; /** * This AJAX-action will get all media items for a group, * w...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDueFeeHistoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('due_fee...
<?php return [ 'default' => env("APP_TIMEZONE", "Asia/Manila"), ];
<?php /** * Pimcore * * This source file is available under two different licenses: * - GNU General Public License version 3 (GPLv3) * - Pimcore Enterprise License (PEL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * * @copyright Copyright (...
<?php declare(strict_types=1); /** * This file is part of PHP-Compiler, a PHP CFG Compiler for PHP code * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ require __DIR__.'/../vendor/autoload.php'; ini_set('memory_limit', '-1'); error...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Role extends Model { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'name_jp' ]; public function users() { return $this->hasMany('App\User')...
@component('mail::layout') {{-- Header --}} @slot('header') @component('mail::header', ['url' => route('index')]) Gander Oceanic OCA @endcomponent @endslot {{-- Body --}} {{ $slot }} {{-- Subcopy --}} @isset($subcopy) @slot('subcopy') @component('mail::subcopy') {{ $subcopy }} @endcomponent @endslot @endisset {{-- F...
<?php namespace App\Helpers; use Illuminate\Support\Facades\File; class ModuleHelper { public static function getAllModuleServiceProvider(){ $result = array(); $modulePath = app_path('Modules'); $moduleNames = array_map('basename', File::directories($modulePath)); foreach ($moduleN...
<?php declare(strict_types=1); namespace Rector\Rector\Typehint; use PhpParser\Node; use PhpParser\Node\Param; use PhpParser\Node\Stmt\ClassMethod; use Rector\NodeTypeResolver\Php\ParamTypeInfo; use Rector\Rector\AbstractRector; use Rector\RectorDefinition\ConfiguredCodeSample; use Rector\RectorDefinition\RectorDefin...
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * AccessPackageResourceScope File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights re...
<?php declare(strict_types=1); namespace Heptacom\AdminOpenAuth\Database; use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection; /** * @method void add(UserKeyEntity $entity) * @method void set(string $key, UserKeyEntity $entity) * @method UserKeyEntity[] getIterator() ...
<?php namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! */ class Version20171019081930 extends AbstractMigration { public function up(Schema $schema): void { // this up() migration i...
<title><?= $title ?></title> <h1>Capil</h1>
<?php /* * template_lite plugin * ------------------------------------------------------------- * Type: function * Name: counter * Purpose: print out a counter value * Credit: Taken from the original Smarty * http://smarty.php.net * ----------------------------------------------------------...
<?php // Route::get('/', function () { // return view('welcome');` // }); #|-------------------------------------------------------------------------- #| 메인 #|-------------------------------------------------------------------------- Route::get('/', 'SpcsController@index'); //Route::get('/post', 'PostsController@...
<?php /*Import Friends from Meinvz * You can send message to your MeinVz Inbox */ $_pluginInfo=array( 'name'=>'Meinvz', 'version'=>'1.0.1', 'description'=>"Get the contacts from a MeinVz account", 'base_version'=>'1.6.5', 'type'=>'social', 'check_url'=>'http://www.meinvz.net/' ); /** * MeinVz Plugin * * Im...