text stringlengths 2 1.03M |
|---|
<?php
namespace Intracto\Behat\Features\Context\Bootstrap;
use Behat\MinkExtension\Context\RawMinkContext;
use Webmozart\Assert\Assert;
/**
* Class LanguageContext.
*/
class LanguageContext extends RawMinkContext
{
/**
* @When /^I click on language selector and I choose ([^"]*)$/
*
* @param stri... |
@extends('layouts.app')
@section('page_heading', 'Document')
@section('breadcrumb')
<ol class="breadcrumb">
<li><a href="{{url('home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#"></a>Manage Database</li>
<li class="active">Document</li>
</ol>
@endsection
@section(... |
<?php
/**
* Created by PhpStorm.
* User: Dima
* Date: 08.03.2016
* Time: 17:55
*
* @var components\View $this
* @var array $items
* @var string $id
* @var string $class
* @var string $navbarClass
* @var string $logo
*/
use yii\bootstrap\Html;
?>
<span id="<?= $id ?>"></span><!-- place before navigation ba... |
<?php
namespace Qck;
/**
* Basic App infrastructure for dispatching to different App Functions
*
* @author muellerm
*/
class App
{
/**
*
* @param string $name
* @param string $defaultAppFunctionFqcn
* @return \Qck\App
*/
static function new( $name, $defaultAppFunctionFqcn )
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Categoria extends Model
{
protected $guarded = [];
public function Presupuestodetalle()
{
return $this->hasMany('App\Presupuesto');
}
public static function categoria_nombre($id)
{
$categoria=Categoria::findorFail... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Order;
/**
* OrderSearch represents the model behind the search form about `app\models\Order`.
*/
class OrderSearch extends Order
{
/**
* @inheritdoc
*/
public function rules()
{
... |
<?php
/**
* @file
* Extends AbstractIbPlugin class.
*/
namespace App\Plugin;
use whikloj\BagItTools\Bag;
/**
* Adds the JSON-LD representation of the Islandora object's media to the Bag.
*/
class AddMediaJsonld extends AbstractIbPlugin
{
/**
* Constructor.
*
* @param array $settings
* ... |
<?php
/**
*
* 验证层
* 登录
*
* @package NICMS
* @category app\admin\validate\account
* @author 失眠小枕头 [312630173@qq.com]
* @copyright Copyright (c) 2013, 失眠小枕头, All rights reserved.
* @link www.NiPHP.com
* @since 2019
*/
namespace app\admin\validate\account;
use think\Validate;
class Login extend... |
<?php
header("HTTP/1.0 404 Not Found");
// echo 'This is 404 page'; |
<?php
declare(strict_types=1);
namespace Rector\Core\Exception\Validator;
use Exception;
final class InvalidRectorClassException extends Exception
{
} |
<form wire:submit.prevent="submit" class="w-full mt-8">
<div>
<label for="selectedName" class="input-label">Выберите пункт:</label>
<select wire:model="selectedName" id="selectedName" class="mt-3 leading-6 border-gray-300 input form-select">
@foreach($files as $file)
<option>{{ $file->name }}</o... |
<?php
use yii\helpers\Html;
use kartik\grid\GridView;
use kartik\form\ActiveForm;
use yii\widgets\Pjax;
use common\assets\EditablePageAsset;
if ($model->buttonsDataProvider->count == 0)
EditablePageAsset::register($this);
?>
<?php
$this->registerJs(
'$("document").ready(function(){
$("#pjax-add-b... |
<?php
namespace HMS;
use Illuminate\Database\Eloquent\Model;
class Room extends Model
{
protected $fillable = [
'room_type', 'hostel_id', 'block', 'price'
];
public function hostels(){
return $this->belongsTo('HMS\Hostel');
}
} |
<?php
/* @var $this yii\web\View */
use yii\helpers\Url;
$this->title = 'Messaging App';
?>
<div class="site-index">
<div class="body-content">
<div class="row">
<div class="col-lg-4">
<h2>Users</h2>
<hr>
<div class="list-group users-list-gr... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Pizza extends Model
{
use HasFactory;
protected $casts = [
'toppings' => 'array'
];
} |
<?php
use Illuminate\Database\Seeder;
use App\City;
class CityTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$city = new City();
$city->name_local = 'Hà Nội'; $city->name_global = 'Ha Noi';
$city->alias = 'ha-noi'; $... |
<?php
namespace aop\request;
/**
* ALIPAY API: alipay.mobile.beacon.message.send request
*
* @author auto create
* @since 1.0, 2019-03-08 15:29:11
*/
class AlipayMobileBeaconMessageSendRequest
{
/**
* 设备关联数据
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalIn... |
<?php
class ClientsProcessesController extends BaseController {
protected $process;
protected $client;
public function __construct(Process $process)
{
$this->beforeFilter('client');
$this->client = Auth::user();
$this->process = $process;
}
public function index()
... |
<?php
namespace Phx\Scrapers;
use Phx\NewsScraper;
use Phx\Scrapers\Processors\Bengkulutoday as BengkulutodayProcessor;
/**
* @author Ammar Faizi <ammarfaizi2@gmail.com> https://www.facebook.com/ammarfaizi2
* @package Phx\Scrapers
* @license MIT
* @version 0.0.1
*/
final class Bengkulutoday extends NewsScraper
... |
<?php
$TRANSLATIONS = array(
"Unable to load list from App Store" => "Nelze načíst seznam z App Store",
"Authentication error" => "Chyba přihlášení",
"Your full name has been changed." => "Vaše celé jméno bylo změněno.",
"Unable to change full name" => "Nelze změnit celé jméno",
"Group already exists" => "Skupina již e... |
@extends('layouts.site')
@section('controller')
<div role="main" class="main pgl-bg-grey">
<!-- Begin page top -->
<section class="page-top">
<div class="container">
<div class="page-top-in">
<h2><span>Contact Us</span></h2>
</div>
</div>
</section>
<!-- End page top -->
<!-- ... |
<?php
namespace TuNegocio\Http\Controllers\Auth;
use TuNegocio\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
class ResetPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `{{%section}}`.
*/
class m190325_125813_create_section_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->createTable('{{%section}}', [
'id' => $this->primaryKey(),
'... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* PiSMS
* Web based SMS management
*
* @package PiSMS
* @author Artikulpi
* @license http://pisms.artikulpi.com
* @link http://pisms.artikulpi.com
*/
class About extends CI_Controller{
function __construct(){... |
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<sp... |
<?php
error_reporting(0);
include '../config/database.php';
include '../config/koneksi.php';
$db = new database();
?>
<h2>Form Input Pinjaman</h2>
<hr />
<form method="POST" action="proses.php?aksi=tambah_pinjaman">
<?php $tgl = da... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
use HasFactory;
protected $guarded = ['id'];
// relasi antara model category dan post
public function Posts()
{
return $this->hasMany... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta nam... |
@extends('layouts.app')
@section('content')
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<style>
.draggable{
height: 150px !important;
padding: 5px 5px !important;
}
.dragg... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\Url;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $model common\models\Department */
/* @var $form yii\widgets\ActiveForm */
$this->title = 'Data Master Seksi';
$this->params['breadcrumbs'][] = ['label' => '... |
<?php
return [
// Laravel providers
Illuminate\Broadcasting\BroadcastServiceProvider::class,
Illuminate\Bus\BusServiceProvider::class,
Illuminate\Cache\CacheServiceProvider::class,
Illuminate\Cookie\CookieServiceProvider::class,
Illuminate\Encryption\EncryptionServiceProvider::class,
Illum... |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Cms\Block\Widget;
class BlockTest extends \PHPUnit_Framework_TestCase
{
/**
* @magentoDataFixture Magento/Cms/_files/block.php
* @magentoDataFixture Magento/Variable/_files/variable.p... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Ci_chat{
public function __construct()
{
$this->ci =& get_instance();
$this->ci->load->database();
//$this->ci->load->model('chat_model');
if (!isset($_SESSION['chatHistory'])) {
$_SESSION['chatHi... |
<?php
function display_category_form($category = '') {
/**
This displays the category form.
This form can be used for inserting or editing categories.
To insert, don't pass any parameters. This will set $edit
to false, and the form will go to insert_category.php.
To update, pass an array ... |
<?php
namespace App\Http\Controllers;
use App\Models\Tag;
use Illuminate\Http\Request;
use PhpParser\Node\Stmt\Return_;
class TagsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$tags =... |
<?php
/**
* Yasmin
* Copyright 2017-2018 Charlotte Dunois, All Rights Reserved
*
* Website: https://charuru.moe
* License: https://github.com/CharlotteDunois/Yasmin/blob/master/LICENSE
*/
namespace CharlotteDunois\Yasmin\WebSocket\Events;
/**
* WS Event
* @see https://discordapp.com/developers/docs/topics/gate... |
<?php
class Foundation_AttendentController extends Zend_Controller_Action {
public function init()
{
/* Initialize action controller here */
header('content-type: text/html; charset=utf8');
defined('BASE_URL') || define('BASE_URL', Zend_Controller_Front::getInstance()->getBaseUrl());
}
... |
<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Admin;
@... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Contato extends Model
{
public function lista() {
return (object) [
'nome'=>'leonardo',
'tel'=>'1123123123',
'email'=>'leodesa.10@gmail.com'
];
}
} |
<div class="panel panel-default">
<div class="panel-heading">
<h1 class="panel-title">Error</h1>
</div>
<div class="panel-body">
<? if ($error != '') print '<div class="alert alert-danger" role="alert"><span class="glyphicon glyphicon-remove"></span> ' . $error . '</div>'; ?>
<button type="reset" class="btn bt... |
<?php
namespace Aws;
use GuzzleHttp\Promise\PromisorInterface;
use GuzzleHttp\Promise\EachPromise;
/**
* Sends and iterator of commands concurrently using a capped pool size.
*
* The pool will read command objects from an iterator until it is cancelled or
* until the iterator is consumed.
*/
class CommandPool im... |
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
<script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.j... |
<?php
namespace Phalcon\Db\Dialect;
/**
* Phalcon\Db\Dialect\Sqlite
*
* Generates database specific SQL for the Sqlite RDBMS
*/
class Sqlite extends \Phalcon\Db\Dialect
{
protected $_escapeChar = '\\\"';
/**
* Gets the column name in SQLite
*
* @param \Phalcon\Db\ColumnInterface $column
... |
<?php
namespace HdCarrito\Carrito\CartBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class itemCartControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClien... |
<?php include ('server.php');?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0... |
@canany(['bar', 'foobar'])
failed
@elsecanany(['foo'])
passed
@endcanany |
<?php
/*
* This file is part of the Swift Forum package.
*
* (c) SwiftForum <https://github.com/swiftforum>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Talis\SwiftForumBundle\Model;
use Doctrine\Common\Collections\ArrayCol... |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Core\Locale;
use Sylius\Component\Channel\Model\... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Acme</title>
<link rel="stylesheet" href="/css/app.css">
</head>
<body>
@include('inc.navbar')
<div class="container">
@if(Request::is('/'))
@include('inc.showcase')
@endif
<div class="row">
<div cla... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Finance\Types;
class SellerFundsSummaryRestRequest extends \DTS\eBaySDK\Finance\Types\Base... |
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @versi... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
isset($_SESSION['isuserloggedin']) OR exit('please login');
$this->load->helper('url');
?><!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>style.css"> <meta charset="utf-8">
<title>book<... |
<?php
namespace app\controllers;
use Yii;
use app\models\Country;
use app\models\CountrySearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* CountryController implements the CRUD actions for Country model.
*/
class CountryController extends Controller
{
/**
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class Customer extends Authenticatable
{
//
use Notifiable;
protected $guarded = [];
public function setPasswordAttribute($value){
$th... |
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
$arActivityDescription = array(
"NAME" => GetMessage("BPPDA_DESCR_NAME"),
"DESCRIPTION" => GetMessage("BPPDA_DESCR_DESCR"),
"TYPE" => "activity",
"CLASS" => "PublishDocumentActivity",
"JSCLASS" => "BizProcActivity",
"CATEGORY" => array(
"... |
<?php
/*
* WellCommerce Open-Source E-Commerce Platform
*
* This file is part of the WellCommerce package.
*
* (c) Adam Piotrowski <adam@wellcommerce.org>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\Bu... |
@extends('layouts.backend')
@section('content')
<div class="col-md-12">
<div class="card card-outline card-primary">
<div class="card-header">
<h3 class="card-title">Data {{ $title }}</h3>
<div class="card-tools">
<a href="/user/tambah" type="button" class="btn bt... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\User;
class AdminUserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
User::create([
'name' => 'admin',
'email' => 'admin@s... |
<?php
namespace App;
use App\Mail\ResetPassword;
use App\Notifications\ResetPasswordNotification;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
... |
@extends('template.main')
@section('content')
<h1 class="text-center my-5">Students :</h1>
@include('partials.tableStudent')
@endsection |
<?php echo $this->Form->create('Contato', array('class' => 'form form-validate', 'role' => 'form')); ?>
<?php echo $this->element('forms/title', array('title' => '<i class="fa fa-plus-square"></i> Responder Contato')); ?>
<?php echo $this->Form->hidden('id'); ?>
<div class="card-body">
<div class="row">
<di... |
<?php
final class PhabricatorFeedStoryDifferentialAggregate
extends PhabricatorFeedStoryAggregate {
public function renderView() {
$data = $this->getStoryData();
$task_link = $this->linkTo($data->getValue('revision_phid'));
$authors = $this->getAuthorPHIDs();
// TODO: These aren't really transl... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|----------------------... |
<?php
namespace Coyote\Services\Elasticsearch\Filters\Job;
use Coyote\Services\Elasticsearch\DslInterface;
use Coyote\Services\Elasticsearch\Filter;
use Coyote\Services\Elasticsearch\QueryBuilderInterface;
use Coyote\Services\Parser\Helpers;
use Illuminate\Support\Str;
class City extends Filter implements DslInterfa... |
<?php
namespace Amulen\DashboardBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and m... |
<?php
/**
* Created by PhpStorm.
* User: songhang
* Date: 16-10-28
* Time: 下午9:00
*/
namespace App\Models;
class UserModel extends BaseModel
{
protected $table = 'shop_user';
} |
<section class="content-header">
<h1>
Maintenance
<small>Data Maintenance Inventory</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-suitcase"></i>Transaksi</a></li>
<li class="active">Maintenance</li>
</ol>
</section>
<script src="<?php echo base_url... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
namespace App\Http\Controllers\Api;
use Auth;
use App\Models\User;
use Illuminate\Http\Request;
use App\Http\Requests\Api\AuthorizationRequest;
use App\Http\Requests\Api\SocialAuthorizationRequest;
class AuthorizationsController extends Controller
{
public function store(AuthorizationRequest $request)
... |
<?php
namespace App\Repositories\Interfaces;
use Prettus\Repository\Contracts\RepositoryInterface;
/**
* Interface RollAdRepository.
*
* @package namespace App\Repositories\Interfaces;
*/
interface RollAdRepository extends RepositoryInterface
{
//
} |
@extends('admin_layout')
@section('admin_content')
<div class="row">
<div class="col-lg-12">
<section class="panel">
<header class="panel-heading">
Cập nhật danh mục sản phẩm
</header>
<?php
$message = Session::get('message');
if ($... |
<?php
namespace Cielo\API30\Ecommerce;
use Cielo\API30\Ecommerce\CieloSerializable;
/**
* Class Browser
*
* @package Cielo\API30\Ecommerce
*/
class Browser implements \JsonSerializable, CieloSerializable
{
/**
* @var string
*/
private $browserFingerPrint;
/** @var string $cookiesAccepted *... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReceiversTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('receivers', function(Blueprint $table)
{
... |
<?php
if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
class Transaksikeuangan extends MY_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('keuangan/m_transaksikeuangan');
}
public function index()
{
$this->lo... |
<?php
namespace HL7\FHIR\STU3\PHPFHIRTests\FHIRResource\FHIRDomainResource;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: September 7th, 2020 11:57+0000
*
* PHPFHIR Copy... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Dota 2 University | Dashboard</title>
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome -->
<lin... |
<?php
$class = 'wrapper';
$bgColor = '#F7F7F7';
$logo = '/Users/lauren/Sites/email/components/images/wordmark-navy.php';
$mainPaddingLeft = "mso-padding-left-alt:0px; padding-left: 30px;";
$mainPaddingRight = "mso-padding-right-alt:0px; padding-right: 30px;";
?>
<?php include "/Users/lauren/Sites/email/components/full... |
<?php
namespace App\Http\Controllers;
use App\Models\Cliente;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
class ClienteController extends Controller
{
public function __construct(){
$this->middleware('auth', ['except'... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Studio;
use Carbon\Carbon;
use App\Rating;
use DB;
class DataStudioController extends Controller
{
public function index(){
$studio = Studio::where('status',1)->whereHas('sewaTempat')->orWhereHas('sewaAlat');
return view('welc... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Base Controller
|--------------------------------------------------------------------------
|
| This controller will be used as a base controller of all controllers
|
*/
'base_controller' => 'Mitul\Contr... |
@extends('layouts.admin_dashboard')
@section('content')
<!--begin::Header Menu Wrapper-->
<div class="header-menu-wrapper header-menu-wrapper-left" id="kt_header_menu_wrapper">
<div class="container">
<!--begin::Header Menu-->
<div id="kt_header_menu" class=... |
@extends('layouts.admin.main')
@section('content')
<div class="main-content">
<section class="section">
<div class="section-header">
<h1>Data Dusun</h1>
<div class="section-header-breadcrumb">
<div class="breadcrumb-item"><a href="#">Kelola Data</a></div>
<div class="breadcrumb-item">D... |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup Posts Posts
* @ingroup TridentModules
*
* @{
*/
/**
* Entry create/edit pages
*/
class BxPostsPageEntry extends Bx... |
<?php
require_once("conexion.php");
class ProntoPago{
function __construct(){
}
public static function listarAlert(){
$sql = "SELECT idchofer,cedula,nombre FROM chofer WHERE condicion=1";
return Consulta($sql);
}
public static function enviarEmailPP($ruta,$nombre,$email,$star... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
$user->requireLogin();
$db->begin();
////////////////////////////////////////////////////////////
//CHECK VOTE COUNT
////////////////////////////////////////////////////////////
if ($db->countId('pudl_feature_vote', 'user_id', $user) > 2) {
\af\error(422, 'Too many votes!');
}
//////////////////////////... |
<?php
namespace App\Providers;
use App\Repositories\CategoryRepository;
use App\Repositories\CategoryRepositoryInterface;
use App\Repositories\CommentRepository;
use App\Repositories\CommentRepositoryInterface;
use App\Repositories\MessageRepository;
use App\Repositories\MessageRepositoryInterface;
use App\Repositori... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFranqueadosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('franqueados', function (Blueprint $table) {
... |
<?php
use yii\db\Migration;
/**
* Class m201021_114847_add_message_table
*/
class m201021_114847_add_message_table extends Migration
{
/**
* {@inheritdoc}
* Эта миграция нужна для создания круд
*/
public function safeUp()
{
$this->createTable('messages', [
'id'=>$this-... |
@extends('web.layout.master')
@section('content')
<div class="main_property">
<div class="main_property_header bg-light py-5">
<div class="container">
<h1 class="text-dark font-weight-bold">{{ $property->title }}</h1>
<p class="mb-0">{{ $property->type_text }} - {{ $property->neighbo... |
<?php
declare(strict_types = 1);
namespace Everon\Logger\Plugin\GelfTcp;
use Everon\Logger\Plugin\Gelf\AbstractGelfLoggerPlugin;
use Gelf\Transport\AbstractTransport;
use Gelf\Transport\TcpTransport;
/**
* @property \Everon\Logger\Configurator\Plugin\GelfTcpLoggerPluginConfigurator $configurator
*/
class GelfTcpL... |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="http://www.movabletype.org/" />
... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use T... |
<html>
<head>
<title>Add Employee</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs... |
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace App\Listener;
use Swoft\Bean\Annotation\Listener;
use Swoft\Event\EventHandlerInterface;
use Swoft\Ev... |
<?php
namespace AgroSys;
use Illuminate\Database\Eloquent\Model;
class tipo_cliente extends Model
{
protected $table = 'tipo_cliente';
protected $fillable = [
'tipo_cliente'
];
public function pn_generales()
{
return $this->hasMany(persona_natural::class);
}
} |
<!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 Moto</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nu... |
<?php
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use App\Http\Transformers\MessagesTransformer;
use App\Http\Controllers\Api\BaseApiController;
use App\Repositories\Messages\EloquentMessagesRepository;
use App\Models\Access\User\User;
use App\Models\Providers\Providers;
class APIMessagesControll... |
<?php
declare(strict_types=1);
namespace Cycle\Annotated\Tests\Fixtures\Repository;
use Cycle\ORM\Select\Repository;
class CompleteRepository extends Repository
{
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.