text stringlengths 2 1.03M |
|---|
<?php
declare(strict_types=1);
namespace devnullius\yii\modules\i18n\models;
use devnullius\yii\modules\i18n\models\query\SourceMessageQuery;
use devnullius\yii\modules\i18n\Module;
use Yii;
use yii\base\InvalidConfigException;
use yii\behaviors\BlameableBehavior;
use yii\behaviors\TimestampBehavior;
use yii\db\Activ... |
@extends('layouts.app')
@section('content')
<div class="video-block section-padding">
<div class="main-items">
<div class="row justify-content-md-center">
<div class="messages text-center col-md-12">
Sobre Vitrina Laboral
<hr>
... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
/* Author: Jorge Torres
* Description: Login controller class
*/
class Login extends CI_Controller {
function __construct() {
parent::__construct();
$this->load->model('Login_model', 'lm');
}
public function i... |
<?php
namespace atk4\ui\FormField;
use atk4\ui\Exception;
use atk4\ui\Template;
use atk4\ui\View;
/**
* Class Upload.
*/
class Upload extends Input
{
public $inputType = 'hidden';
/**
* The action button to open file browser dialog.
*
* @var null
*/
public $action = null;
/**
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');?>
<div class="container">
<h1>Aqui fica a dashboard do cliente</h1>
</div> |
<?php
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Tests\Fixer\ControlStructure;
... |
<?php
class CategoryController extends AdminController {
public function actionSave() {
if (Yii::app()->getRequest()->getIsPostRequest()) {
$category = Yii::app()->getRequest()->getPost('Category', array());
if(Yii::app()->session['id']) {
$model = $this->loadModel(Yii::app()->session['id'], 'Categor... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateEstadosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('estados', funct... |
<?php
namespace App\Http\Controllers;
use App\Classes\Helper;
use Illuminate\Support\Facades\{DB};
use Illuminate\Http\Request;
use App\Services\PedidoService;
use App\Services\ItemPedidoService;
use App\Services\StatusPedidoService;
use App\Services\ObsPedidoService;
use App\Services\SetupService;
class PedidoCont... |
<?php
/**
* @copyright Copyright (c) Flipbox Digital Limited
* @license https://flipboxfactory.com/software/transformer/license
* @link https://www.flipboxfactory.com/software/transformer/
*/
namespace flipbox\transformer\transformers\element\matrix;
use craft\base\ElementInterface;
use craft\elements\... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Transaction extends Model
{
protected $table = 'transactions';
public $timestamps = true;
public function shop()
{
return $this->belongsTo('App\Models\Shop');
}
} |
<?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 Com\Youzan\Cloud\Extension\Param;
/**
*
* @author Baymax
* @create 2019-07-29 20:50:49.0
*/
class CreateAcquireResultDTO implements \JsonSerializable {
/**
* 支付回单号
* @var string
*/
private $acquireNo;
/**
* @return string
*/
public function getAcquir... |
<?php
use Scalr\UI\Request\JsonData;
class Scalr_UI_Controller_Dashboard extends Scalr_UI_Controller
{
public function hasAccess()
{
return true;
}
public function defaultAction()
{
$userType = $this->user->getType();
if ($userType == Scalr_Account_User::TYPE_FIN_ADMIN) {
... |
<?php
$TRANSLATIONS = array(
"Deletion failed" => "Löschen fehlgeschlagen",
"_%s group found_::_%s groups found_" => array("",""),
"_%s user found_::_%s users found_" => array("",""),
"Save" => "Speichern",
"Password" => "Passwort",
"Advanced" => "Erweitert"
);
$PLURAL_FORMS = "nplurals=2; plural=(n != 1);"; |
<?php
namespace Banner\CoreBundle\Controller\Frontend;
use Mastop\SystemBundle\Controller\BaseController;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Banner\CoreBundle\Document\City;
/**
* Controller que cuidará de setar a cidade esco... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StoreFileRequest;
use App\Imports\ContactImport;
use App\Repositories\Bases\BaseContactRepository;
use App\Repositories\Bases\BaseFileRepository;
use Maatwebsite\Excel\Facades\Excel;
class FileController extends Controller
{
private $_repository;
p... |
<?php
namespace App\Repositories\Admin\Currency;
interface CurrencyInterface
{
public function getPaginatedList($request, int $per_page = 5);
public function postStore($request);
public function postUpdate($request, int $id);
public function delete($id);
} |
<?php
namespace Ongoing;
class InOrderOperation
{
const __default = 'Create';
const Create = 'Create';
const CreateOrUpdate = 'CreateOrUpdate';
const Remove = 'Remove';
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Duta extends Model
{
use HasFactory;
} |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
namespace App\Models\Veterinary\Masters;
use Illuminate\Database\Eloquent\Model;
class VeterinaryServiceTypeM extends Model
{
protected $table = 'veterinary_service_type_m';
public function service_charges(){
return $this->hasOne('App\Models\Veterinary\Transactions\VeterinaryServiceCharges', "ser... |
<?php
$mintance = new \Mintance\Mintance('API_KEY');
$mintance->charge(100, [
'currency' => 'USD',
'products' => [
[
'id' => 10,
'quantity' => 2
]
]
]); |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class AttendanceBulk extends Model
{
protected $table = 'attendancebulks';
} |
<?php
return array(
'about' => array(
"about-1",
"about-4",
"about-images-right-section",
"about-text-image",
"about-image-text",
"about-3",
"about-2",
"about-8-materialis",
"about-5-materialis",
"about-2-materialis",
"about-1... |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Tus Archivos</title>
<style type="text/css">
<!--
body { margin: 0px; background-color: #F4F6F6;}
.background {
margin: 0;
padding: 0;
}
/*
http://jsfiddle.net/6KaMy/1/
is there a better way than the absolute positioning and negative margin... |
@extends('layout.main')
@section('title', $title)
@section('content')
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header">
<h4 class="card-title">{{$title}} Distributor</h4>
</div>
<div class="card-body">
<div class="toolbar">
</div>
<?php
function ru... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
class FirstCest
{
public function frontpageWorks(AcceptanceTester $I)
{
$I->amOnPage('/');
//$I->see('Text. In. Frontpage.');
}
} |
<?php
class District extends CI_Model {
public function __construct()
{
$this->load->model('provinces');
$this->load->model('wards');
$this->load->database();
$this->load->helper('url');
}
public function getRule() {
$rules = [
];
return $rules;
}
public functi... |
<?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\Builder;
... |
<?php
namespace AppBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class userControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClient();
// Create... |
<?php
namespace api\modules\v1\controllers;
use api\common\controllers\CustomActiveController;
use api\common\models\User;
use api\modules\v1\models\UploadForm;
use api\common\components\AccessRule;
use api\common\components\Facepp;
use yii\rest\Controller;
use Yii;
use yii\filters\AccessControl;
use yii\filters\auth... |
<form class="ajaxForm replacecontent" id="task-timesheet-form" action="<?php echo build_url('timesheet', 'addtime', array('taskid'=>$this->task->id))?>" method="post">
<input type="hidden" name="_ajax" value="1" />
From <input type="text" id="task-time-beginning" name="start" size="15" /> <input type="text" id="t... |
<?php
/**
* Invalid Date Recurrence Exception - thrown when somebody attempts to create an invalid recurrence
* @package qCal
* @subpackage qCal_Date
* @copyright Luke Visinoni (luke.visinoni@gmail.com)
* @author Luke Visinoni (luke.visinoni@gmail.com)
* @license GNU Lesser General Public License
*/
class qCal_D... |
<?php
namespace App\Service;
use App\Model\Countries;
use App\Model\CovidStat;
use Illuminate\Database\Eloquent\Collection;
class StatService implements StatServiceInterface
{
public function add(array $data): void
{
/** @var Countries $country */
$country = $this->getCountryByName($data['c... |
@extends('team.layout.auth')
@section('style')
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-rtl/3.4.0/css/bootstrap-rtl.css" type="text/css" />
<link href="/vendor/swatkins/gantt/css/gantt.css" rel="stylesheet" type="text/css">
<style>
body{
direction:rtl !... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Session;
use App\Tag;
use App\Song;
class TagController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$tags = Tag::all();
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Cviebrock\EloquentSluggable\Sluggable;
class ProfMain extends Model
{
use Sluggable;
protected $table = 'profesori';
protected $fillable = ['name','desc','main_image','slug','gallery_id','created_at'];
public function gallery()
... |
<!DOCTYPE html>
<html class="loading" lang="en" data-textdirection="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
... |
<?php
namespace App\Exports;
use Maatwebsite\Excel\Concerns\FromCollection;
class TransactionClaimFeeExport implements FromCollection
{
/**
* @return \Illuminate\Support\Collection
*/
public function collection()
{
//
}
} |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
namespace App\API\APP;
use App\Http\Traits\BcustTrait;
use App\Http\Traits\WorkPermit\WorkCheckTopicOptionTrait;
use App\Http\Traits\WorkPermit\WorkCheckTopicTrait;
use App\Http\Traits\WorkPermit\WorkCheckTrait;
use App\Http\Traits\WorkPermit\WorkPermitCheckTopicOptionTrait;
use App\Http\Traits\WorkPermit\WorkP... |
<?php
class CmsBlog extends CmsActiveRecord
{
const STATUS_DRAFT=1;
const STATUS_PUBLISHED=2;
const STATUS_ARCHIVED=3;
private $_oldTags;
public $restore;
public $selectedCategories;
/**
* Returns the static model of the specified AR class.
* @return CActiveRecord the static model class
*/
public stati... |
<?php
namespace CapeAndBay\LeadBinder\TrapperKeeper\Auth;
use CapeAndBay\LeadBinder\TrapperKeeper\Services\LeadBinderAPIClientService;
class AccessToken extends LeadBinderAPIClientService
{
protected $api_access_token = null;
protected $username;
public function __construct($token = null)
{
... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
INFO - 2020-11-02 05:30:42 --> Config Class Initialized
INFO - 2020-11-02 05:30:42 --> Hooks Class Initialized
DEBUG - 2020-11-02 05:30:42 --> UTF-8 Support Enabled
INFO - 2020-11-02 05:30:42 --> Utf8 Class Initialized
INFO - 2020-11-02 05:30:42 ... |
<?php
/**
* @author Joas Schilling <nickvergessen@owncloud.com>
*
* @copyright Copyright (c) 2015, ownCloud, Inc.
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Softwar... |
<div class="col-md-12 center">
<h4>Последние комментарии:</h4>
</div>
{{-- $comments --}}
@foreach($LatestComments as $comment)
{{-- $phone $phone = User::find($post->user_id)->phone; --}}
<article postid={{$comment->id}}>
@if($comment->author==null) unknown: @e... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class WorkerAttnResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\ApiController;
use App\Http\Resources\Admin\AdminResource;
use App\Http\Requests\AdminRequest;
use App\Models\Admin;
class AdminController extends ApiController
{
/**
* 分页查询.
*
* @return \Illuminate\Http\Resources\Json\AnonymousRes... |
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Sistema | @yield('title', 'Perfil N... |
<?php
/**
* statuses/mentions_timeline
* https://dev.twitter.com/docs/api/1.1/get/statuses/mentions_timeline
*/
require '../../twitter-proxy.php';
Proxy::relay( 'statuses/mentions_timeline' ); |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\VERSIONDOCUMENTO;
/**
* VERSIONDOCUMENTOSearch represents the model behind the search form about `app\models\VERSIONDOCUMENTO`.
*/
class VERSIONDOCUMENTOSearch extends VERSIONDOCUMENTO
{
/**
* @inherit... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class StripePayment extends Model
{
protected $table = 'stripepayment';
protected $fillable = ['id','secret_key','publishable_key'];
public $timestamps = false;
} |
<?php
static $data = array(
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
'' => '',
' ' => ' ',
'
' => '
',
'
' => '
',
'
' => '
',
'
' => '
',
'' => '',
'' => '',
'' => '',
'' => '',
'... |
<?php
//Version 1.0
if (isset($_POST['Generate']) || isset($_POST['Output'])){
$week = explode("-", $_POST['Week']);
if(isset($_POST['Output']) && $_POST['Output'] != ""){
$query1 = "SELECT id_Core_Arduino_Output, SUM(time_delta) as time, weekday(Time_on) as day, Core_Arduino_Outputs.naam FROM Core_Stats INNER JOIN... |
<?php
namespace app\modules\api\models;
use yii\base\Model;
class AuthByLoginForm extends Model
{
public $email;
public $password;
/**
* @var User
*/
private $_user;
/**
* @inheritdoc
*/
public function rules()
{
return [
[['email', 'password'],... |
<?php
/**
* Created by PhpStorm.
* @author Aren Ng <aren.ng@gmail.com>
* Created at 8/19/16 4:49 PM UTC+06:00
*
* @see https://docs.shoplazza.com/api/reference/fulfillmentevent Shoplazza API Reference for FulfillmentEvent
*/
namespace PHPShoplazza;
class FulfillmentEvent extends ShoplazzaResource
{
/**
... |
<!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, shrink-to-fit=no">
<link rel="stylesheet" href="{{ asset('vendor/coreui/css/coreui.min.css') }}">
<link rel="style... |
@extends('layouts.homeLayout')
@section('content')
<div class="container-fluid">
<div class="row page-titles">
<div class="col-md-6 col-8 align-self-center">
<h3 class="text-themecolor mb-0 mt-0">Коэффициенты субагентов</h3>
</div>
</div>
<div class="... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<h1... |
<?php
namespace Xinda\Controller;
class ServicelistController extends WebInfoController {
public function index(){
$JC=C('PRODUCT');
$this->assign('JC',$JC);
getWebInfo($JC);//获取网页信息
$where=array('prodid'=>C('PRODID'),'state'=>1);
$arr=M('tp_cate')->where($w... |
@extends('layouts.app-header')
@section('content')
<section class="listing_banner_forms">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="listing_inner_forms">
<form method="GET" name="searchForm" id="searchRoomsForm" action="{{ route('search_... |
<?php
namespace PM\scripts\Install;
use PM\Main\Provider;
use PM\Main\Filesystem\Directory;
use PM\Main\Filesystem\File;
/**
* This script defines a Manager class for run all the migrations that have not been started.
*
* @author Martin Kovar
* @category Performance
* @package scripts
*/
class Manager... |
@extends('world.layout.master')
<!-- slider -->
@section('content')
<section class="doctors-block">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center appointment-block" style="margin: 0 auto;">
<h1> Payment error </h1>
</div>
</div>... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit61d9a3e6c1fbc8df4ee14dce88448be8
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Empleados extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('empleados', function(Blu... |
<div class="form-group row justify-content-center left_css col-md-12 {{ $errors->has('title') ? 'has-error' : ''}}">
{!! Form::label('title', 'Title', ['class' => 'col-md-12 control-label']) !!}
<div class="col-md-12">
{!! Form::text('title', null, ('required' == 'required') ? ['class' => 'form-control'... |
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
Commands\FillIn... |
<!DOCTYPE html>
<html lang="da">
<head>
<?php include 'includes/favicons.php';?>
<title>Home - DoggyCraft</title>
<?php include 'includes/bootstrap.php';?>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<style>
</style>
</head>
<body>
<?php include 'includes/facebook.php';?>
<div class="row... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateApartmentServiceTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('apartm... |
<?php
namespace G4\Cron;
use DateTime;
use DateTimeZone;
use RuntimeException;
use InvalidArgumentException;
/**
* Update to original package (@link https://github.com/mtdowling/cron-expression) to be able to process sub-minute tasks
*
* @author Dejan Samardzija <samardzija.dejan@gmail.com>
*/
class CronExpressi... |
@extends('layouts.user_layout.user_design');
@Section('content')
<div id="content">
<div id="content-header">
<div id="breadcrumb">
<a href="{{URL::to('/user/dashbord')}}" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
<a href="">About You</a>
</div>
<h1>Your Cur... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateActivityUserTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('activity_u... |
<?php
namespace App\View\Adfm\Components;
use Illuminate\View\Component;
use Wtolk\Crud\Form\Input;
use Wtolk\Crud\Form\TextArea;
class Feedback extends Component
{
public $fields = [];
public $id;
public function __construct($id)
{
$this->id = $id;
$this->fields = [
Inp... |
<?php
namespace AlunoBundle\Repository;
/**
* AlunoRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class AlunoRepository extends \Doctrine\ORM\EntityRepository {
} |
<!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() }}">
<title>PPFO ... |
<!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="{{ asset('css/app.css') }}">
<title>{{ config('app.name') }} - @y... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFoodURLsTabl extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('FoodURLs', funct... |
<?php
/**
* Display Available Themes
*
* This file spits out a list of available themes to the control panel.
* This is provided thru an ajax call.
*
* @package GetSimple
* @subpackage Available-Themes
*/
// Include common.php
include('common.php');
login_cookie_check();
// JSON output of pages for ckedito... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Reports\Test\Block\Adminhtml\Product\Sold;
use Magento\Sales\Test\Fixture\OrderInjectable;
use Magento\Mtf\Client\Locator;
use Magento\Mtf\ObjectManager;
/**
* Class Grid
* Ordered Products Rep... |
<?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... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call([
ActivitySeeder::class,
ExperienceSeeder::class,
... |
<?php
namespace App\Entities;
use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
/**
* Class FlowTeam.
*
* @package namespace App\Entities;
*/
class FlowTeam extends Model implements Transformable
{
use TransformableTrait;... |
<?php
namespace App\Http\Livewire;
use Livewire\Component;
// use App\Rrhh\OrganizationalUnit;
// use App\User;
class AddProfile extends Component
{
//public $organizationalUnits, $users, $visators, $signers;
public $inputs = [];
public $i = 1;
/**
* Write code on Method
*
* @return r... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UsersDeleteCreativeTitle extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', fu... |
<section>
<div class="container bg_green">
<div class="row">
<div class="col-md-4 col-md-offset-2">
<!-- REGISTRATION FORM -->
<div class="text-center" style="padding:50px 0">
<div class="logo">Reset your password</div>
<!... |
<?php
namespace SON\Repositories;
use Prettus\Repository\Contracts\RepositoryInterface;
/**
* Interface BillPayRepository
* @package namespace SON\Repositories;
*/
interface BillPayRepository extends RepositoryInterface, RepositoryMutitenancyInterface
{
public function calculateTotal();
} |
@extends('baseEvent')
@section('pageContent')
<div class="jumbotron">
<div class="container-fluid">
<div class="row">
<div class="col-2">
<div class="nav flex-column nav-pills nav-settings" style="margin-top: 65px;" id="v-pills-tab"
role="tablist" aria-ori... |
<?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',... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be... |
<?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Core\Tests\Bridge\Doctrine\Orm;
... |
<?php
namespace Domain\Training\Repositories;
use Domain\Training\Models\Course;
use Mawuekom\Repository\Eloquent\BaseRepository;
use Mawuekom\Repository\Logics\QueryLogic;
class CourseRepository extends BaseRepository
{
use QueryLogic;
/**
* Get the model on which works
*
* @return Model|st... |
<?php
namespace App\AsientoContable\ConceptAccounts;
use App\AsientoContable\Collaborators\Collaborator;
use Illuminate\Database\Eloquent\Model;
class ConceptAccount extends Model
{
protected $table = 'concept_accounts';
protected $guarded = ['id'];
public function employee(): \Illuminate\Database\El... |
<?php
/**
* @version $Id: cache.php 190 2009-03-05 18:59:58Z kovalikp $
* @license GNU/LGPL, see COPYING and COPYING.LESSER
* This file is part of Ale - PHP API Library for EVE.
*
* Ale is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as publis... |
<?php
namespace App\Jobs;
use App\Models\Installment;
use App\Models\InstallmentItem;
use App\Models\Order;
use Illuminate\Bus\Queueable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use App\Excep... |
<?php
namespace com\pv138\easyUnion\taobao\request;
/**
* TOP API: taobao.tbk.tpwd.convert request
*
* @author auto create
* @since 1.0, 2018.08.31
*/
use com\pv138\easyUnion\taobao\RequestCheckUtil;
class TbkTpwdConvertRequest
{
/**
* 广告位ID
**/
private $adzoneId;
/**
* 1表示商品转通用计划链接,... |
<?php
class CustomerController extends \BaseController {
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index() {
if(isset($_GET['buscar'])){
$buscar = Input::get('buscar');
$customer = Customer::whereRaw('users_id = ' . Auth::user()->id .... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.