text
stringlengths
2
1.03M
<?php use yii\helpers\Html; use yii\helpers\Url; use backend\assets\AppAsset; AppAsset::register($this); /* @var $this yii\web\View */ /* @var $model common\models\log\ConfigFunctionlog */ $this->title = Yii::t('app', 'Update Config Functionlog: {name}', [ 'name' => $model->id, ]); $this->params['breadcrumbs'][] ...
<?php /** * @param string|int $key * @param mixed $value */ function arrayFilterByKeyValue(array $array, $key, $value): array { return array_filter($array, fn ($_) => $_[$key] === $value); } /** * @param int|string $column */ function arrayFilterColumn(array $array, $column): array { return array_filter(arra...
<?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 Licens...
@extends('master') @section('title', 'Flight Detail') @section('content') <main> <div class="container"> <section> <?php $from = $_GET['from']; $to = $_GET['to']; $departure_date = $_GET['departure_date']; ...
<?php namespace App\Admin\Controllers; use App\Models\Category; use Encore\Admin\Form; use Encore\Admin\Grid; use Encore\Admin\Facades\Admin; use Encore\Admin\Layout\Content; use App\Http\Controllers\Controller; use Encore\Admin\Controllers\ModelForm; class CategoryController extends Controller { use ModelForm...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFormExcurStaffTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('form_exc...
<?php require_once __DIR__.'/../../vendor/autoload.php'; putenv("AWS_KEY=<YOUR KEY>"); putenv("AWS_SECRET=<YOUR SECRET>"); putenv("MAX_SQS_MESSAGES=10"); require_once __DIR__.'/../../config/config.php';
<?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\Intl\ResourceBundle; /** * Default implementation of...
<?php declare(strict_types=1); namespace Pggns\MidocoApi\Orderlists\StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for SaveMidocoRuleSetResponse StructType * @subpackage Structs */ class SaveMidocoRuleSetResponse extends AbstractStructBase { /*...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v6/errors/resource_count_limit_exceeded_error.proto namespace Google\Ads\GoogleAds\V6\Errors\ResourceCountLimitExceededErrorEnum; use UnexpectedValueException; /** * Enum describing possible resource count limit exceeded...
<?php namespace App\Services; use App\Models\SaMessage; use App\Models\SaMessageNUser; use Illuminate\Support\Facades\DB; class SaMessageService extends BaseService { public static function notify($receiverIds,$subject, $content) { if (!is_array($receiverIds) || empty($receiverIds)) { throw new Exceptio...
<?php /** * [WeEngine System] Copyright (c) 2014 WE7.CC * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details. */ defined('IN_IA') or exit('Access Denied'); function file_write($filename, $data) { global $_W; $filename = ATTACHMENT_ROOT . '/' . $filename; mkd...
<?php use Illuminate\Database\Seeder; class CitiesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('cities')->insert([ 'country_id' => 1, 'ar_name' => 'الرياض', 'en_name' => 'Riyadh...
@extends('frontend.layouts.master') @section('content') <div class="col-xs-12 col-sm-12 col-md-12"> <div class="col-xs-12 col-sm-12 col-md-12"> <center><h1>What would you see in Laravel 5.7 ? </h1> <h4>Just share your idea.</h4> </center> <div class="form-group"> <label for="usr">Title of Feature...
<!-- content --> <div class="w-full p-2"> <!-- CURRENT USER INFO --> <div class="p-3 bg-gray-100 rounded-md mb-3"> <div class="mb-5"> <span class=" text-xl font-bold"><?php echo "{$studentData['LN']}, {$studentData['FN']}"; ?></span> </div> <div class="grid grid-cols-12 text-center gap-x-4"> ...
@extends("theme/$theme/layout") @section('styles') <link rel="stylesheet" href="{{asset("assets/$theme/Select2/css/select2.min.css")}}"> @endsection @section('Contenido') @include('Includes.Error-form') <div class="panel panel-warning"> <div class="panel-heading"> <h4 class="box-title">Crear familiar ...
<?php namespace App\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Spatie\MediaLibrary\HasMedia; use Spatie\MediaLibrary\InteractsWithMedia; use Spatie\MediaLibrary\MediaCollections\Models\Medi...
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Shockwavemk\Mail\Base\Model\Transports; use stdClass; /** * Mail Transport interface * * @api */ interface TransportInterface extends \Magento\Framework\Mail\TransportInterface { /** * Send a ...
@extends('welcome') @section('content') <a href="#custom-modal" class="btn btn-success waves-effect waves-light mb-2 ml-lg-n2" data-animation="fadein" data-plugin="custommodal" data-overlaycolor="#38414a"><i class="mdi mdi-plus-circle mr-1"></i> Thêm thời gian đăng ký</a> </div> <div class="row"> <div class="...
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may specify which one you'...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call('Database\Seeders\NGOSeeder'); $this->call('Database\Seeders\ProjectSeeder'); } }
@extends('Admin.layout') @section('content') <div class="limiter"> <div class="container-login100"> <div class="wrap-login100"> <div class="login100-pic js-tilt" data-tilt> <img src="{{asset('images/img-01.png')}}" alt="IMG"> </div> <form class="login100-...
<?php /** * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade laravel walter package to newer * versions in the future. * * @category Walter * @package Laravel * @author Walter Nguyen * @copyright Copyright (c) Walter Nguyen */ ?> @extends ('backend.layouts.app') @section ('...
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!-- Bootstrap CSS --> <link href="https://...
<?php $params = array_merge( require(__DIR__ . '/../../common/config/params.php'), require(__DIR__ . '/../../common/config/params-local.php'), require(__DIR__ . '/params.php'), require(__DIR__ . '/params-local.php') ); return [ 'id' => 'app-backend', 'basePath' => dirname(__DIR__), 'control...
<?php /** * InlineResponseDefault * * PHP version 7.2 * * @category Class * @package OpenAPI\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not...
<link rel="shortcut icon" href="../images/solution.png"> <?php require_once("../include/initialize.php"); //checkAdmin(); if (!isset($_SESSION['USERID'])){ redirect(web_root."index.php"); } $ChecksList = array(array()); $TranID=""; $view = (isset($_GET['view']) && $_GET['view'] != '') ? $_GET['view'] : ...
<style type="text/css"> body { top: 0 !important; background-image: none; background-color: #fff; } @media only screen and (max-width: 768px) { /* For mobile phones: */ body { background-image: none; background-color: #fff; } } aside { padding-top: 0 !importan...
<?php include_once 'db_connect.php'; include_once 'psl-config.php'; //include_once 'password.php'; // compatibility with php<5.5 $error_msg = ""; if (isset($_POST['username'], $_POST['email'], $_POST['p'])) { // Sanitize and validate the data passed in $username = filter_input(INPUT_POST, 'username', FILTER...
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ class Twig_Tests_NodeVisitor_OptimizerTest extends PHPUnit_Framework_TestCase { public function testRenderBlockOpti...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $user common\models\User */ ?> <div class="password-reset"> Dear <?php echo $user->firstname." ".$user->lastname ?>,<br> <br>Your password for Central Hub has been reset and the details are as follows: <br>Username : <?php echo $user->username ?> <b...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Category extends Model { public $timestamps = false; protected $fillable = [ 'name', 'description', ]; }
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-10 col-12 m-auto"> <div class="text-left"> <a href="{{route('tasks.index')}}" class="btn btn-primary my-2"> <i class="fa fa-list">...
@section('userimg') <img src="{{ asset(Auth::user()->profile->avatar) }}" alt="Profile Pic" width="50" class="rounded-circle mr-3"> @endsection @section('username') {{ Auth::user()->name }} @endsection
@extends('layouts.app') @section('title', 'Não autorizado') @section('content') <article class="container fs-5"> <div class="text-center"> <div><i class="fas fa-lock text-primary fs-1"></i></div> <h1 class="h2">Não autorizado</h1> </div> <div class="mt-5"> <p>Desculpe! Essa página exige algum tipo de ...
<?php /** * \Drupal\Sniffs\Commenting\DocCommentStarSniff * * @category PHP * @package PHP_CodeSniffer * @link http://pear.php.net/package/PHP_CodeSniffer */ namespace Drupal\Sniffs\Commenting; use PHP_CodeSniffer\Files\File; use PHP_CodeSniffer\Sniffs\Sniff; /** * Checks that a doc comment block has a d...
<?php $this->pageTitle = Yii::t('UserModule.user', 'Сменя пароля'); ?> <h1><?php echo Yii::t('UserModule.user', 'Восстановление пароля'); ?></h1> <?php $this->widget('application.modules.yupe.widgets.YFlashMessages'); ?> <p><?php echo Yii::t('UserModule.user', 'Укажите свой новый пароль!'); ?></p> <div class="form...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateVoteDocumentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('documents...
<?php require_once(dirname(__FILE__)."/../include/common.inc.php"); require_once(dirname(__FILE__).'/config.php'); require_once SLINEINC."/view.class.php"; $pv = new View($typeid); $typename = GetTypeName($typeid); $templet = SLINETEMPLATE."/smore/jieban/xuqiu.htm"; $pv->Fields['typename'] = $typename; $pv->Fields['is...
<?php include ('subpage/connect.php'); $manv = $_GET['manv']; if($_SESSION['manv']!=$manv){ $sql = "DELETE FROM admin where manv = '". $manv."'"; } elseif($_SESSION['manv']=$manv) { echo 'Không thể xóa'; } echo($sql); $T = $obj->query($sql); header("location:nhanvien.php") ?>
<?php /** * @package Joomla.Administrator * @subpackage com_joomlaupdate * * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** @var JoomlaupdateViewDefault $thi...
@extends('layouts/app') @section('content') @include('inc/topnav') <br> <br> <br class="hidden"> <!-- ***** Call to Action Area Start ***** --> <div class="sonar-call-to-action-area section-padding-0-100"> <div class="backEnd-content"> <h2>Studio</h2> </div> <div class="row"> <div class="...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddHrPersonToDivisionLevelOnes extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('div...
<?php /** * Register data (called automatically). * * @return type */ function wpcf_fields_radio() { return array( 'id' => 'wpcf-radio', 'title' => __( 'Radio', 'wpcf' ), 'description' => __( 'Radio', 'wpcf' ), 'validate' => array('required'), ); } /** * Form data for po...
<?php /* * ------------------------------------------------------------------------ * ADL CRM * ------------------------------------------------------------------------ * * Copyright © 2018 ADL CRM All rights reserved. * * Unauthorised copying of this file, via any medium is stric...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateFarmaciasTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('farmacias', f...
<?php $config = \yii\helpers\ArrayHelper::merge(require __DIR__ . '/base.php', [ 'components' => [ 'db' => require __DIR__ . '/db_test.php', 'mailer' => [ 'useFileTransport' => true, ], 'errorHandler' => [ 'errorAction' => 'site/error', ], ...
<!doctype html> <html class="no-js" lang="zxx"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Jardín De Ensueño</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UserUpdate extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the va...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
@extends('layouts.app') @section('content') <div class="row"> <div class="col"> <!-- Display Messages --> @include('flash-message') <!-- End Messages --> </div> </div> <div class="row"> </div> <div class="row"> <!-- Show all available tips & tric...
@extends('Frontend::layouts.master') @section('title', __('Contact Us')) @section('class_body', 'page contact-us') @php enqueue_styles('mapbox-gl'); enqueue_styles('mapbox-gl-geocoder'); enqueue_scripts('mapbox-gl'); enqueue_scripts('mapbox-gl-geocoder'); @endphp @section('content') @php ...
<?php /** * SPF/HTTP/Request.php * * @author David Hamp <david.hamp@gmail.com> * @license https://github.com/davidhamp/Spiffy/blob/master/LICENSE.md * @version 1.0.0 */ namespace SPF\HTTP; /** * Request abstraction class * * Centralizes various PHP request information such as $_SERVER, $_GET, $_POST, and $_...
<?php namespace app\admin\controller; use app\admin\controller\Common; class Index extends Common{ public function index(){ return $this->fetch(); } }
<?php namespace Reflex\LockdownAdmin\Http\Requests; use Illuminate\Foundation\Http\FormRequest; abstract class Request extends FormRequest { // public function authorize() { return true; } }
<?php namespace app\admin\controller; use Request; use Db; use Session; class Attrcategory extends Common { public function list() { return $this->fetch(); } public function show() { $arr=Db::query("select * from attrcategory "); $json=['code'=>'0','status'=>'ok',...
@extends('admin.layouts.admin') @section('content') <div class="header"> <h2>All <strong>Transactions</strong></h2> <div class="breadcrumb-wrapper"> <ol class="breadcrumb"> <li><a href="dashboard.html">Make</a> </li> <li><a href="tables.h...
<div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <i class="fa fa-users"></i> Resultados de partido <small> <?php echo $salaInfo->salaId ." / ". $salaInfo->locacion ; ?></small> </h1> </section> <section class="content"> <div...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class DoctorSignUpForm extends CI_Controller { public function __construct() { parent:: __construct(); $this->load->model(''); } public function index() { $this->load->view('DoctorSignUpForm_view'); } ...
<?php namespace App\Http\Controllers\API; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Auth; use App\Models\Information; use Symfony\Component\HttpFoundation\Response; use Illuminate\Validation\ValidationException; class InformationController extends Controller { protected $model; pu...
<?php // Отображение справочника показателей use yii\helpers\Html; use yii\bootstrap\ActiveForm; use yii\grid\GridView; use yii\grid\ActionColumn; use yii\grid\SerialColumn; $this->title = 'Довідник показників'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="form-group"> <?= Html::a('Добавити', ['c...
<?php namespace Boekkooi\Tactician\AMQP\Middleware; use Boekkooi\Tactician\AMQP\Message; use Boekkooi\Tactician\AMQP\Publisher\MessageCapturer; use League\Tactician\Middleware; /** * A middleware that will publish any message and store it in memory */ class MessageCapturingMiddleware implements Middleware { /**...
<div id="sidebar" class='active'> <div class="sidebar-wrapper active"> <div class="sidebar-header"> <img src="assets/images/MainLogo.jpg" alt="" srcset=""> Al-Ghuroba </div> <div class="sidebar-menu"> <ul class="menu"> <li class='sidebar-...
<?php use BoundedContext\Contracts\Event\Snapshot\Transformer; use BoundedContext\Contracts\Sourced\Stream\Stream; use BoundedContext\Event; use BoundedContext\Event\AggregateType; use BoundedContext\Event\Snapshot\Snapshot; use BoundedContext\Schema\Schema; use BoundedContext\Sourced\Stream\SnapshotStream; use EventS...
@extends('admin.layouts.master') @section('content') <!-- BEGIN PAGE-BAR --> <div class="page-bar"> <ul class="page-breadcrumb"> <li> <a href="{{route('admin')}}">الصفحة الرئيسية</a> <i class="fa fa-circle"></i> </li> <li> <a href="{{route('sponsers.index'...
<?php class Admin_Component_VenueMerge extends Admin_Component_Abstract { public function prepare(CM_Frontend_Environment $environment, CM_Frontend_ViewResponse $viewResponse) { $venue = $this->_params->getVenue('venue'); $viewResponse->set('venue', $venue); } }
<?php class Notificacione extends \Eloquent { protected $connection = 'Pilar'; protected $table = "notificaciones"; // Reglas de validacion public static $rules = [ // 'title' => 'required' ]; //Mensajes de error protected static $messages = [ //'title.required' => 'Mensaje de ejemplo' ]; // Campos...
@extends('admin.parts.master') @section('content') <h1 style="text-align: center; margin-top: 100px auto; background-color: #80ced6; padding: 15px;">Category List</h1> <table class="table"> <thead> <tr> <th scope="col">#</th> <th scope="col">Name</th> <th scope="col">Category Name</t...
<?php // Copyright 2020 Google LLC // // 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 ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateKategorisTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('kategoris', f...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateEventsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { //els null son perque potser al entrar l...
<?= $this->extend('_Layout') ?> <?= $this->Section('content') ?> <?php session_Start() ?> <!-- START SECTION SHOP --> <div class="section"> <div aria-live="polite" aria-atomic="true" style="position: relative; min-height: 200px;"> <div class="container"> <div class="row d-flex justify-content-...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateExtraDocumentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('extra_do...
<?php /* * This file is part of the Slack API library. * * (c) Cas Leentfaar <info@casleentfaar.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CL\Slack\Tests\Payload; use CL\Slack\Payload\ChannelsInvitePayloadRes...
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Email extends BaseConfig { /** * @var string */ public $fromEmail = 'bagustwn69@gmail.com'; /** * @var string */ public $fromName = 'Bagus Setiawan'; /** * @var string */ public $recipients; /** * The "user agent" * * @var s...
<?php include_once 'dbConnection.php'; session_start(); $email=$_SESSION['email']; if(!(isset($_SESSION['email']))){ header("location:index.php"); } $stid=intval($_GET['stid']); if(isset($_POST['submit'])) { $rowid=$_POST['id']; $marks=$_POST['marks']; foreach($_POST['id'] as $count => $id){ $mrks=$marks[$count...
<?php namespace WorldCatLD; class Entity { use Graph; /** * @param array $entityData */ public function __construct(array $entityData) { $this->id = $entityData['@id']; $this->setSourceData($entityData); } /** * @param array $data */ public function set...
<?php //echo '<br><br><br><br>Loaded Displayer'; /* This contains the form submission handlers as well as the get submission handlers. This is used to determine which element will be loaded into the center of the page. */ /* * Role Menus Handling */ { // Show POC page if( $_GET['display'] == 'Poc' ) { echo...
<?php use Asseco\BlueprintAudit\App\MigrationMethodPicker; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAuthorizableModelsTable extends Migration { /** * Run the migrations. * * @return void */ pu...
<div class="sidenav"> <a href="{{action('Hazim_Form\CaseManagement_Controllers@ownticketlist')}}" class=""> <span style="font-family: 'Muli' !important">My Tickets</span> </a><br> <br> <a href="{{action('Hazim_Form\CaseManagement_Controllers@createticket')}}" class=""> <span style="fo...
<?php namespace Laravel; use Closure; class Validator { /** * The array being validated. * * @var array */ public $attributes; /** * The post-validation error messages. * * @var Messages */ public $errors; /** * The validation rules. * * @var array */ protected $rules = array(); /** ...
<?php namespace Google\AdsApi\AdManager\v202111; /** * This file was generated from WSDL. DO NOT EDIT. */ class BrowserTargeting { /** * @var boolean $isTargeted */ protected $isTargeted = null; /** * @var \Google\AdsApi\AdManager\v202111\Technology[] $browsers */ protected $b...
<?php require_once('Classes/Crud.php'); $crud = new Crud('customers'); $id=$_GET['id']; $sth = $crud->pdo->prepare("SELECT * from customers WHERE id = :id"); $sth->bindValue(':id', $id, PDO::PARAM_STR); $sth->execute(); $reg = $sth->fetch(PDO::FETCH_OBJ); $id = $reg->id; $name = $reg->name; $email = $reg->email; $ci...
@extends('layouts.app') @section('content') <section class="content-header"> <h1> Mbanca </h1> </section> <div class="content"> <div class="box box-primary"> <div class="box-body"> <div class="row" style="padding-left: 20px"> ...
<?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 ConfigTransformer202110251\Symfony\Component\Finder\Iterator; use Config...
<?php namespace akreditasi\models; use common\models\User; use yii\base\InvalidArgumentException; use yii\base\Model; class VerifyEmailForm extends Model { /** * @var string */ public $token; /** * @var User */ private $_user; /** * Creates a form model with given toke...
<div class="alert alert-danger"> <div class="alert-title"> <h3>{{$title}}</h3> </div> {{$slot}} </div>
<?php return [ 'SERVER_NAME' => "InformationDance", 'MAIN_SERVER' => [ 'LISTEN_ADDRESS' => '0.0.0.0', 'PORT' => 8991, 'SERVER_TYPE' => EASYSWOOLE_WEB_SERVER, //可选为 EASYSWOOLE_SERVER EASYSWOOLE_WEB_SERVER EASYSWOOLE_WEB_SOCKET_SERVER,EASYSWOOLE_REDIS_SERVER 'SOCK_TYPE' => SWOOLE_...
<?php use Complex\Complex as Complex; include('../classes/Bootstrap.php'); $values = [ new Complex(123), new Complex(456, 123), new Complex(0.0, 456), ]; foreach ($values as $value) { echo $value, PHP_EOL; } echo 'Addition', PHP_EOL; $result = \Complex\add(...$values); echo '=> ', $result, PHP_EOL...
<?php // An array of validation responses $validationResult = array(); // Type of request we are interested in. $_POST, $_GET or both - $_REQUEST $request = $_REQUEST; foreach($request as $formItem => $value) { $validationMethod = "Validate" . ucfirst($formItem); if (is_callable($validationMethod)...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?><!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7 Version: 4.7.5 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/ke...
<?php /** * A base for bulk loaders of content into the SilverStripe database. * Bulk loaders give SilverStripe authors the ability to do large-scale uploads into their Sapphire databases. * * You can configure column-handling, * * @todo Add support for adding/editing has_many relations. * @todo Add support f...
<?php /* * PSX is a open source PHP framework to develop RESTful APIs. * For the current version and informations visit <http://phpsx.org> * * Copyright 2010-2017 Christoph Kappestein <christoph.kappestein@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ...
<?php use yii\db\Migration; /** * Handles the creation of table `{{%user_worck_time}}`. */ class m200501_102451_create_user_worck_time_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable('{{%user_worck_time}}', [ 'id' => $this->pri...
@extends('layouts.app') @section('title','Add Employee') @section('content') <div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-12"> <div class="ibox "> <div class="ibox-title"> <h5>All Element for Add Category</h5>...
<?php /** * Generated by phpSPO model generator 2020-05-26T22:10:14+00:00 */ namespace Office365\Graph; use Office365\Runtime\ClientValueObject; class MediaStream extends ClientValueObject { /** * @var string */ public $Label; /** * @var string */ public $SourceId; /** ...
<?php namespace App\Providers; use App\PaymentGateway; use App\Http\Controllers\SponsorableSponsorshipsController; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot(...
<?php /** * Author: SyntaxErrorLineNULL. */ declare(strict_types=1); namespace SELN\App\Application\Infrastructure; use Doctrine\ORM\EntityManagerInterface; use Interop\Container\ContainerInterface; use Laminas\ServiceManager\Factory\FactoryInterface; class FlusherFactory implements FactoryInterface { /** ...
<?php namespace denisok94\helper\traits; /** * OtherHelper trait */ trait OtherHelper { /** * @param string $url адрес сайта, * @param array|string $params данные/параметры запроса, * @param string $method тип/метод запроса, * @param int $timeout ожидание ответа, * @param array|string $...