text
stringlengths
2
1.03M
--TEST-- errmsg: __destruct() cannot be static --FILE-- <?php class test { static function __destruct() { } } echo "Done\n"; ?> --EXPECTF-- Fatal error: Method test::__destruct() cannot be static in %s on line %d
<?php class Dashboard extends Admin_Controller { public function __construct() { parent::__construct(); } public function index(){ // build up breadcrumb $this->breadcrumb->clear(); $this->breadcrumb->add_crumb('Home', base_url('dashboard')); // this will be a link $this->breadcrumb->add_crumb('Dashboard...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class NewUserRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get th...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Carousel; use App\Traits\imageTrait; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Session; class CarouselController extends Controller { use imageTrait; public function carous...
@section("field") <div id="{{ $field_id}}"> @foreach($field_parameters['options'] as $key => $option) <div class="radio-inline"> <label> <input type="radio" name="{{ $prefixed_field_name }}" value="{{ $key }}" {{ $field_value == $key ? "checked" : "" }}> {{ $o...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>TDD Counter</title> </head> <body> <div id="app" class="flex-center position-ref full-height"> <c...
<?php namespace frontend\widgets\package; use common\models\package\PackageWish; use common\models\user\UserAddress; use Yii; use yii\base\Widget; use common\models\package\Package; class PackageWidget extends \frontend\components\CustomWidget { public $limit = 10; public $view = 'view'; protected $pack...
@extends('layouts.app') @section('content') <div class="container"> <h1> <label class="control-label">Selected For Surgery</label> </h1> {!! Form::open(['action' => 'SurgeryController@store' ]) !!} <table class="table table-bordered table-striped" id="mice_table" data-to...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Test extends Model { protected $table = 'Tests'; public $timestamps = true; public function questions() { return $this->hasMany('App\Models\Question', 'test_id', 'id')...
<?php namespace Illuminate\Routing; use Closure; use ArrayObject; use JsonSerializable; use Illuminate\Support\Str; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Http\JsonResponse; use Illuminate\Support\Collection; use Illuminate\Container\Container; use Illuminate\Database\Eloquent\Model...
<?php namespace Tests\Feature\Controllers; use App\Models\User; use App\Models\BusSchedule; use App\Models\Bus; use App\Models\BusRoute; use Tests\TestCase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; class BusScheduleControllerTest extends TestCase { use Ref...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddCandidateIdToVoterTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('voters', function (Blueprint $table) { ...
<?php include_once "RPGCombatHelper.php"; include_once "CombatSE/SEPoisoned.php"; include_once "RPGCombatStatusEffect.php"; class SkillToxicBreath{ public function __construct(){ } public function castedByPlayer($objPlayer, $objNPC){ } public function castedByNPC($objPlayerTeam, $objNPC){ $objRPGCo...
<!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"> <title>Point Of Sale</title> <!-- Fonts --> <link href="ht...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App\sbmptn; use Response; use Input; use DB; class sbmptnController extends Controller { public function index(Request $request) { $search_term = $request->input('search'); ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCitiesTable extends Migration { public function up() { Schema::create('cities', function (Blueprint $table) { $table->bigIncrements('id'); ...
<div class="page-wrap d-flex flex-row align-items-center"> <div class="container"> <div class="row justify-content-center"> <div class="col-md-12 text-center"> <span class="display-1 d-block">404</span> <div class="mb-4 lead">Accès non autorisé</div> ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Comment extends Model { use HasFactory; public function user() { return $this->belongsTo(User::class); } public function post() { return $this->belongsTo(...
@extends('layouts.app') @section('content') <div class="container"> <h2> Nueva Venta</h2><br> <form action="../carrito" method="GET" enctype="multipart/form-data"> {{csrf_field()}} @csrf <div class="row"> <div class="col-sm-6"> @if($errors->any()) <div class="alert alert-danger"> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductDetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('product_...
<?php /* * This is the basic search form that will get shown when you use get_search_form() anywhere in your theme. * Updated for accessibility November, 2018. * */ ?> <form role="search" method="get" class="search-form" action="<?php echo home_url( '/' ); ?>"> <label> <span class="search-label" for="sear...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUserFavoriteTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('user_favor...
<?php namespace Financeiro\ClassesExtras; class RepositoryFile { protected $filename; protected $full_file_name; protected $ext; protected $size; protected $download; public function __construct($file) { $base = pathinfo($file); $this->filename = $base["basename"]; $t...
<?php namespace Application\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20200712170844 extends AbstractMigration { /** * @param Schema $schema */ public function up(Schema...
<?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 namespace jegarn\manager; use jegarn\cache\Cache; use jegarn\packet\Packet; use jegarn\util\ConvertUtil; class OfflineGroupMessageManager extends BaseOfflineMessageManager{ public static function getInstance($class = __CLASS__){ return parent::getInstance($class); } protected function get...
<?php namespace App\Models; use Eloquent as Model; use Illuminate\Database\Eloquent\SoftDeletes; /** * Class catgiroempresa * @package App\Models * @version January 21, 2019, 12:29 am CST * * @property \Illuminate\Database\Eloquent\Collection roleHasPermissions * @property string descripcion * @property strin...
<?php use yii\helpers\Html; use yii\widgets\DetailView; use yii\widgets\Breadcrumbs; /* @var $this yii\web\View */ /* @var $model backend\models\Vatdetails */ $this->title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Vatdetails', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yi...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('orders', functio...
<?php namespace App\Http\Controllers; use App\Helper\ResponseHelper; use Illuminate\Routing\Controller as BaseController; class Controller extends BaseController { protected function response() { return new ResponseHelper(); } }
<?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 use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddCreditBalanceToCustomerTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('cus...
<div class="card shadow mb-4"> <div class="card-header bg-warning py-3"> <h6 class="m-0 font-weight-bold text-primary">Data Anggota</h6> <small class="form-text text-muted"> Gunakan halaman ini untuk mengisi data anggota team. </small> </div> <div class="card-body"> <?php echo $this->sessio...
<?php /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Authors: * - François B * - Andre Polykanine A.K.A. Menelion Elensúlë * - JD ...
<?php use App\Http\Controllers\SliderController; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your applicat...
<?php namespace App\Http\Controllers; use App\Exports\UserExport; use App\Imports\UserImport; use App\Models\User; use Barryvdh\DomPDF\Facade as PDF; use Illuminate\Http\Request; use Maatwebsite\Excel\Facades\Excel; class UserController extends Controller { public function index() { return view('welc...
<?php namespace App; use Illuminate\Support\Facades\Session; class Cart { public $totalQty = 0; public $totalPrice = 0; public $items = null; public function __construct($oldCart) { if ($oldCart) { $this->items = $oldCart->items; $this->totalPrice = $oldCart->t...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title><?= $sett_apps->nama_aplikasi ?> - <?= $sett_apps->company ?> </title> <link rel="icon" type="image/png" href="<?php echo base_url('assets') ?>/assets/img/<?= $sett_apps->favicon ?>" /> <meta content="width=device-width, initial-scale=1.0, maximu...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use App\Models\User; class UpdateUserRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; ...
@extends('layout.principal') @section('conteudo') @if(empty($produtos)) <div> Sem produtos para listar </div> @else <div class="container"> <h1>Listagem de produtos</h1> <table class="table table-striped table-bordered table-rover"> @foreach ($produtos as $produto) <tr class="{{$produto->Un...
<?php /* TwigBundle::layout.html.twig */ class __TwigTemplate_4721157e0c6bebd5dff74a9b45af77d15077aad932d18e260bcab27c41bc7d8e extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php /** * System messages translation for CodeIgniter(tm) * * @author CodeIgniter community * @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/) * @license http://opensource.org/licenses/MIT MIT License * @link https://codeigniter.com */ defined('BASEPATH') OR exit('...
<?php namespace App\Framework\Security; use App\Domain\Entity\User; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Component\Security\Core\Authentic...
<!DOCTYPE html> <html lang="en"> <head> <title>Project</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" type="text/css" href="{{asset('css/adminx.css')}}" media="screen" /> <link rel="stylesheet" type="tex...
@extends('layouts.app') @section('content') <div class="row"> <div class="col-md-12 text-right"> <a href="{{$route."/create"}}" class="btn btn-success m-b-30"><i class="fas fa-plus"></i> Add {{$title}}</a> </div> </div> <div class="row"> <div class="col-md-12"> ...
<?php declare(strict_types = 1); namespace AsisTeam\ADOL\Result\WatchDog\Insolvency; use AsisTeam\ADOL\Exception\LogicalException; use DateTimeImmutable; final class Record { /** @var mixed[] */ private $raw; /** @var string|null */ private $id; /** @var string|null */ private $personalId; /** @var string...
<?php class Agreement_carsaleController extends Zend_Controller_Action { private $activelist = array('មិនប្រើ​ប្រាស់', 'ប្រើ​ប្រាស់'); const REDIRECT_URL='/agreement'; public function init() { /* Initialize action controller here */ header('content-type: text/html; charset=utf8'); defined(...
<div class="left-side sticky-left-side"> <div class="logo"> <a href="/"><img src="{{ asset('images/logo_2.png') }}" width="188px"></a> </div> <div class="left-side-inner" style="margin-top: 6em;"> <!--sidebar nav start--> <ul class="nav nav-pills nav-stacked c...
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * Description of Rotation * * @author alexander */ class Rotation extends Coordinates{ public $angle; public function __construct($x, $y, $z, $angle) { parent::__construct($x, $y, $z)...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CommentRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get th...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class Addreason extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('proctors', function (Blu...
<?php use CodeDelivery\Models\Product; use Illuminate\Database\Seeder; class ClientTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // //factory(Product::class, 10)->create(); } }
<?php /* * Esse arquivo faz parte de Lógica Tecnologia/SGL * (c) Renato Maldonado mallldonado@gmail.com */ namespace App\Services\NotaEspelho\GerarNotaEspelho; use Illuminate\Support\Facades\DB; use App\Services\NotaEspelho\GerarNotaEspelho\Abstracts\GerarNotaEspelhoServiceAbstract; class GerarNotaEspelhoService...
<?php /** * Orm * @author Petr Procházka (petr@petrp.cz) * @license "New" BSD License */ namespace Orm; use Exception; use RuntimeException; /** * Entity is not allowed. * @author Petr Procházka * @package Orm * @subpackage Relationships\Exceptions */ class BadEntityException extends RuntimeException { }
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'BackupManager\\Compressors\\Compressor' => $vendorDir . '/backup-manager/backup-manager/src/Compressors/Compressor.php', 'BackupManager\\Compressors\\CompressorProvide...
<li><a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), ($child->link ?: $child->permalink)) }}" title="{!! $child->title !!}">{!! $child->title !!}</a></li>
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class ProdutosController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); ...
<div class="sidebar"> <nav class="sidebar-nav"> <ul class="nav"> <li class="nav-title">{{ trans('brackets/admin-ui::admin.sidebar.content') }}</li> <li class="nav-item"><a class="nav-link" href="{{ url('admin/products') }}"><i class="nav-icon icon-ghost"></i> {{ trans('admin.product....
<?php session_start(); include("../helpers/session.php"); include("../helpers/db.php"); include "../helpers/check_code.php"; if (!loggedin()) { header("location: /admin/login.php"); exit; } $quiz_id = $_GET["id"]; if (!($title = get_quiz_title($quiz_id))) { http_response_code(404); echo "This quiz doe...
@extends('admin.layout.master') @section('model','active') @section('title') Model | Create @endsection @section('page-name') Create Product Model @endsection @section('breadcrumb') <li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">Dashboard</a> </li> <li class="breadcrumb-item"><a href="{{ route('ad...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCashFlowOperations extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('cash_flow...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCommentRepliesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('comment_...
<?php namespace App\Http\Controllers\Api; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Validator; use App\Mail\SpecialOrderMail; use Illuminate\Support\Facades\Mail; use App\User; class SpecialOrderController extends Controller { use ApiResponseTrait; /** ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Shopping Cart Demo</title> </head> <body> <table width="100%" borde...
@extends('layouts.admin') @section('content') <div class="container"> {{ Breadcrumbs::render('admin.subject.edit',$testsubject) }} <h3>Edit Subject</h3><br> <form method="post" action="{{route('admin.subject.update',$testsubject->id)}}"> @csrf <input name="_method" type="hidden" value="PUT...
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * TermsAndConditionsAssignment File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights ...
<?php header("Access-Control-Allow-Origin: *"); include 'config.inc.php'; function existsID($id) { global $connection_url, $db_name, $collection; try { // create the mongo connection object $m = new MongoClient($connection_url); // use the database we connected to $col = $m->selectDB($db_name)->selectColl...
<?php namespace ezswoole; class ErrorHandler { public static function handle($errorCode, $description, $file = null, $line = null) { if( !is_null( $error = error_get_last() ) && self::isFatal( $error['type'] ) ){ self::error( $error['type'], $error['message'], $error['file'], $error['line'] ); } } public s...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
<?php namespace ContainerFTFMLyv; 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 getSessionService extends App_Ke...
<?php use \yii\helpers\Html; use \yii\helpers\Url; /** * @var \app\models\Category $category * @var \yii\data\Pagination $pages * */ ?> <!-- products-breadcrumb --> <div class="products-breadcrumb"> <div class="container"> <ul> <li> <i class="fa fa-home" aria-hidden="true">...
<?php /** * ReportsTest * * PHP version 5 * * @category Class * @package SidneyAllen\XeroPHP * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Accounting API * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) ...
<?php if (!check_perms('users_view_ips') || !check_perms('users_view_email')) { error(403); } View::show_header('Registration log'); define('USERS_PER_PAGE', 50); list($Page, $Limit) = Format::page_limit(USERS_PER_PAGE); $AfterDate = $_POST['after_date']; $BeforeDate = $_POST['before_date']; $DateSearch = false; i...
<?php // +---------------------------------------------------------------------- // |ZBPHP[基于ThinkPHP5.1开发] // +---------------------------------------------------------------------- // | Copyright (c) 2016-2019 http://www.benbenwangluo.com // +---------------------------------------------------------------------- // |...
<?php /** * UAGB Helper. * * @package UAGB */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if ( ! class_exists( 'UAGB_Helper' ) ) { /** * Class UAGB_Helper. */ final class UAGB_Helper { /** * Member Variable * * @since 0.0.1 * @var instance */ private static $...
<?php /** * * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @codingStandardsIgnoreFile namespace Magento\Multishipping\Test\Unit\Block\Checkout; use Magento\Multishipping\Block\Checkout\State; class StateTest extends \PHPUnit_Framework_TestCase { /** ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class RegistroExtraMaterialDetalleB3 extends Model { use HasFactory; protected $table = 'regis_ex_mate_deta_b3'; public $timestamps = false; }
<?php declare(strict_types=1); namespace Crunz\HttpClient; final class CurlHttpClient implements HttpClientInterface { /** * {@inheritdoc} */ public function ping($url): void { $curlResource = \curl_init(); \curl_setopt( $curlResource, CURLOPT_RETURNTRANS...
<?php function extract_constant_names($files, $extensions) { $constants = array(); $class_constants = array(); foreach ($files as $file) { $doc = new DOMDocument; $doc->loadHTMLFile($file); $xpath = new DOMXpath($doc); // Unfortunately, the constatns are not marked with cl...
<?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 Fy\Symfony\Component\HttpFoundation\Test\Constraint; use PHPUnit\Framew...
<!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>Document</title> <!-- CSS only --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/...
<div class="header-bottom hidden-sm-down"> <div class="container"> <div class="row d-flex align-items-center"> <div class="contentsticky_verticalmenu verticalmenu-main col-lg-3 col-md-1 d-flex" data-textshowmore="Show More" data-textless="Hide" data-desktop_item="4"> ...
<?php function olz_link_telegram_modal($args = []): string { global $_CONFIG; require_once __DIR__.'/../../../config/server.php'; require_once __DIR__.'/../../../utils/client/UserAgentUtils.php'; $user_agent_utils = getUserAgentUtilsFromEnv(); $install_instructions = [ "<li>Installiere d...
@extends('layouts.app') @section('content') <div class="container-fluid"> <div class="row justify-content-center"> <div class="col-md-8"> <h1>Edit Consultation</h1> <form action="/consultations/{{ $consultation->id }}" method="post"> @csrf @method('p...
<?php return array ( 'bot' => NULL, 'brand' => 'AP', 'client' => array ( 'type' => 'mobile app', 'name' => 'Facebook', 'version' => '242.0', ), 'device' => 1, 'model' => 'iPhone 7', 'os' => array ( 'name' => 'iOS', 'short_name' => 'IOS', 'version' => '13.1', 'platform' =>...
--TEST-- listSize() with count i.e. output parameter is of type string --DESCRIPTION-- This testcase will get count of elements in the list. --FILE-- <?php include dirname(__FILE__)."/../../astestframework/astest-phpt-loader.inc"; aerospike_phpt_runtest("ListSize", "normal_002"); --EXPECT-- OK
<html> <head> <title> Views in brief </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <?php include "../../legacy-includes/Script.htmlf" ?> </head> <body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0"> <table width="744" cells...
<?php namespace Common\Util; class Vcode { private $width; //宽 private $height; //高 private $num; //数量 private $code; //验证码 private $img; //图像的资源 private $lx;//验证码类型 //构造方法, 三个参数 public function __construct($width=100, $height=40...
<?php namespace SwaggerBake\Test\TestCase\Lib\Attribute; use Cake\Routing\Router; use Cake\Routing\RouteBuilder; use Cake\TestSuite\TestCase; use SwaggerBake\Lib\Model\ModelScanner; use SwaggerBake\Lib\Route\RouteScanner; use SwaggerBake\Lib\Configuration; use SwaggerBake\Lib\Swagger; class OpenApiFormTest extends...
<?php return [ /* |-------------------------------------------------------------------------- | Connection |-------------------------------------------------------------------------- | | The LDAP connection to use for laravel authentication. | | You must specify connections in your `co...
<?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\Console\Output; use ECSPrefix2022041...
<?php use Illuminate\Database\Seeder; use App\Models\V1\Role; class RoleSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $roles = Role::LIST_ROLE; foreach ($roles as $role) { factory(App\Models\V1\Role::class,...
<?php /** * Author: Nurmukhammadov Shakhrizod * date: 16.12.2019 */ namespace common\models; use yii\db\ActiveRecord; class Listofdocuments extends ActiveRecord { }
<?php /* @Description : get endicia supported country name wise @Author : Shantanu @Output : return country name @Date : 25-09-2018 */ function get_endicia_supported_country($country_name) { $response = ''; $country_list = array( ...
<?php namespace App\Http\Controllers\Dashboard; use App\Http\Controllers\Controller; use App\Http\Requests\StepStoreRequest; use App\Models\City; use App\Models\Group; use App\Models\Step; use Illuminate\Http\Request; class StepController extends Controller { public function __construct() { $this->mi...
<?php declare(strict_types=1); namespace AppTest\Service; use App\Service\UserService; use App\Service\UserServiceFactory; use Doctrine\ORM\EntityManager; use PHPUnit\Framework\TestCase; use Prophecy\Prophecy\ObjectProphecy; use Psr\Container\ContainerInterface; /** * Class UserServiceFactoryTest * @package AppTe...
<?php namespace App\Http\Controllers; use App\Helpers\AppHelper; use App\Http\Requests\AuthRequests\LoginFormRequest; use App\Http\Requests\AuthRequests\RegistrationFormRequest; use App\Http\Resources\UserResource; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Hash; use JWTAuth; use App\Models\Use...
DESEADOS
@extends('layouts.index') @section('content') @php $ar_judul = ['No','Pengguna','Nama','Jenis','Tgl masuk','Action']; $no = 1; @endphp <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{ url('home')}}">Home</a></li> <li class="breadcrumb-item acti...
<?php // Create map with request parameters $params = array ('clientId' => 'zgh8tcukhua4ph63fju66ayt', 'clientSecret' => 'q5BeE2Aw4PZb662XUz3SYzf8'); $url = 'https://auth.exacttargetapis.com/v1/requestToken'; //$data = array('clientId' => 'zgh8tcukhua4ph63fju66ayt', 'clientSecret' => 'q5BeE2Aw4PZb662XUz3SYzf8'); // Bu...