text
stringlengths
2
1.03M
<?php defined('BASEPATH') or exit('No direct script access allowed'); class LWD_model extends CI_Model { public function getLogin($id) { return $this->db->where('id =' . $id)->select('first_name')->from('users')->get()->result_array(); } public function inputKomentar() { $query = [ ...
<?php /* type: layout name: News 3 description: News 3 */ ?> <div class="container-fluid"> <div class="row"> <div class="col-xl-12 mx-auto"> <div class="row new-world-news-2"> <?php if (!empty($data)): ?> <?php foreach ($data as $key => $item): ?> ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\ConfirmsPasswords; //use App\Http\Controllers\Auth\Admin\ConfirmPasswordController; class ConfirmPasswordController extends Controller { /* |------------------...
@include('includes.head') @include('includes.header') <div class="container text-center"> <div class="subTitle_4 text-center pb-2" style="border-width: 1px;"> <h2 class="subTitle_4 pt-1 pb-2" style="letter-spacing: 0.01em; border-width: 1px;"><b>ー 勤怠管理者用パス ー</b></h2> </div> @if($errors->has('pa...
@extends('index') @section('content') <?php $setting = Cache::get('setting'); $about = Cache::get('about'); $cateProducts = Cache::get('cateProducts'); ?> <main class="index"> <div class="text-white text-uppercase banner" style="background: url(./public/images/product/1.jpg) no-repeat center center; bac...
<style> table { border-collapse: collapse; } table, td, th { border: 1px solid #dddddd; padding: 6px; font-size: 12px; } th { text-align: center; } tr:hover {background-color: #f5f5f5;} </style> <script> function printDiv() { var divToPrint = document.getElementById('divToP...
@extends('layouts.logged') @section('content') <script> $(document).ready(function(){ $("#hide").click(function(){ $("#bod1").hide(); $("#bod2").show(); $("#hide").hide(); $("#show").show(); }); $("#show").click(function(){ $("#bod2").hide(); $("#bod1").show(); $("#show").hide(...
<!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 use Toolbox\Config; use Toolbox\ControllerSecured; class Admin extends ControllerSecured { private function _render() { self::$view->isAdmin = true; echo self::$view->render('views/page.php'); } protected static function index() { self::_redirect('http://' . $_SERVER['HTTP_HOST'] . '/admin/j...
@extends('layouts.page') @section('css', '<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">') @section('js') <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> <script> var simplemde = new SimpleMDE({ element: document.getElementBy...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Auth extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->model("Usuarios_model"); $this->load->model('google_login_model'); } public function index() { if ($this->session->userdata("login")) ...
<?php /** * Created by PhpStorm. * User: macos * Date: 2020-06-11 * Time: 23:20 */ function ParseOrderDetailDOM(){ /* $url='http://beautifulbathrooms.tumblr.com/'; $query='//script[contains(@src,"jquery")]'; $context=stream_context_create( $args ); $dom=new DOMDocument; $dom->validateOn...
<?php defined('SYSPATH') or die('No direct script access.'); /** * Generic (C)REATE view model - for single record */ class View_Admin_Create extends View_Admin_Layout { /** * @var mixed [Kostache|Formo] form */ public $form; /** * @var ORM model */ public $item; /** * @var array validation errors...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @package Z...
@extends('layouts.admin') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-heading"> <h2 class="card-title">Review Buku</h2> </div> <div class="card-body"> <p> <a class="btn btn-success" href="{{ url('/admin/books')}}">Seles...
<?php namespace Google\AdsApi\AdManager\v201908; /** * This file was generated from WSDL. DO NOT EDIT. */ class TargetingPreset { /** * @var int $id */ protected $id = null; /** * @var string $name */ protected $name = null; /** * @var \Google\AdsApi\AdManager\v20190...
<?php /** * GetUniverseStructuresInternalServerErrorTest * * PHP version 5 * * @category Class * @package Swagger\Client * @author http://github.com/swagger-api/swagger-codegen * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2 * @link https://github.com/swagger-api/swagger-codegen ...
<?php echo view('head'); ?> <div class="row"> <div class="col-md-3"></div> <div class="col-md-6"> <div class="row"> <div class="col-md-8" style="height:50px; line-height:50px;"> <b>ab 20 Jahren</b> </div> <div class="col-md-4"> <div class="row"> ...
<?php namespace App\Http\Requests\Cart; use Illuminate\Foundation\Http\FormRequest; class StoreCartRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get...
<?php namespace App\Http\Controllers; use App\Models\Detail; use Illuminate\Http\Request; class DetailController extends Controller { public function __construct(Request $request) { $this->middleware('auth')->except('index'); } /** * Display a listing of the resource. * * @retur...
<?php /** * Change directory * * @phpstub * * @param string $directory * * @return bool */ function chdir($directory) { }
<!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, maximum-scale=1, user-scalable=no"> <base href="<?php //echo $base_url; ?>" /> <title><?php // echo $page_title; ?></title> ...
<?php require_once('../util/main.php'); require_once('../util/tags.php'); require('../model/database.php'); require('../model/property_db.php'); $page = 'property_manager'; // Set default action to list_properties $action = filter_input(INPUT_POST, 'action'); if($action == NULL) { ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Diarista extends Model { use HasFactory; protected $fillable = ['nome_completo', 'cpf', 'email', 'telefone', 'logradouro', 'numero', 'complemento', 'bairro', 'cidade', 'estado', '...
<?php declare(strict_types=1); namespace BinSoul\Net\Mqtt; use InvalidArgumentException; /** * Provides a default implementation of the {@see Subscription} interface. */ class DefaultSubscription implements Subscription { /** @var string */ private $filter; /** @var int */ private $qosLevel; ...
<?php Class Car_model extends CI_model{ public function create($formArray) { $this->db->insert('car_models', $formArray); return $id = $this->db->insert_id(); } // This method will return all records from car_models table public function all(){ $result = $this->db ...
<?php namespace SimplyCodedSoftware\Messaging\Handler; use SimplyCodedSoftware\Messaging\Config\Annotation\InMemoryAnnotationRegistrationService; use SimplyCodedSoftware\Messaging\Support\InvalidArgumentException; /** * Class TypeResolver * @package SimplyCodedSoftware\Messaging\Handler * @author Dariusz Gafka <d...
<?php namespace eq\db\sqlite; use eq\db\ConnectionBase; class Connection extends ConnectionBase { protected $driver = "sqlite"; protected function createDSN() { } }
<?php namespace Drupal\block\Tests; use Drupal\Core\Cache\Cache; use Drupal\simpletest\WebTestBase; /** * Tests block caching. * * @group block */ class BlockCacheTest extends WebTestBase { /** * Modules to install. * * @var array */ public static $modules = array('block', 'block_test', 'test_pa...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Laporan Detail Calon Penerima {{$cal...
<?php /** * @file * A cached plugin object that tests inheritance including. */ class ctoolsCachedPluginArray2 extends ctoolsCachedPluginArray {}
<?php namespace App\Http\Controllers\Frontend\Vendor; use App\Item; use App\User; use App\Order; use App\Refund; use App\Review; use App\Balance; use App\Withdraw; use App\ItemOrder; use App\Statement; use Carbon\Carbon; use App\SocialIcon; use App\SpnCountry; use App\BalanceSheet; use App\RefundComment; use Illumina...
<?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 use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateComboOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('combo_order...
@extends('layouts.frontend-home') @section('title','HostFriends') @section('content') <div id="page" class="theia-exception"> <section class="hero_single version_2" > <div class="wrapper"> <div class="container"> <h3>HOST FRIENDS</h3> <p>@lang('HomeTagline')</p> <form method="GET"...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class PagesController extends Controller { public function home(){ return view('home'); } public function about(){ return view('about'); } public function consultancy(){ return view('errors/404'); } }
{{--<footer class="footer footer-white footer-big">--}} {{-- <div class="container">--}} {{-- <div class="content">--}} {{-- <div class="row">--}} {{-- <div class="col-md-3">--}} {{-- <h5>Categories</h5>--}} {{-- <ul class="links-vertical">--}} ...
<?php namespace App\Http\Controllers; use App\Models\Category; use Illuminate\Http\Request; use App\Models\Advertisement; class FrontAdsController extends Controller { public function index() { //for category car $category = Category::CategoryCar(); $firstAds = Advertisement::firstFo...
<?php namespace WfMagConnectionBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * MagListaObiektow * * @ORM\Table(name="MAG_LISTA_OBIEKTOW", uniqueConstraints={@ORM\UniqueConstraint(name="AK_AK_MAG_NAZWA_LISTY_MAG_LIST", columns={"nazwa_listy", "uzycie", "id_firmy"})}) * @ORM\Entity */ class MagListaObiektow...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBottomsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('bottoms', funct...
<?php namespace Encore\Admin\Form\Field; use Encore\Admin\Facades\Admin; use Encore\Admin\Form\Field; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Support\Arr; use Illuminate\Support\Collection; class Tags extends Field { /** * @var array */ protected $value = []; /** * @var...
@extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.user.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.users.store") }}" enctype="mul...
<?php final class ManiphestPriorityEmailCommand extends ManiphestEmailCommand { public function getCommand() { return 'priority'; } public function getCommandSyntax() { return '**!priority** //priority//'; } public function getCommandSummary() { return pht('Change the priority of a task.'); ...
<?php return [ /* |-------------------------------------------------------------------------- | Default Cache Store |-------------------------------------------------------------------------- | | This option controls the default cache connection that gets used while | using this caching li...
<!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>ProducesPartakkus</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dis...
<?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\HttpKernel; use Symfony\Component\DependencyInjection...
<?php namespace ArtARTs36\GitHandler\Backup; use ArtARTs36\GitHandler\Contracts\Backup\BackupElementDict; use ArtARTs36\GitHandler\Contracts\Backup\BackupElement; class ArrayBackupElementDict implements BackupElementDict { protected $elements = []; /** * @param list<BackupElement> $elements */ ...
<?php namespace App; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class UserJob extends Model { use HasFactory; }
@extends('layouts.app') @section('content') <div class="container"> <post-excerpt-list base-url="{{route('post.index')}}/" page="{{ $page }}" max-page="{{$maxPage}}"></post-excerpt-list> </div> @endsection
@extends('layouts.master') @section('title','add part 4') @section('navbar') @parent @endsection @section('content') @endsection @section('footer') @parent @endsection
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class CheckBanMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closur...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Alumnos extends Model { /** * The database table used by the model. * * @var string */ protected $table = 'alumnos'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = ['nombre', 'apellido_p', '...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddDownloadsNumber extends Migration { private const tableName = 'images'; private const columnName = 'downloadsNumber'; /** * Run the migrations. * * ...
<div class="heading text-cl-primary padding-l-20"> <h1 class="margin0">Reporting</h1> </div> <div class="box clear-both"> <div class="content padding-t-10"> <div class="box"> <font style="color: black">Student Group:</font><br> <!-- <input type="text" name="stugroup"> --> ...
@extends('layouts.admin') @section('content') <div class="panel panel-default"> <div class="panel-heading"><i class="fa fa-ticket"></i> Edit Center</div> <div class="panel-body"> <form action="{{ url('admin/center/edit/'.$center->id) }}" method="POST"> {{ csrf_field() }} <div class="form-group"> ...
<?php echo $this->fetch('member.header.html'); ?> <script language = "JavaScript"> /*删除密保表单*/ function Del_mibao() { if(confirm('您确定要解除吗? 解除后动态密码将失效!')) { return true; } else { return false; } } </script> <?php $shuzi1 = round(rand(1,8)); $shuzi2 = round(rand(1,8)); $shuzi3 = round(rand(1,8)); $quzimu1= round(rand(6...
<div class="wrapper row-offcanvas row-offcanvas-left"> <!-- Left side column. contains the logo and sidebar --> <!-- Right side column. Contains the navbar and content of the page --> <aside class="right-side"> <!-- Content Header (Page header) --> ...
<?php namespace RTippin\Messenger\Http\Resources; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; use RTippin\Messenger\Models\PendingFriend; class PendingFriendResource extends JsonResource { /** * Transform the resource into an array. * * @param Request $request ...
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>Hortisphere</title> <link rel="shortcut icon" type="image/png" href="<?php echo base_url() ?>assets/img/favicon.png"> <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink...
<?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\HttpKernel\Event; use Symfony\Component\HttpFoundatio...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Ddi\V20200617\Models; use AlibabaCloud\Tea\Model; class DeleteFlowEditLockResponseBody extends Model { /** * @var bool */ public $data; /** * @var string */ public $requestId; protected $...
<?php namespace app\models; use Yii; /** * This is the model class for table "auth_rule". * * @property string $name * @property resource $data * @property int $created_at * @property int $updated_at * * @property AuthItem[] $authItems */ class AuthRule extends \yii\db\ActiveRecord { /** * @inherit...
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ p...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTopicsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('topics', functio...
<?php namespace App\Http\Controllers; use App\Lesson; use App\Notific; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class NotificationsController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInitc627dbe89e2c873bcf7a128ee62daba0 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
<?php use DefStudio\Telegraph\Keyboard\Button; use DefStudio\Telegraph\Keyboard\Keyboard; use DefStudio\Telegraph\Keyboard\ReplyKeyboard; use DefStudio\Telegraph\Telegraph; it('can add a keyboard to a message', function () { expect(function (Telegraph $telegraph) { return $telegraph->chat(make_chat()) ...
<?php namespace app\index\common\model; use think\Model; class Workorder extends Model { // 定义主键和数据表 protected $pk = 'id'; protected $table = 'think_workorder'; // 定义自动时间戳和数据格式 protected $autoWriteTimestamp = true; protected $createTime = 'create_time'; protected $updateTime = 'update_...
<?php $__env->startSection('content'); ?> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="white-box"> <h3 class="box-title pull-left">Create New Feedback</h3> <?php if (app(\Illuminate\Contracts\Auth\Acce...
<?php namespace App\Repo; use Illuminate\Database\Eloquent\Model; use \Carbon\Carbon; use App\Models\Menu; class BaseRepository implements BaseRepositoryInterface { /** * @var Model */ protected $model; /** * BaseRepository constructor. * * @param Model $model */ publi...
<?php namespace Laravel\Cashier\Concerns; use Illuminate\Support\Collection; use Laravel\Cashier\Exceptions\InvalidInvoice; use Laravel\Cashier\Invoice; use Laravel\Cashier\Payment; use Stripe\Exception\CardException as StripeCardException; use Stripe\Exception\InvalidRequestException as StripeInvalidRequestException...
<?php class cache { /** * Fetch an item from the cache * * @param string $id the id of the cache item * @param int|bool $expires max INT age of the item (TRUE = system default) * @return mixed */ public static function get($id, $expires = FALSE) { $params = array(sha1($id)); // Build query $sql ...
--TEST-- Bug #41815 (Concurrent read/write fails when EOF is reached) --FILE-- <?php $filename = dirname(__FILE__)."/concur_rw.txt"; @unlink($filename); $writer = fopen($filename, "wt"); $reader = fopen($filename, "r"); fread($reader, 1); fwrite($writer, "foo"); if (strlen(fread($reader, 10)) > 0) { echo "OK\n"; } ...
<?php namespace frontend\models; use common\models\Employees; use common\models\Students; use common\models\User; use yii\base\Model; use Yii; use yii\base\InvalidParamException; /** * Signup form */ class SignupForm extends Model { public $username; public $password; public $password_repeat; public...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php namespace App\Controller; use App\Entity\Configuracion; use App\Form\ConfiguracionType; use App\Repository\ConfiguracionRepository; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component...
<?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\DependencyInjection\Tests\Dumper; use Symfony\Compone...
<?php namespace Modules\Notification\Events; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Contracts\Broadcasting\ShouldBroadcastNow; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Broadcasting\Channel; use Modules\Notification\Entities\Notifi...
<?php namespace App; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email', 'password', ]; /** * The attributes that should...
<?php namespace App\Http\Requests\Backend; use Illuminate\Foundation\Http\FormRequest; class SupervisorRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
<?php namespace App\Services\Dto; class ServerProperties { public string $motd = ""; public string $gamemode = ""; public string $level_name = ""; public string $difficulty = ""; public ?int $server_port = null; public ?bool $hardcore = null; public function map(): array { ret...
<?php #----------------------------------------# # portfolio custom post type # # semplice.theme # #----------------------------------------# add_action( 'init', 'smp_register_work' ); function smp_register_work() { $labels = array( 'name' => __('Works', 'semplice'), 'singula...
@extends('layouts.confirm') @section('style') @include('layouts.include.add_layout') @endsection @section('title', '登録内容確認') @section('hidden') @csrf <input type="hidden" name="start_date" id="start_date" value="{{ $plan_data['start_date'] }}"> <input type="hidden" name="start_t...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class DeleteColumnSlugForTableProductPictures extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::ta...
<?php /** * Runs the Zend Code Analyzer (from Zend Studio) on the file. * * @author Holger Kral <holger.kral@zend.com> * @author Greg Sherwood <gsherwood@squiz.net> * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD...
<?php // Copyright 2004-present Facebook. All Rights Reserved. function base_elem_warn($d, $k) { try { var_dump($d[$k]['a']); } catch (Exception $e) { echo "Exception: \"" . $e->getMessage() . "\"\n"; } } function base_elem($d, $k) { try { var_dump($d[$k]['a'] ?? "MISSING"); } catch (Exception $...
@extends('layouts.app') @section('title')Главная страница@endsection @section('content') <h1>Главная страница</h1> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis consectetur assumenda ex vel error blanditiis fugit sapiente, explicabo, dicta dolor unde sit sed tempora, laudantium porro provident d...
<?php /** * Copyright 2014 Krzysztof Magosa * * 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 agree...
<?php namespace App\Presenters; use App\Transformers\RoomTypeTransformer; use Prettus\Repository\Presenter\FractalPresenter; /** * Class RoomTypePresenter. * * @package namespace App\Presenters; */ class RoomTypePresenter extends FractalPresenter { /** * Transformer * * @return \League\Fractal...
@extends('Admin.layout.index') @section('content') <div class="mws-panel grid_8"> <div class="mws-panel-header"> <span><i class="icon-table"></i> 用户列表</span> </div> <div class="mws-panel-body no-padding"> <form action="/admin/users" method="get"> <div class="dataTabl...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTodoTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('todo', function (B...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\Recenzie */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Recenzies', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?...
<?php namespace backend\models; use Yii; /** * This is the model class for table "switch_models". * * @property int $id_switchmod * @property int $manufacturer * @property string $model * @property int $ports * @property string $PoE * * @property SwitchManufacturers $manufacturer0 */ class SwitchModels ext...
<?php /* * This file is part of the Toyota Legacy PHP framework package. * * (c) Toyota Industrial Equipment <cyril.cottet@toyota-industries.eu> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Toyota\Component\Ldap\Exce...
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * MedidaEficiencia * * @ORM\Table(name="medida_eficiencia") * @ORM\Entity(repositoryClass="AppBundle\Repository\MedidaEficienciaRepository") */ class MedidaEficiencia { /** * @var int * * @ORM\Column(name="id", type="integ...
@extends('layout', ['title' => 'API del calendario laboral de Euskadi', 'lang' => 'es']) @section('content') <h1>Festivos del Calendario laboral de Euskadi</h1> <table> <tr> <th>FECHA</th> <th>NOMBRE</th> <th>CÓDIGO MUNICIPIO</th> <th>NOMBRE MUNICI...
<?php namespace Matriphe\Imageupload; use Config, File, Log, Str; class ImageuploadTest { }
<?php declare(strict_types = 1); use PHPUnit\Framework\TestCase; use Sop\JWX\JWT\Parameter\JWTParameter; use Sop\JWX\JWT\Parameter\X509CertificateSHA1ThumbprintParameter; /** * @group jwt * @group parameter * * @internal */ class X509CertificateSHA1ThumbprintParameterTest extends TestCase { public function ...
<?php namespace common\components\helpers; use Yii; class DateHelper { /** * @param $searchModel * @param string $attribute * * @return string * @throws \Exception */ public static function getInput($searchModel, $attribute = 'date_create') { return \yii\jui\D...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class TransaksiDetail extends Model { // use HasFactory; use SoftDeletes; protected $table = 'detail_transaksi'; protected $prima...