text
stringlengths
2
1.03M
<?php namespace Model; class TemperaturesForProbes extends TemperaturesModel { protected $fillable = ['rules_id','invalid_id']; public function probe() { return $this->belongsTo('\Model\ProbesDevices', 'device_id'); } public function pair() { return $this->belongsTo('\Model\T...
<?php namespace ContainerXxjop7e; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\Container; use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; use Symfony\Compone...
@extends('layouts.app') @section('content') <h1>The Course Registration Page</h1> <form method="POST" action="/courseDisplay"> <input type="radio" name="Semester" value="F" checked="checked"> Fall<br> <input type="radio" name="Semester" value="W"> Winter<br> <input type="radio" name="Semester" value...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * @package : Mutiara Islam * @author : Fika Ridaul Maulayya <ridaulmaulayya@gmail.com> * @since : 2017 * @license : https://mutiara-islam.id/ */ class About extends CI_Controller { public function __construct() { par...
<?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\Console\Formatter; /** * Formatter class for console...
<?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 | ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title> My Profile | Urban Muni </title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0"> <!-- Favicons --> <link href="<?= base_url(); ?>assets/img/favicon.png" rel="icon"> <link rel="stylesheet" href="<?= bas...
@extends('master') @section('content') <main id="content-page" role="main"> <!-- calender main --> <div class="container my-5"> <div class="col-12 shadow my-3 p-5"> <form action="/" method="post" class="row"> @csrf <div class="row w...
<?php namespace CWM\BroadWorksConnector\Ocip\Models; /** * UserOutgoingCallingPlanRedirectingGetRequest * * Request the initiating call forwards/transfer permissions for a user. * The response is either a UserOutgoingCallingPlanRedirectingGetResponse or an ErrorResponse. * * @see UserOutgoingCallingPlan...
<?php /** * Author: Nil Portugués Calderó <contact@nilportugues.com> * Date: 23/03/16 * Time: 22:43. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace NilPortugues\Tests\MessageBus\QueryBus\Resolver; use InvalidArgumentEx...
<?php /** * Joomla! Content Management System * * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Application; defined('JPATH_PLATFORM') or die; use Joomla\Application\Cli\Cl...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\Category */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="category-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'label')->textInput(['maxlength' => true]) ; ...
<?php namespace App\Http\Livewire\Admin\Dashboard; use Livewire\Component; use App\Models\Appointment; class AppointmentsCount extends Component { public $appointmentsCount; public function mount() { $this->getAppointmentsCount(); } public function getAppointmentsCount($status...
<?php class Employee_m extends CI_Model { function __construct() { // Call the Model constructor parent::__construct(); } function get_employees() { $query = $this->db->from('employee')->join('department', 'department.department_id=employee.department_id')->get(); ...
<div class="header"> <div class="smallheader rightFloat navigation"> <?php echo $this->navigation($this->name) ?> </div> <?php if (!$this->referrer): ?> <?php echo $this->breadcrumb($this->name) ?> <?php else: ?> <?php echo $this->h($this->name) ?>: <?php echo $this->referrer ?> <?php endif ?> <?php if ($this->is...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class UploadController extends Controller { public function uploadForm() { return view('home'); } public function uploadFile(Request $req) { $path= $req->file->store('public'); return view('upload')->with...
<?php /* * This file is part of the Solarium package. * * For the full copyright and license information, please view the COPYING * file that was distributed with this source code. */ namespace Solarium\Component\QueryTraits; use Solarium\Component\ComponentAwareQueryInterface; use Solarium\Component\MoreLikeTh...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Repositories\WidgetRepository; use App\Repositories\PblRepository; use risul\LaravelLikeComment\Models\Comment; use App\Post; use App\About; use App\Tag; use Auth; use Session; use OpenGraph; class SocketController extends Controller { p...
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; use App\Role; class RegisterController extends Controller { /* |-------------------------...
<?php namespace App\Http\Controllers; use App\Models\Article; use App\Models\Genre; use App\Models\Clasification; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class DashboardController extends Controller { public function dashboard () { $user = Auth::user(); if($user->role_id...
<?php namespace Worksome\WorksomeSniff\Tests\Resources\Sniffs\Classes\ExceptionSuffixSniff\App; use Exception; class WrongExceptionName extends Exception { }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddLicenceIdToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', fu...
<script src="../admin/js/vendor.bundle.base.js"></script> <script src="../admin/js/vendor.bundle.addons.js"></script> <script src="../admin/js/off-canvas.js"></script> <script src="../admin/js/hoverable-collapse.js"></script> <script src="../admin/js/template.js"></script> <script src="../admin/js/settings...
<?php namespace PWRDK\CustomAttributes\Tests\Models; use Illuminate\Database\Eloquent\Model; use PWRDK\CustomAttributes\HasCustomAttributes; class User extends Model { use HasCustomAttributes; }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class students extends Model { use HasFactory; protected $table = 'students'; }
<?php namespace Fruty\SmartHome\Exchange\App\Actions\GetExchangeEditForm; use Fruty\SmartHome\Common\View\Contracts\ViewFactoryAwareInterface; use Fruty\SmartHome\Common\View\Traits\ViewFactoryAware; use Fruty\SmartHome\Exchange\Concern\Contracts\ExchangeInterface; use Illuminate\Http\Response; class GetExchangeEditF...
<?php namespace App\Http\Controllers\Api\v1\Customer; use App\Http\Controllers\Controller; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; class CustomerController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response ...
<?php namespace App\Http\Controllers; use App\Project; use App\User; use Illuminate\Http\Request; use Mpdf\Mpdf; use Illuminate\Support\Facades\Auth; class ProjectController extends Controller { // public function getAll() { return Project::with("client")->get(); } public function getByI...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Post extends Model { protected $fillable = ['title', 'description']; }
<?php declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://hyperf.wiki * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ namespace Hyperf\HttpServer\Annotation; use Attribute; use Hyperf\Di\Annotation\A...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSpaceshipsTable extends Migration { /** * Run the migrations to create table spaceships. * * @return void */ public function up() { S...
<?php namespace App; use http\Env\Request; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; use Illuminate\Support\Collection; use App\Tag; use App\PostTags; /** * App\Post * * @method static \Illuminate\Database\Eloquent\Builder|\App\Post newModelQuery() * @method static \Illuminate\Da...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; class S3ImageController extends Controller { public function show(Request $request, $user, $year, $month, $day, $file) { return Storage::disk('s3')->response("/images/uploads/$user/$year/$month/...
<?php /** * Contains all client objects for the AdGroupCriterionService * service. * * PHP version 5 * * Copyright 2014, Google Inc. All Rights Reserved. * * 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 co...
<style> .button { background-color: #99CC00; border: none; color: white; padding-top: 8px; padding-bottom: 8px; padding-right:15px; padding-left:15px; text-align: center; text-decoration: none; display: inline-block; font-size: 14px; margin: 4px 2px; } .button1 {border-radius: 2p...
<?php namespace Base\AdminBundle\Form\Type; use Sonata\AdminBundle\Form\DataTransformer\ModelToIdTransformer; use Symfony\Component\Form\FormBuilderInterface; /** * FDCPageParticipateSectionWidgetTypethreeType class. * * \@extends FDCPageParticipateWidgetType * @author Antoine Mineau <a.mineau@ohwee.fr> * \@c...
--TEST-- unset() CV 10 (unset() of global variable in ArrayObject::offsetUnset($GLOBALS)) --FILE-- <?php /* This is working on a copy of $GLOBALS, so nothing interesting happens here. */ $a = new ArrayObject($GLOBALS); $x = "ok\n"; echo $x; $a->offsetUnset('x'); echo $x; echo "ok\n"; ?> --EXPECT-- ok ok ok
@extends('layouts.app') @section('content') <div class="row"> <div class="col-md-6"> <div class="card"> <div class="card-header"><h2>Account info</h2></div> <div class="card-body"> @if(Session::has('updated_user')) <div class="alert alert-info">{{session('updated_user')}}</div> @e...
<?php /** * Copyright (c) 2015-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to * use, copy, modify, and distribute this software in source code or binary * form for use in connection with the web services and APIs provided by * Facebook. ...
<?php declare(strict_types=1); namespace Yoti\Profile\Util\ExtraData; use Psr\Log\LoggerInterface; use Yoti\Exception\ExtraDataException; use Yoti\Profile\ExtraData\AttributeDefinition; use Yoti\Profile\ExtraData\AttributeIssuanceDetails; use Yoti\Protobuf\Sharepubapi\IssuingAttributes; use Yoti\Protobuf\Sharepubapi...
<?php namespace DoctrineExtensions\Query\Mysql; use Doctrine\ORM\Query\AST\Functions\FunctionNode; use Doctrine\ORM\Query\Lexer; /** * @author Nima S <nimasdj@yahoo.com> */ class FromUnixtime extends FunctionNode { public $firstExpression = null; public $secondExpression = null; public function getSq...
@extends('layout.mockup') @section('title', 'About Us') @section('Judul Halaman') <h1>About Politekni Negeri Malang</h1> @endsection @section('isi') <p class="sub">Selamat Datang Di Webside About Jurusan Teknologi Informasi Politeknik Negeri Malang.</p> <p> Polinema adalah institusi pendidikan ti...
<?php $config = array( 'database' => array(//datubāzes piekļuves dati 'host' => 'te_hosts', 'user' => 'te_user', 'password' => 'te_parole', 'db' => 'te_db' ), 'url' => 'http://domens'// domēns ar http:// );
<?php /** * ALIPAY API: alipay.open.public.shortlink.create request * * @author auto create * * @since 1.0, 2017-07-04 10:40:37 */ namespace Alipay\Request; class AlipayOpenPublicShortlinkCreateRequest extends AbstractAlipayRequest { /** * 服务窗短链自主生成接口 **/ private $bizContent; public func...
<?php return [ /* |-------------------------------------------------------------------------- | Standards Tree |-------------------------------------------------------------------------- | | Versioning an API with Dingo revolves around content negotiation and | custom MIME types. A custom ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model frontend\models\File */ $this->title = Yii::t('app', 'Update File: {nameAttribute}', [ 'nameAttribute' => $model->id, ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Files'), 'url' => ['index']]; $this->params['breadcrumbs']...
<ul class="sidebar navbar-nav"> <li class="nav-item"> <a class="nav-link" href="index.html"> <i class="fas fa-fw fa-tachometer-alt"></i> <span>Dashboard</span> </a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="pagesDropdown" role="button" data-toggle="dropdown" ar...
<?php namespace Stripe\Response\Accounts; use JMS\Serializer\Annotation\Type; class TransferScheduleResponse { /** * @Type("integer") * @var integer */ protected $delayDays; /** * @Type("string") * @var string Options are daily, weekly, or monthly */ protected $interv...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class BillProduct extends Model { protected $fillable = [ 'product_id', 'bill_id', 'quantity', 'tax', 'total', ]; public function product(){ return $this->hasOne('App\ProductAndService', 'id', 'p...
<?php return [ /* * This is the class responsible for providing the URLs which must be redirected. * The only requirement for the redirector is that it needs to implement the * `Spatie\MissingPageRedirector\Redirector\Redirector`-interface */ 'redirector' => \App\Services\MissingPageRedirec...
<?php namespace VSTACK\API; use VSTACK\Integration\DataStoreInterface; use VSTACK\Integration\DefaultIntegration; abstract class AbstractPluginActions { protected $api; protected $config; protected $integrationAPI; protected $dataStore; protected $logger; protected $request; protected $cl...
@extends('header') @section('titulo','hospede') @section('body') <div id="layoutSidenav_content"> <div class="container-fluid px-4"> <div class="card mb-4"> <button type="button" class="btn btn-primary" onclick="novoProduto()"> <svg xmlns="http://www.w3.org/2...
<?php namespace ContainerK2r6CbD; 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 getConsole_Command_TranslationUp...
<?php use PseudoVendor\PseudoTheme\Theme; /** * Render page */ Theme::render('archive.twig', []);
<?php include_once dirname(__FILE__) . '/' . '../user_identity.php'; include_once dirname(__FILE__) . '/' . 'user_identity_storage.php'; class UserIdentityCookieStorage implements UserIdentityStorage { const userNameCookie = 'username'; const passwordCookie = 'password'; const persistentCookie = 'user_ide...
@extends("layouts.master") @section("content") <div class="card mb-3 align-content-center"> <div class="card-header"> @if(session()->has("message")) <div><span class="alert alert-success">{{ session()->get("message") }}</span></div> @endif</div> <div class="...
20 75 5 8 7474 0 1 1700.00 0 2 1846.00 0 3 942.000 0 4 2709.00 0 5 1440.00 0 6 1315.00 0 7 1751.00 0 8 1227.00 0 9 1379.00 0 10 1954.00 0 11 543.000 0 12 744.000 0 13 1289.00 0 14 511.000 0 15 1371.00 0 16 1957.00 0 17 877.000...
<svg class="mr-4 h-6 w-6 text-amber-200 dark:text-gray-400" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Table extends CI_Controller { function __construct() { parent::__construct(); $this->load->library('table'); } public function index() { $tmpl = array ( 'table_open' => '<table border="0" cellpadding="4" ce...
<!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> <h1>Thi...
<?php namespace App\Services; use App\Article; use App\Category; use App\Ticket; use Arr; use Common\Core\Prerender\BaseUrlGenerator; class UrlGenerator extends BaseUrlGenerator { /** * @param Ticket|array $ticket * @return string */ public function ticket($ticket) { $tag = Arr::ge...
<?php if (isset($_POST['btnCompra'])) { require_once 'conexao.php'; $compra = $_POST['compra']; $data = $_POST['data']; $fk = $_POST['fk']; $insert = " INSERT INTO compra (compra,data,produto_idproduto) VALUES('$compra',now(),'$fk') "; var_dump($insert); $stmt = mysqli_query($link, $insert); var_dump($s...
<?php // Text $_['text_items'] = '%s item(s) - %s'; $_['text_empty'] = 'Your shopping cart is empty!'; $_['text_cart'] = 'View Cart'; $_['text_checkout'] = 'Checkout';
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateContactinfoTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('contactinfo', function(Blueprint $table) { $table->increments('contacti...
<?php return [ 'save' => 'Zapisz', 'create' => 'Utwórz', 'update' => 'Aktualizuj', 'delete' => 'Usuń', 'failed' => 'Nie powiodło się', 'store' => ' Sklep', 'image' => 'Obraz', 'no result' => 'Brak wyników', 'product' => 'Produkt', 'attribute' => 'Atrybut', 'actions' => 'akc...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Config; use Illuminate\Support\Facades\Schema; class CreateConsumeRulesTable extends Migration { /** * Run the migrations. */ public function up() { Schema::create...
<?php namespace VGCore\factory\entity\mob; use VGCore\factory\entity\mob\BasicMonster as Monster; class Skeleton extends Monster { const NETWORK_ID = self::SKELETON; public function getName(): string{ return "Skeleton"; } public function getDrops() : array{ return []; } }
<?php namespace Jarhen\Modules\Commands; use Jarhen\Modules\Support\Stub; use Jarhen\Modules\Traits\ModuleCommandTrait; use Symfony\Component\Console\Input\InputArgument; class GenerateJobCommand extends GeneratorCommand { use ModuleCommandTrait; /** * The console command name. * * @var strin...
<?php namespace WPEloquent\Model; use \WPEloquent\Traits\HasMeta; class Post extends \Illuminate\Database\Eloquent\Model { use HasMeta; protected $table = 'posts'; protected $primaryKey = 'ID'; protected $post_type = null; public $timestamps = false; const CREATED_AT = 'post_date'...
<script type="text/javascript" src="/js/product_category.js"></script> <div> &nbsp; </div> <div class="container"> <div class="panel-group"> <div class="panel panel-default"> <div class="panel-heading"> <div class="row"> <div class="col-lg-6"> ...
<?php /** * The main template file * * This is the most generic template file in a WordPress theme and one * of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query, * e.g., it puts together the home page when no home.php file ex...
<?php namespace Frontend\Core\Engine\Base; /* * This file is part of Fork CMS. * * For the full copyright and license information, please view the license * file that was distributed with this source code. */ use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\RedirectResponse; u...
<?php namespace App\Controllers\AJAX; use App\Controllers\BaseController; use App\Controllers\Main\Pensiun as MainPensiun; use App\Models\ModelPegawai; use App\Models\ModelPesan; use App\Models\ModelUser; use JsonException; class Pesan extends BaseController { public function pesanPensiun() { $modelp...
<?php namespace app\controllers; use app\models\Eventos; use app\models\Usuarios; use app\models\UsuariosSearch; use Yii; use yii\filters\AccessControl; use yii\filters\VerbFilter; use yii\helpers\Html; use yii\helpers\Url; use yii\web\Controller; use yii\web\NotFoundHttpException; /** * UsuariosController implemen...
@include('../layouts/layout') @section('content') <div class="container" style="max-width: 600px; margin: auto;"> <h3 class="text-center text-warning">Forgot Password? :(</h3> <p class="text-center">Fill out the form below, if you have an account with us we'll send you an email.</p> <p class="text-start fst-itali...
<?php namespace App\Resolvers; use App\Models\PaymentPlatform; class PaymentPlatformResolver { protected $paymentPlatforms; public function __construct() { $this->paymentPlatforms = PaymentPlatform::all(); } public function resolveService($paymentPlatformId) { $name = strtol...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class MenuSeed extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $data = array( [ "id" => "1", ...
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Framework\MockObject; use SebastianBe...
@php $guardData = Auth::guard()->user(); @endphp <section class="content"> <div class="container-fluid"> <div class="block-header"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <ul class="breadcrumb breadcrumb...
<?php namespace Elasticsearch; use Elasticsearch\Common\Exceptions; use Elasticsearch\ConnectionPool\AbstractConnectionPool; use Elasticsearch\Connections\Connection; use Elasticsearch\Connections\ConnectionInterface; use Psr\Log\LoggerInterface; /** * Class Transport * * @category Elasticsearch * @package Elas...
<?php namespace App\Http\Controllers\Auth; use App\user; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |---------------------------------------...
<?php use App\Models\Company; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; use App\Http\Controllers\JobController; use App\Http\Controllers\HomeController; use App\Http\Controllers\UserController; use App\Http\Controllers\EmailController; use App\Http\Controll...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateFields extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('fields', function(Blueprint $table){ $table->increments('id'); $table->string('n...
<?php namespace ContinuousPipe\River\Managed\Resources\UsageProjection; use ContinuousPipe\River\Flow\Projections\FlatFlow; class UsageProjector { /** * @var FlowUsageProjector */ private $flowUsageProjector; public function __construct(FlowUsageProjector $flowUsageProjector) { $th...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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/LICENS...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateClientesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('clientes', fun...
<strong>{{ $name }}</strong>, <p>Hey There! This email informs you that you booking here at Lynette Garden is now done and close. Thank you for choosing Lynette Garden! See you soonest! Control Number: {{$control_number}}</p> <p>Warm Regards, <br/> Lynette Garden</p>
<?php namespace App\Modelos; use Illuminate\Database\Eloquent\Model; class EventPlace extends Model { protected $fillable = [ 'name', 'descripcion', 'start', 'finish', 'place_id', ]; public function place() { return $this->belongsTo('App\Modelos\Place')...
<?php /* * This file is part of the PHP_CodeCoverage package. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ if (!defined('TEST_FILES_PATH')) { define('TEST_FILES_PATH', dirname(...
<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // ]; ...
<div class="container"> <div class="row"> <div class="col-lg-2"></div> <div class="col-lg-6"> <br> <div class="kt-portlet"> <div class="kt-portlet__head"> <div class="kt-portlet__head-label"> <h3 class="kt-portlet__head-title"> <?php echo empty($rou...
<?php require './common/TrueFalseShennong.php'; $testing_var; // without initialization $shennong = new TrueFalseShennong('null_empty_util'); $shennong->addTesters('isset', function($input) {return isset($input);}); $shennong->addTesters('empty', function($input) {return empty($input);}); $shennong->addTesters('is_nu...
<?php use yii\db\Migration; /** * Class m180213_144317_zoo_init */ class m180213_144317_zoo_init extends Migration { /** * @inheritdoc */ public function safeUp() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 C...
<?php namespace Lexik\Bundle\TranslationBundle\Tests\Unit; use Doctrine\Common\Cache\ArrayCache; use Doctrine\Common\Persistence\ObjectManager; use Doctrine\Common\DataFixtures\Executor\ORMExecutor; use Doctrine\Common\DataFixtures\Executor\MongoDBExecutor; use Doctrine\Common\DataFixtures\Purger\ORMPurger; use Doctr...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
<?php /** * Configuration file generated by ZF Apigility Admin * * The previous config file has been stored in ./config/modules.config.old */ return [ 'Zend\\Cache', 'Zend\\Log', 'Zend\\Mail', 'Zend\\Mvc\\Console', 'Zend\\Mvc\\I18n', 'Zend\\I18n', 'Zend\\Mvc\\Plugin\\FilePrg', 'Zend\...
<?php include('../dbConnection.php'); session_start(); if(isset($_SESSION['is_login']) && $_SESSION['is_login']==true){ $email = $_SESSION['rEmail']; $sql = "SELECT enc_vault FROM users WHERE r_email='" .$email. "'"; $result = $conn->query($sql); if($result->num_rows>0){ $row = $result->fetch_assoc(...
<?php namespace Proxies\__CG__\UserBundle\Entity; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class User extends \UserBundle\Entity\User implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closure the callback responsible for loading properties in the proxy object. This cal...
@extends('layouts.layout') @section('head') {{ HTML::script('js/functions/crearplan.js') }} {{ HTML::script('js/lib/jquery.ui.js') }} @stop @section('titulo') CMA/Crear Plan @stop @section('sidebar') @parent @stop @section('content') <h1> Crear Plan</h1> <br/> {{ HTML::link('ListaPlanes','Volver',array( 'type' => '...