text
stringlengths
2
1.03M
<?php /** * Base class for all scout2go user level exceptions */ class mCusException extends CakeException { public function __construct($args, $code = 500) { parent::__construct($args, $code); } }; class NotAllowedRequestException extends mCusException { public function __construct($msg = 'Y...
<form class="form-horizontal" role="form" action="{{ route('user-update', ['user_id' => $user['userData']->id]) }}"> <div class="form-group"> <div class="col-md-12"> <input type="text" class="form-control" id="email" name="email" placeholder="Email address" value="{{ $user['userData']->email }}"> </div> </div>...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateImovelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('imoveis', funct...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title><?php echo $__env->yieldContent('title'); ?></title> <!-- Fonts --> <link rel="dns-prefetch" href="//fonts.gstatic.com"> <link ...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Mailgun, Postmark...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Cont...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Content; class ContentsController extends Controller { function index(){ $data = Content::get(); return view('contents/index', compact('data')); } }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class ProducBrand extends Model { protected $table = 'product_brand'; protected $fillable = ['name']; }
<?php /** * Created by PhpStorm. * User: longnguyen * Date: 5/24/18 * Time: 3:37 PM */ ?> @extends('admin.DashBoard') @section('content') <section class="tables"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <div class="card"> ...
<?php namespace backend\models; use Yii; /** * This is the model class for table "bahan". * * @property int $BAHAN_ID * @property int $RESEP_ID * @property string $BAHAN_NAMA * * @property Resep $rESEP */ class Bahan extends \yii\db\ActiveRecord { /** * {@inheritdoc} */ public static functi...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\LoaiPhuongTien; use App\DichVu; use DB; class LoaiPhuongTienController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $l...
<?php $version = '2.3'; // the $ projectnumber variable is automatically replaced by doxygen with the version number $pagetitle = 'sf::ThreadLocal Class Reference'; // the $ title variable is automatically replaced by doxygen with the page title include('../header.php'); ?> <!-- Generated by Doxygen 1.8.9.1...
<?php namespace App\Services\Client; use App\Repository\Client\ClientRepository; class ClientDeleteService { private $repository; public function __construct(ClientRepository $repository) { $this->repository = $repository; } public function index($document) { $client = $this...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Category extends Model { use HasFactory; public $table = "categories"; public $fillable = ['name']; public function Products(){ return $this->hasMany(Product::cl...
<?php /* * This file is part of the Thinreports PHP package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Thinreports\Item; abstract class AbstractBlockItem extends AbstractItem { private $value = ''; /** ...
<?php return [ /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This m...
<?php /** * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment; use Magento\Framework\App\Action\HttpPutActionInterface; use Magento\Sales\Controller\Adminhtml\Order...
<!DOCTYPE html> <html dir="ltr" lang="en"> <head> <?php $this->load->view('top_css'); ?> <!-- Custom CSS --> <link rel="stylesheet" type="text/css" href="<?php echo base_url() . 'common/assets/extra-libs/multicheck/multicheck.css'; ?>"> <link href="<?php echo base_url() . 'common/assets/libs/datatables.net-bs4/css...
<?php namespace App\Services\Admin; use App\Repositories\Admin\AdminUserRepository; use Illuminate\Database\QueryException; use Illuminate\Support\Facades\DB; class AdminUserService { /** * @var AdminUserRepository */ private $adminUserRepository; public function __construct(AdminUserReposito...
<?php /** * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * *...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>DPPKB Kota XXX</title> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <link rel="shortcut icon" type="image/x-icon" href="<?php echo base_u...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDishesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('dishes', functi...
<?php /** * VC Empty Space config */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } vc_map(array( 'name' => esc_html__('Empty Space', 'uncode-core') , 'base' => 'vc_empty_space', 'icon' => 'fa fa-arrows-v', 'weight' => 960, 'show_settings_on_create' => true, 'category' => esc_html__('Co...
<?php /* * This file is part of the Kimai time-tracking app. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace App\Repository; use App\Configuration\ConfigLoaderInterface; use App\Entity\Configuration; use App\Form\Model\S...
<?php class A { private static $p = "A::p (static)"; static function showA() { echo self::$p . "\n"; } } class B extends A { protected $p = "B::p"; function showB() { echo $this->p . "\n"; } } A::showA(); $b = new B; $b->s...
<?php /* Template Name: Noticias */ get_header(); ?> <div id="main"> <div class="ndest"> <?php $sticky = get_option( 'sticky_posts' ); rsort( $sticky ); $sticky = array_slice( $sticky, 0, 1 ); $query = new WP_Query( array( 'post__in' => $sticky, 'ignore_sticky_posts' => 1 ) ); ?> <h3 class="fbup"...
<div class="orders card-panel"> <h5 class="mb-35 orders__title">You Booked</h5> <?php $subtotal = 0; $total = 0; ?> @foreach( $items as $item ) <div class="order"> <div class="order__image"> <a href="{{ route('package', $item->slug) }}"> {!! display($item->photos, 'img-rounded', 70) !!} </...
@extends('admin.layouts.admin') @section('content') <div class="row title-section"> <div class=".col-xs-12 .col-sm-6 .col-lg-8"> @section('title', "Employee Management") </div> <div class=".col-xs-6 .col-lg-4 searchbar-addbt"> <div class="topicbar form-group"> ...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateClientTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('client', functio...
<?php /** * If you are reading this in your web browser, your server is probably * not configured correctly to run PHP applications! * * MIT License * * Copyright (c) 2017 - 2020 Heinrich Schiller * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associate...
<?php namespace app\modules\daftar\models; use yii\base\Model; use yii\data\ActiveDataProvider; use app\modules\daftar\models\TracerStudy; /** * TracerStudySearch represents the model behind the search form of `app\modules\daftar\models\TracerStudy`. */ class TracerStudySearch extends TracerStudy { /** * ...
<?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Queue\SerializesModels; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Contracts\Bro...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\AktPenjualan */ $this->title = 'Ubah Data Penjualan : ' . $model->no_penjualan; // $this->params['breadcrumbs'][] = ['label' => 'Akt Penjualans', 'url' => ['index']]; // $this->params['breadcrumbs'][] = ['label' => $model->id_pen...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model frontend\models\Tugas */ $this->title = 'Update Tugas: ' . ' ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'Tugas', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->i...
<?php namespace LinkThrow\Ffmpeg\Provider; use Linkthrow\Ffmpeg\Classes\FFMPEG; use Illuminate\Support\ServiceProvider; class FfmpegServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; /** * ...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
<?php namespace AfzalH\UserApi\Requests; use App\User; use Illuminate\Foundation\Http\FormRequest; class StoreBusiness extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { /** @var User $user */...
<?php namespace Migratio\Contract; interface QueryBaseContract { /** * @return mixed */ public function getTables(); /** * @param array $tables * @return mixed */ public function getColumns($tables=array()); }
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddAcceptFriendRequests extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('friend_requ...
<!-- Breadcrumb --> <section id="breadcrumb" class="bg-white py-5"> <div class="container"> <div class="row"> <divc class="col-lg py-3"> <p class="text-secondary fw-light">Home / <span class="yellow-text">Produk</span></p> </divc> <div class="col-lg...
<?php /* * TencentBlueKing is pleased to support the open source community by making * 蓝鲸智云-权限中心PHP SDK(iam-php-sdk) available. * Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the...
<?php namespace Doctrine\DBAL\Schema; use Doctrine\DBAL\Types\Type; use const E_USER_DEPRECATED; use function array_merge; use function is_float; use function is_numeric; use function localeconv; use function method_exists; use function sprintf; use function str_replace; use function strval; use function trigger_erro...
<br /> <footer class="footer"> <div class="container"> <p class="text-muted">&#169; ebay 2016</p> <?php $sesion = $this->session->userdata('usuarioLogueado'); if($sesion!=""){ $cerrar = "<a href=".site_url('sesion/logout').">aquí</a>"; ec...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Description of LoginForm * * @author Guillermo */ namespace Inicio\Form; use Zend\Form\Element; use Zend\Form\Form;...
<?php /** * Altapay Module for Magento 2.x. * * Copyright © 2018 Altapay. All rights reserved. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SDM\Altapay\Api\Ecommerce; use SDM\Altapay\Api\Ecommerce\Callback; class Respo...
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Foundation\Auth\User ...
<?php function dataPadraoBrasileiro($data){ $data = explode("-", $data); return $data[2]."/".$data[1]."/".$data[0]; } function dataPadraoBanco($data){ $data = explode("/", $data); return $data[2]."-".$data[1]."-".$data[0]; } function dataContarDias($data, $dias){ return date('Y-m-d', strtotime($data . '+'.$di...
<br> <section id="how-it-works" > <div class="container"> <div class="section-header"> <h2 class="section-title text-center wow fadeInDown">How It Works</h2> </div> <div class="row"> <div class="features"> <div class="col-...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\UserComplaints */ $this->title = 'Update User Complaints: ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'User Complaints', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['vie...
<x-main-guest-layout :route='isset($url)?($url.".password.email"):"password.email"' cardTitle="Mot de passe obliée?" cardDescription="Mot de passe oublié? Aucun problème. Communiquez-nous simplement votre adresse e-mail et nous vous enverrons par e-mail un lien de réinitialisation de mot de passe ...
@extends('layouts.header') @section('content') {!! Form::open(array('url' => 'medicos/mod')) !!} @foreach ($medicos as $medico) <table class="table"> <tr> <td colspan="5"> Medicos </td> </tr> <tr> <td colspan="5"> <a href="{{...
<?php namespace RectorPrefix20210904; if (\class_exists('tx_saltedpasswords_emconfhelper')) { return; } class tx_saltedpasswords_emconfhelper { } \class_alias('tx_saltedpasswords_emconfhelper', 'tx_saltedpasswords_emconfhelper', \false);
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class CongestionPostcode extends Model { protected $fillable = [ 'carrier_id', 'from_postcode', 'to_postcode', 'charge_type', 'from_date', 'to_date', ]; public function isCongested($postco...
<?php function debugs($array){ echo '<pre>' .print_r($array, true) .'</pre>'; }
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <title>Control Panel - {{ App\Setting::find('sitename')->value }}</title> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <link href="/assets/css/bootstrap.min.css" rel="stylesheet...
@extends('layout.master') @section('pagetitle') Daftar Pembayaran @endsection @section('content') <div> @if (session('sukses')) <div class="alert alert-primary" role="alert"> {{session('sukses')}} </div> @endif </div> {{-- onclick="viewFunction(\''.$row->id.'\');" --}} {{-- data-target="#add...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</tit...
<?php // function getDatabaseConnection($dbName) { $host = "localhost"; $username = "root"; $password = ""; $dbName = "c9"; //checks whether the URL contains "herokuapp" (using Heroku) // if(strpos($_SERVER['HTTP_HOST'], 'herokuapp') !== false) { ...
<?php declare(strict_types=1); namespace App\Tests\SecurityAdvisory; use App\Entity\Package; use App\Entity\SecurityAdvisory; use App\Model\ProviderManager; use App\SecurityAdvisory\GitHubSecurityAdvisoriesSource; use Composer\IO\BufferIO; use Doctrine\Persistence\ManagerRegistry; use PHPUnit\Framework\MockObject\Moc...
<?php /** * @file controllers/grid/files/LibraryFileGridCategoryRow.inc.php * * Copyright (c) 2014-2020 Simon Fraser University * Copyright (c) 2000-2020 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @class LibraryFileGridCategoryRow * @ingroup controllers_gri...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Log; class ApiLogger { protected $const; protected $message; /** * Create a new controller instance. * * @return void */ public function __construct() { // 定数読み込み $this->const = c...
<?php /* * This file is part of the RxNET project. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Rxnet\RabbitMq; use Bunny\Channel; use Rx\Observable; class Exchange { const DELIVERY_RAM = 2; const DELIVERY_DISK ...
@extends('adminlte::page') @section('title', 'Product bewerken') @section('plugins.Select2', true) @section('content_header') <h1><a class="h6" href="{{url()->previous()}}"><i class="fas fa-arrow-left"></i></a> Product Bewerken</h1> @stop @section('content') <div class="row"> <div class="col-sm-9"> ...
<?php declare(strict_types=1); namespace Rector\SOLID\Tests\Rector\Class_\ChangeReadOnlyVariableWithDefaultValueToConstantRector; use Iterator; use Rector\SOLID\Rector\Class_\ChangeReadOnlyVariableWithDefaultValueToConstantRector; use Rector\Testing\PHPUnit\AbstractRectorTestCase; use Symplify\SmartFileSystem\SmartF...
<?php declare(strict_types=1); namespace ApiClients\Tests\Tools\Services\XmlRpc; use ApiClients\Tools\Services\XmlRpc\XmlRpcPayloadParser; use ApiClients\Tools\TestUtilities\TestCase; use DateTimeImmutable; final class XmlRpcPayloadParserTest extends TestCase { public function provideInputAndOutput() { ...
<?php namespace Dust\Ast; class Partial extends Part { public $type; public $key; public $inline; public $context; public $parameters; public function __toString() { $str = '{' . $this->type; if($this->key != NULL) { $str .= $this->key; } el...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: roydb.proto namespace Roydb; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Generated from protobuf message <code>roydb.Field</code> */ class Field extends \Goog...
<?php namespace App\Http\Requests\Wallets; use App\Models\Wallet; use Illuminate\Contracts\Validation\Validator; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class UpdateWalletRequest extends FormRequest { public $wallet; public function __con...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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, or // (at your option) any later version. // // Moodle ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\RequestSchool; use App\DataTables\SchoolDatatable; use Illuminate\Http\Request; use App\Models\School; class SchoolController extends Controller { //index school public function index(SchoolDatatable $schoo...
<?php namespace FilippoToso\Travelport\UProfile; class SecondaryTypeRule { /** * @var OptionalServiceApplicationLimitType[] $ApplicationLimit */ public $ApplicationLimit = null; /** * @var typeRef $SecondaryType */ public $SecondaryType = null; /** * @param typeRef $Sec...
<?php declare(strict_types = 1); /** * @package: pvc * @author: Doug Wilbourne (dougwilbourne@gmail.com) * @version: 1.0 */ namespace pvc\struct\lists\factory; use pvc\struct\lists\ListUnorderedInterface; /** * Class ListFactoryInterface */ interface ListUnorderedFactoryInterface { public function makeList...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?php namespace common\models; /** * This is the model class for table "profile". * * @property int $id * @property int $user_id * @property string $first_name * @property string $last_name * @property string $father_name * @property string $date_birth * @property string $image * @property string $telephone...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\User; use Faker\Generator as Faker; use Illuminate\Support\Str; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Thi...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Order extends Model { const FILES_DIR = '/public/orders'; const PAYMENT_CASH = 1; const PAYMENT_COUNT = 2; const PAYMENT_CARD = 3; protected $fillable = ['is_files']; public function getSurchargeAttribute() { ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ServiceCharge extends Model { protected $fillable = [ 'user_id', 'type', 'description', 'amount', 'balance' ]; // Customer Methods public static function balance($user) { return self::where('user_id', $user)->l...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
<?php require('fpdf.php'); class PDF extends FPDF { function Cell($w, $h = 0, $txt = '', $border = 0, $ln = 0, $align = '', $fill = false, $link = '') { $k = $this->k; if ($this->y + $h > $this->PageBreakTrigger && !$this->InHeader && !$this->InFooter && $this->AcceptPageBreak()) { $x...
<?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\Form\Tests\Extension\Core\Type; use Symfony\Component...
<?php /* From this file, you can edit the various meta-information of your game. Once you modified the file, don't forget to click on "Reload game informations" from the Control Panel in order in can be taken into account. See documentation about this file here: http://en.doc.boardgamearena.com/Game_...
<?php /** * Created by IntelliJ IDEA. * User: luwei * Date: 2017/9/9 * Time: 11:54 */ namespace app\controllers; use app\models\DataAcquisition; use app\models\Option; use yii\helpers\VarDumper; class TestController extends \yii\web\Controller { public function actionIndex() { var_dump(\Yii::$a...
<?php /** * Testimonials Template 4 * * This template can be overridden by copying it to mytheme/addons-for-elementor/addons/testimonials/style4.php * */ use Elementor\Utils; if (!defined('ABSPATH')) { exit; // Exit if accessed directly } $class_attr = $data_attr = ''; if ($settings['layout'] == 'grid') ...
@extends('front_office.base_front_office') @section('content') <!-- INICIO CONTENIDO-----------------------------------------> <div id="heading-breadcrumbs"> <div class="container"> <div class="row d-flex align-items-center flex-wrap"> <div class="col-md-7"> ...
<?php namespace App\Http\Controllers\API; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\User; use Illuminate\Support\Facades\Hash; class UserController extends Controller { public function __construct() { $this->middleware('auth:api'); } /** * Display a list...
<?php require_once dirname(__FILE__) . '/../bootstrap.php'; $app->container->singleton('db', function() use ($app) { $connector = new \Nogo\Feedbox\Helper\DatabaseConnector( $app->config('database_adapter'), $app->config('database_dsn'), $app->config('database_username')...
<?php namespace Urbem\PrestacaoContasBundle\Service\Tribunal\RS\Report; use Urbem\CoreBundle\Entity\PrestacaoContas\FilaRelatorio; use Urbem\PrestacaoContasBundle\Service\TribunalStrategy\AbstractReport; /** * Class Report * @package Urbem\PrestacaoContasBundle\Service\Tribunal\RS\Report */ class Report extends A...
<?php namespace App\Helper; class Csv { public $file; public function __construct($file) { $this->file = $file; } public static function from($file) { return new static($file); } public function columns() { return $this->openFile(function ($handle) { ...
<?php namespace SistemaAB\Http\Controllers; use Illuminate\Http\Request; use SistemaAB\Estudiante; use Illuminate\Support\Facades\Auth; use SistemaAB\Solicitud; class RequestsController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ ...
<?php namespace App\Http\Controllers; use App\Users; use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\URL; class UserEditController extends Controller { public function edit(Request $request, $id) { if (empty(ses...
<?php /** * @license https://github.com/f500/equatable/blob/master/LICENSE MIT */ declare(strict_types=1); namespace F500\Equatable\Tests; use F500\Equatable\Map; use F500\Equatable\Tests\Objects\EquatableObject; use F500\Equatable\Tests\Objects\EquatableObjectWithToString; use F500\Equatable\Vector; use PHPUnit\...
<?php namespace Admin\Controller; use Admin\Controller; class ManagerController extends RootController{ /** *初始化 *@create 2014-12-13 *@author zjf */ protected function _initialize(){ parent::_initialize(); $this->prefix = C('DB_PREFIX'); } /** *管理员列表 *@create 2014-12-12 *@author zjf */ public ...
<section id="cta" class="wrapper style4"> <div class="inner"> <header> <h2><br>Fique por dentro das novidades</h2> <p class="news">Receba todas a novidades da dupla e descontos.</p> </header> <ul class="actions vertical"> <form role="form" action="/newslet...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email', ...
<html> <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>Internal Medicine</title> <script src="<?php echo base_url('assets/js/jquery.min.js'); ?>"></script> <link rel="stylesheet" href="<?php ...
<?php /** * Menu List */ $trans['menu']['dashboard']['title'] = 'Dasbor'; $trans['menu']['dashboard']['main'] = 'Dasbor'; $trans['menu']['bill'] = 'Tagihan'; $trans['menu']['about'] = 'Tentang Software Ini'; # Laundry $trans['menu']['laundry']['title'] = 'Cucia...
<?php /** * Created by PhpStorm. * User: matias * Date: 29/9/15 * Time: 20:29 */ namespace UsuariosBundle\Entity; use FOS\UserBundle\Model\User as BaseUser; use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; /** * @ORM\Entity...
@if ($paginator->hasPages()) <ul class="pager" role="navigation"> {{-- Previous Page Link --}} @if ($paginator->onFirstPage()) <li aria-label="@lang('pagination.previous')"> <a><</a> </li> @else <li> <a href="{{ $paginator->...
<?php namespace Chamilo\Core\Home\Component; use Chamilo\Core\Home\Manager; use Chamilo\Libraries\File\Redirect; use Chamilo\Libraries\Format\Structure\BreadcrumbTrail; /** * * @package Chamilo\Core\Home\Component * @author Hans De Bisschop <hans.de.bisschop@ehb.be> */ class ManagerComponent extends Manager { ...