text stringlengths 2 1.03M |
|---|
<?php
/**
* Issue form.
*
* @package skeleton
* @subpackage form
* @author Your name here
* @version SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
*/
class IssueForm extends BaseIssueForm
{
public function configure()
{
$this->useFields(array(
'author_i... |
<?php
/*
* Copyright (c) Since 2007 PrestaShop.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace PHPStanForPrestaShop\PHPConfigurationLoader;
class ArrayConfigurationLoader implements Configuratio... |
<?php
//Ontener todos los cursos segun el frultro. enviado a funcion asincrona
if (isset($_POST['filtro'])&& isset($_POST['valueID'])){
include_once "../control/controlCursos.php";
$typeFiltro = $_POST['filtro'];
$value = $_POST['valueID'];
echo json_encode(consultaCursos($typeFiltro,$value));
} |
<?php
namespace App\Http\Controllers;
use App\Http\Resources\ProducteursResource;
use App\ProducteursModel;
use Illuminate\Http\Request;
class ProducteursController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index... |
<style type="text/css">
.required_star{
color: #dd4b39;
}
.radio_button_problem{
margin-bottom: 19px;
}
</style>
<script type="text/javascript">
$(function () {
$('#vat_reg_no_container').hide();
<?php
if (!empty($_POST)) {
if ($_POST['collect_vat'] == "Yes") {
... |
<?php
/**
* The Hero Framework.
*
* (c) Celso Luiz de F. Fernandes <celso@thephphero.com>
* Date: 29/05/18
* Time: 20:30
* Created by thePHPHero
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Bundles\FrameworkBundle... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Hakcipta extends CI_Controller
{
public function index()
{
$gethakcipta = $this->lapan_api_library->call4('hakciptas/fgethakcipta', ['token' => TOKEN_MT]);
$data['getHakcipta'] = $gethakcipta;
foreach ($data['... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sign-up Teacher</title>
<!-- add icon link -->
<link rel="icon" href="/assets/img/logo.png" type=... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as... |
@extends('layouts.master')
@section('content')
<div class="container">
<div class="content__wrapper">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item active">租借儀器</li>
</ol>
</nav>
<div... |
<?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\Tests\DataCollector;
use Symfony\Component... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Province extends Model
{
protected $table='provinces';
protected $fillable = ['code','name'];
} |
<div class="container">
<div class="row mt-4 mb-2">
<div class="col">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ route('home') }}" class="text-dark">Home</a></li>
<li class="breadcrumb-item... |
<?php
namespace Mini\Foundation;
class Request
{
public $json = [];
public $header = [];
protected $method;
protected $allowable = ['get', 'post', 'cookie', 'file', 'server', 'header', 'json'];
protected $pathInfo;
protected $requestUri;
public function __construct(public $get, publi... |
<?php
/**
* Team:
* Coding by whw 1811430,20211128
* This is the person view
*/
use yii\helpers\Html;
?>
<?PHP echo "<p style='color:#ff0000; font-size:16px;'>服务器信息:".$_SERVER ['SERVER_SOFTWARE']."</p>";
echo "</br>";
//echo PHP_OS;
echo "<p style='color:#ff0000; font-size:16px;'>操作系统:".PHP_OS."</p>";
echo "<br>";... |
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Plugins\CoreHome\Columns;
use Piwik\Columns\Join\SiteNameJoin;
use Piwik\Plugin\Dimension\VisitDimension;
use Piwik\Tracker\Action;
use Piwik\Track... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateNotificationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('notificat... |
<?php
/* @WebProfiler/Icon/config.svg */
class __TwigTemplate_ad0eaaa4df89638b1293c0cdaa3fe510e386fdfed9ef12daa16c27496018ffc6 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<?php
/**
* TemplateDetailsResponseTokens
*
* PHP version 7.3
*
* @category Class
* @package PandaDoc\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* PandaDoc Public API
*
* PandaDoc Public API documentation
*
* Generated by: https://openapi-generator.tech
... |
<?php
/**
* Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
*/
namespace Temando\Shipping\ViewModel\Rma;
use Magento\Directory\Helper\Data as DirectoryHelper;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Framework\Exception\LocalizedException;
use Magento... |
<?php
namespace spec\Sylius\Bundle\GridBundle\Provider;
use PhpSpec\ObjectBehavior;
use Sylius\Bundle\GridBundle\Grid\GridInterface;
use Sylius\Bundle\GridBundle\Provider\ServiceGridProvider;
use Sylius\Bundle\GridBundle\Registry\GridRegistryInterface;
use Sylius\Component\Grid\Configuration\GridConfigurationExtender... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<aside class="main-sidebar">
<section class="sidebar">
<form action="#" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search..."/>
<span class="input-group-btn">
<button type='submit' name='seach' id='search-btn' class="btn ... |
@extends('_panel.layouts.panel')
@section('content')
<div class="m-b-md">
<h3 class="m-b-none"><i class="i i-arrow-down3 m-r"></i> <span class="h3 text-primary">{{$item->name}}</span> Temperatures</h3>
</div>
<ul class="breadcrumb">
<li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{URL... |
<?php
namespace App\Http\Controllers\Site;
use Cart;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class CartController extends Controller
{
public function getCart()
{
return view('site.pages.cart');
}
public function removeItem($id)
{
Cart::remove($id);
... |
<script>
@if(Session::has('message'))
var type = "{{ Session::get('alert-type', 'info') }}";
switch(type){
case 'info':
toastr.info("{{ Session::get('message') }}");
break;
case 'warning':
toastr.warning("{{ Session::get('message') }}");
... |
<?php
namespace Ajimoti\RolesAndPermissions\Concerns;
use Ajimoti\RolesAndPermissions\Collections\PermissionCollection;
use Ajimoti\RolesAndPermissions\Models\ModelPermission;
use Ajimoti\RolesAndPermissions\Repositories\ModelRepository;
trait HasDirectPermissions
{
/**
* Get model repository
*
* ... |
<?php
namespace RectorPrefix20210828;
if (\class_exists('tx_impexp_clickmenu')) {
return;
}
class tx_impexp_clickmenu
{
}
\class_alias('tx_impexp_clickmenu', 'tx_impexp_clickmenu', \false); |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Datauser extends Model
{
protected $table = 'Users';
} |
<?php
namespace App\Http\Controllers;
use App\Subject;
use Illuminate\Http\Request;
use App\Http\Requests\SubjectRequest;
use Response;
use Yajra\Datatables\Datatables;
use Auth;
use App\Student;
class StudentSubjectController extends Controller
{
/**
* Create a new controller instance.
*
* @return... |
<?php
namespace App\Http\Controllers;
use App\Client;
use Illuminate\Http\Request;
class ClientController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return Client::all();
}
/**
... |
@extends('layouts.adminPanel')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header card-header-primary">
<h4 class="card-title ">List of Pro... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSectionTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('section', funct... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateStudyPlansExtendedTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('stud... |
@extends('layouts.app')
@section('content')
<style>
.elemento-eti{
font-size: 130px;
}
.txt-re{
border-radius: 8px;
width: 110px;
}
.txt-re-col{
border-radius: 8px;
width: 110px;
}
.txt-icon{
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
//
protected $fillable = ['author', 'title', 'content'];
} |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
//session_start(); //we need to call PHP's session object to access it through CI
class Home extends CI_Controller {
public $language = "he";
public function __construct()
{
parent::__construct();
$this->load->model('portfolio_mod... |
<?php
namespace app\common\validate;
use think\Validate;
/**
*
*/
class Klass extends Validate
{
protected $rule=[
"name"=>"require|unique:klass",
"teacher_id"=>'require',
];
} |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class User extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model("crud");
$this->load->model("miscellaneous");
$this->load->library('for... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>商品类型</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="<?php echo ba... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Administrator</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Boot... |
<?php namespace App\Controllers;
use Exception;
use Throwable;
use App\Models\CEN\CENResponse as ENResponse;
use App\Models\CEN\CENError as ENError;
use App\Models\CEN\CENMenu as ENMenu;
use App\Models\CLN\CLNOpcionesmenu as LNOpcionesmenu;
use App\Models\CLN\CLNConfigsistema as LNConfigsistema;
class Opcionesmenu ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Student extends Model
{
use HasFactory;
protected $table = 'tblstudent';
protected $fillable = [
'uni_id',
'NameFull',
'Identity',
'Nationality... |
<?php
require "header.php";
?>
<main>
<div class="center">
<h1>sign up</h1>
<form class="form mx-auto" action="inc/signup.inc.php" method="post" enctype="multipart/form-data">
<label for="uid">username:</label><br/>
<input type="text" id="uid" name="uid" title="enter your use... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Cviebrock\EloquentSluggable\Sluggable;
class Article extends Model
{
use Sluggable;
public function sluggable()
{
return [
'slug' => [
'source' => 'title'
]
];
}
protected $table = "articles";
protected $fillable = ['title','cont... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tb_events', function (B... |
<?php
return [
'admin' => [
'system' => [
'velocity' => [
'general' => 'Algemeen',
'category' => 'Categorie',
'settings' => 'Instellingen',
'extension_name' => 'Velocity Thema',
'error-module-inactive' => 'Waar... |
<?php
namespace common\components\api;
use Yii;
/*
* Class for create and show menu
*/
class ApiGetflycrm
{
const X_API_KEY = 'tQUBhgFT7tSGOqZqII5XhLuG1qBmy7'; //Trang chính
const URL = 'https://gca.getflycrm.com';
public $method = 'get';
static function addAccount($user)
{
// $user... |
<x-emoji-icon-emoji :name="'personPoutingLightSkinTone'" {{ $attributes }} /> |
<?php
namespace App\Repositories;
abstract class EloquentRepository implements RepositoryInterface
{
protected $_model;
public function __construct()
{
$this->setModel();
}
abstract public function getModel();
public function setModel()
{
$this->_model = app()->make(
... |
@extends('layouts.app')
@section('title','Dashboard')
@section('contents')
<div id="dashboard-page"></div>
@endsection
@section('scripts')
<script src="{{asset('js/index.js')}}"></script>
@endsection |
<?php
namespace App\Lbc\Themes\Liara;
use App\Http\Controllers\Controller;
class PagesController extends Controller
{
public function features()
{
$data = [
'meta' => [
'title' => 'Features | Liara',
'robots' => 'index, follow',
]
];
... |
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:56:"D:\auth\public/../application/admin\view\menu\index.html";i:1618382569;s:47:"D:\auth\application\admin\view\public\base.html";i:1618381584;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Category;
use DB;
class CategoryController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$c_name=request()->c_name??'';... |
<?php
namespace DeployTracker\Twig;
use DeployTracker\Util\DateUtil;
class DateExtension extends \Twig_Extension
{
/**
* {@inheritdoc}
*/
public function getFilters()
{
return [
new \Twig_SimpleFilter('fuzzy_date', [DateUtil::class, 'formatFuzzy']),
];
}
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redis;
class TestController extends Controller
{
//Redis测试
public function redis1(){
$key='name1';
$val1=Redis::get($key);
echo '$val1:' .$val1;
}
} |
<?php
/**
* Edit the page builder data when we're viewing the live editor version
*
* @param $value
* @param $post_id
* @param $meta_key
*
* @return array
*/
function siteorigin_panels_live_editor($value, $post_id, $meta_key){
global $post;
if(
$meta_key == 'panels_data' &&
current_user_can( 'edit_post'... |
<script src="<?php echo base_url();?>assets/tinymce/js/tinymce/tinymce.dev.js"></script>
<script src="<?php echo base_url();?>assets/tinymce/js/tinymce/themes/modern/theme.min.js"></script>
<script src="<?php echo base_url();?>assets/tinymce/js/tinymce/plugins/table/plugin.dev.js"></script>
<script src="<?php echo base... |
<div class="row mb-2">
<h4 class="col-xs-12 col-sm-6 mt-0">Riwayat Pengajuan</h4>
<div class="col-xs-12 col-sm-6 ml-auto text-right">
<form action="" method="get">
<div class="row">
<div class="col">
<select name="bulan" id="bulan" class="form-control">
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
/**
* Create instance of TwiiterLoginApi object
*/
session_start();
require_once('oauth/twitteroauth.php');
require_once('twitter_class.php');
if (isset($_GET['connect']) && $_GET['connect'] == 'twitter') {
$objTwitterApi = new TwitterLoginAPI;
$return = $objTwitterApi->login_twitter($_GET['connect']);
... |
<?php
//***************** fetching data for tooltip mesages starts here
$fetchtypetooltip='multiple';
$tablenametooltip="tooltip_message";
$fieldnamestooltip="tooltip_label,tooltip_message";
$whereartooltip=array();
$infieldname='... |
--TEST--
Coms test messagepack payloads are concatendated and serialized correctly
--XFAIL--
This is testing the internal guts of the background sender without using a tracer
--FILE--
<?php
dd_trace_internal_fn('ddtrace_coms_buffer_data', 0, "a");
dd_trace_internal_fn('ddtrace_coms_buffer_data', 1, "b");
dd_trace_inte... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DB;
use Carbon\Carbon;
use App\Models\cultivos;
class controladorCultivos extends Controller
{
public function __construct(){
$this->middleware('auth');
}
/**
* Display a listing of the resource.
*
* @return \Il... |
<?php
namespace AstralWeb\LibFedex\Web\Service\Response;
class Track extends \AstralWeb\LibFedex\Web\Service\Soap\Response
{
/**
* @return array
*/
protected function listTrackDetails()
{
$content = $this->getRequestResponseArray();
if ( ! isset($content['CompletedTrackDetails'][... |
<?php
namespace App;
use StoutLogic\AcfBuilder\FieldsBuilder;
$config = (object) [
'ui' => 1,
'wrapper' => ['width' => 30],
];
$stays = new FieldsBuilder('stays', ['label' => 'pobyty']);
$stays
->addImage('photo1', ['label' => '1 zdjęcie w tle'])
->addImage('photo2', ['label' => '2 zdjęcie w tle'])... |
<?php
/**
*
* @license https://github.com/icetomcat/filter/blob/master/LICENSE MIT
* @link https://github.com/filter/
*/
namespace Filter\Rules;
use Closure;
/**
*
* @author icetomcat <icetomcat@gmail.com>
*/
class Custom extends \Filter\Base\Rule
{
public $fn;
public $name;
public function __construct... |
<?php
$this->load->view('layout/header');
?>
<style>
.cartbutton{
width: 100%;
padding: 6px;
color: #fff!important;
}
.noti-check1 span{
color: red;
color: red;
width: 111px;
float: left;
text-align: right;
padding-right: 13px;
}... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\StatusSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="status-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<... |
<?php
use App\User;
use Illuminate\Database\Seeder;
class UserTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$users = [
[
'id' => 1,
'name' => 'Admin',
... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\LinkPager;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Products';
$this->params['breadcrumbs'][] = $this->title;
$stores = Yii::$app->mycomponent->findstores();
$categories = Yii::$app->mycomponen... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| Error or success messages
| -------------------------------------------------------------------
*/
/*
* ADMIN ERROR MSG
*
*/
$lang['ACCOUNT_DEACTIVATED'] ... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Cashier extends Model
{
protected $table = 'cashiers';
// Primary Key
public $primaryKey = 'id';
// Timestamp
public $timestamps = true;
protected $fillable = [
'name',
'id'
];
} |
<div class="row">
<div class="col-sm-4">
<h3 class="form-group-title">{{__("Site Information")}}</h3>
<p class="form-group-desc">{{__('Information of your website for customer and goole')}}</p>
</div>
<div class="col-sm-8">
<div class="panel">
<div class="panel-body">
... |
<?php
use Illuminate\Database\Seeder;
class PermisosTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$permiso = new App\Permiso();
$permiso->nombre = 'super_administrador';
$permiso->descripcion = 'El permiso... |
@extends('masterTwo')
@section('title', 'INSERT-ORDER-DETAIL')
@section('main')
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
@if($errors->any())
<div class="alert alert-danger">
... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "obrasocial".
*
* @property int $id
* @property string $sigla
* @property string $denominacion
* @property string $direccion
* @property int $telefono
* @property int $id_localidad
* @property string $paginaweb
* @property string ... |
<div class="panel panel-success">
<div class="panel-body"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<link rel="stylesheet" href="file:///C|/Users/piman/Downloads/css/bootstrap.min.css">
<script src="file:///C|/Users/piman... |
<?php
use App\Models\Article;
use Illuminate\Database\Seeder;
class ArticleSeed extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(Article::class,5)->create();
}
} |
<?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
/**
* @version 1.4.1
* @package Joomla
* @subpackage EShop
* @author Giang Dinh Truong
* @copyright Copyright (C) 2012 Ossolution Team
* @license GNU/GPL, see LICENSE.php
*/
// no direct access
defined('_JEXEC') or die();
/**
* HTML View class for EShop component
*
* @static
*
* @package Joomla
... |
<?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
/**
* Process Inc
*
* @link https://github.com/Vulcan-Alchemy-Systems/jobs for the canonical source repository
* @copyright Copyright (c) 2017-2020 Process Inc
* @license https://github.com/Vulcan-Alchemy-Systems/jobs/license/new-bsd New BSD License
*/
namespace Test\Controller;
use Zend\Mvc\Control... |
<?php
// This file was auto-generated from sdk-root/src/data/cloudformation/2010-05-15/api-2.json |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Excel_C extends MY_Controller {
public function __construct(){
parent::__construct();
}
public function export_request_xls(){
$this->load->model('ppr_requests_model');
$ppr_id = $this->uri->segment(3);
$params = array(
$ppr_i... |
@extends('admin.layouts.app')
@section('alert')
@include('admin.alert')
@stop
@section('content')
<table>
<thead>
<tr>
<td>Transfer ID</td>
<td>Title</td>
<td>Store send</td>
<td></td>
</tr>
</thead>
<tbody>
@foreach($transfers as $tran... |
<?php
session_start();
session_destroy();
header("location:login.php");
?> |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
// @codingStandardsIgnoreFile
/**
* Product alerts tab
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab;
class Alerts extends \Magento... |
<?php
namespace App\Nova;
use Laravel\Nova\Fields\ID;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Fields\Markdown;
use Laravel\Nova\Fields\BelongsTo;
class Reply extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public stati... |
<?php
declare (strict_types=1);
namespace MonorepoBuilder20211025\Symplify\EasyTesting\ValueObject;
use MonorepoBuilder20211025\Symplify\SmartFileSystem\SmartFileInfo;
final class InputFileInfoAndExpectedFileInfo
{
/**
* @var \Symplify\SmartFileSystem\SmartFileInfo
*/
private $inputFileInfo;
/**... |
<?php
// Copyright (c) 2013 - 2018 by Thomas Pawlitschko. (MIT License)
declare(strict_types=1);
namespace TPawl\LiTE\Filter;
interface FilterInterface
{
/**
* @param string $name
* @return bool
* @throws \TPawl\LiTE\Exceptions\AssertionException if name is empty
*/
public function isVali... |
<?php
class BeritaRegional extends CI_Controller {
function __construct()
{
parent::__construct();
}
public function index()
{
$this->load->view("beritaregional");
}
} |
<div class="flash-data" data-flashdata="<?= $this->session->flashdata('msg') ?>"></div>
<div class="row">
<div class="col-md-6">
<div class="box">
<div class="box-header">
<h3 class="box-title"><?= $title ?></h3>
</div>
<!-- /.box-header -->
<... |
<?php
namespace GuiaLocaliza\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
} |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class CompanyResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... |
<?php
namespace App\Http\Controllers;
use App\Models\Claim;
use App\Models\Insurance;
use App\Models\Customer;
use App\Models\Admin;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Auth;
use Symfony\Component\Mime\Email;
use App\Mail\EmailCreateclaim;
use Illuminate\Sup... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddRelationshipFieldsToPropertiesTable extends Migration
{
public function up()
{
Schema::table('properties', function (Blueprint $table) {
$table->uns... |
<?php
/**
* TrackResponse
*
* 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 License v2
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* SendX REST API
*
... |
<?php
/**
* Modelo AutoridadTradicional
*
* @category App
* @package Models
*/
class AutoridadTradicional extends ActiveRecord {
/**
* Constante para definir un tipo de autoridad tradicional como activo
*/
const ACTIVO = 1;
/**
* Constante para definir un tipo de autor... |
<?php
/*
* $Id: Exception.php 10831 2013-05-29 19:32:17Z btowles $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.