text
stringlengths
2
1.03M
@extends('admin.layouts.app') @section('title', __('gear.title_index')) @section('content') <div class="page-content pt-0"> <div class="content-wrapper"> <div class="content"> <div class="card"> <div class="card-body"> <form action="" m...
<!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=iso-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <t...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class HaveAclRolePermissionsUseSlugs extends Migration { private $tableName = 'acl_role_permission'; /** * Run the migrations. * * @return void */ public function up() { Schema::t...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateExamActiveTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('exam_activo'...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* * * @author M.Fadli Prathama (09081003031) * email : m.fadliprathama@gmail.com * */ class Home_api extends API_Controller { public function __construct() { parent::__construct(); } /*===========...
<?php namespace App\Models; use Jenssegers\Mongodb\Eloquent\Model; class Budget extends Model { protected $collection = 'budgets'; }
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php use wxxiong6\logger\Logger; include __DIR__.'/vendor/autoload.php'; $config = [ 'logPath' => __DIR__.'/runtime/logs', 'maxLogFiles' => 5, 'traceLevel' => 0, 'maxFileSize' => 10240, 'logFile' => 'app.log', 'levels' => ['error', 'warning', 'info', 'debug'], ]; $i ...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header"> Gallery - Edit </div> ...
<?php class Model_sitesettings extends CI_Model { public function __construct() { parent::__construct(); } public function getsiteData(){ $this->db->select('*'); $this->db->from('site_setting'); $this->db->order_by('setting_id','asc'); return $result= $this->db->get()->result(); } public function ...
<?php /* * 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\CacheBundle\Invalidation; /** * @deprecated u...
<?php namespace app\models; use Yii; /** * This is the model class for table "product_status". * * @property int $id * @property string $name * @property string $state * @property int $sort * @property int $status * @property string $color * @property int $parent_id * @property string $created_at * @prope...
<?php namespace backend\controllers; use yii\web\Controller; class UserController extends Controller { public function actionIndex() { return $this->render('index'); } }
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Cliente extends Model { protected $fillable = [ 'nome','cnpj', 'cga', 'senha', 'qtd_socios', 'uniprofissional' ]; }
@extends('index') @if(!isset(Auth::user()->name)) <meta http-equiv="refresh" content="0; url={{ route('login') }}"> @else @section('Contenidoprincipal') <meta name="csrf-token" content="{{ csrf_token() }}" /> <div class="content"> <div class="container-fluid"> <div class="section-image"> <!-- you...
@extends('backend.layouts.admin.admin') @section('title', 'Product') @section('content') <section> <div class="section-body"> <div class="card"> <div class="card-head"> <header class="text-capitalize">Product</header> <div class="tools"> ...
<?php namespace Slate\Metalang { class MetalangMethod extends MetalangClassConstructAttributable { public function getParameters(): array { return \Arr::map( $this->construct->getParameters(), function($parameter) { return (new MetalangClassCo...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>RegistrationForm_v6 by Colorlib</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- MATERIAL DESIGN ICONIC FONT --> <link rel="stylesheet" href="<?php echo base_url();?>assets/register/fonts/material-design-iconic-font/...
<?php namespace User\Controller; use Zend\Mvc\Controller\AbstractActionController; use Zend\View\Model\ViewModel; class UserController extends AbstractActionController { public function indexAction() { return new ViewModel(); } }
<?php declare(strict_types=1); namespace Aedart\Model\Traits\Strings; /** * <h1>Query Trait</h1> * * @see \Aedart\Model\Contracts\Strings\QueryAware * * @author Alin Eugen Deac <aedart@gmail.com> * @package Aedart\Model\Traits\Strings */ trait QueryTrait { /** * Query * * @var string|null ...
<?php /** * Created by PhpStorm. * user: nomantufail * Date: 10/10/2016 * Time: 10:13 AM */ namespace App\Repositories; use App\Models\VehicleType; class VehicleTypesRepository extends Repository { public function __construct(VehicleType $vehicleType) { $this->setModel($vehicleType); } ...
<?php /** * TemplateRecipients * * PHP version 5 * * @category Class * @package DocuSign\eSign * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services...
<?php namespace App\Http\Controllers; use App\Category; use App\Http\Requests\StoreBlogCategory; use Illuminate\Http\Request; class CategoryController extends Controller { // public function index() { $categories = Category::all(); //retrouver un modèle par sa clé primaire //$...
<?php use yii\db\Migration; /** * Class m200101_143319_add_foreign_key_to_ads */ class m200101_143319_add_foreign_key_to_ads extends Migration { /** * {@inheritdoc} */ public function safeUp() { // creates index for column `category_id` $this->createIndex( '{{%idx-...
<?php use frontend\service\UrlService; ?> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">角色列表</h1> </div> <!-- /.col-lg-12 --> </div> <div class="panel panel-default"> <div class="panel-heading"> <a href="<?=UrlService::buildUrl('/role/set')?>" class="btn btn-primary"...
<?php namespace saeid\Category\Policies; use App\User; use Illuminate\Auth\Access\HandlesAuthorization; use saeid\RolePermission\Models\Permission; class CategoryPolicy { use HandlesAuthorization; /** * Create a new Policies instance. * * @return void */ public function __construct()...
<div class="container-fluid"> <div class="alert alert-success"> <p class="text-center align-middle">Pesanan anda berhasil di proses !!!</p> </div> </div>
<?php /** * Custom Markdown parser for Kohana documentation. * * @package Kohana/Userguide * @category Base * @author Kohana Team * @copyright (c) 2008-2013 Kohana Team * @license http://kohanaframework.org/license */ class Kohana_Kodoc_Markdown extends MarkdownExtra_Parser { /** * @var string...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $searchModel app\models\ShelfsSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Shelfs'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="shelfs-index...
<?php namespace app\common\model; use think\Model; class Category extends Model { protected $autoWriteTimestamp = true; public function add($data) { $data['status'] = 1; return $this->save($data); //这个save操作直接返回id了 } public function getAllCategory($parent_id = 0) { ...
<?php if(isset($rights[0]['user_rights'])){$permissions = explode(',',$rights[0]['user_rights']); $loggedin_user = $this->session->userdata('userdata');}?> <div class="content-wrapper"> <!-- ============================================================== --> <!-- Start Page Content --> <!-- ================...
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; class ForgetPassword extends TestCase { /** * A basic test example. * * @return void */ public function testForgetPassword() { $...
<?php namespace App\Models; use Eloquent as Model; use Illuminate\Database\Eloquent\SoftDeletes; use Auth; use DB; use Lang; use Carbon\Carbon; /** * Class Product * @package App\Models * @version November 29, 2017, 12:48 pm UTC */ class Product extends Model { public $table = 'products'; const CRE...
@extends ('layouts.app') @section('main') <div id="detail"> <h1>{{$comic->title}}</h1> <img src="{{$comic->thumb}}" alt="{{$comic->title}}"> <h5>{{$comic->series}} - <span>{{$comic->type}}</span></h5> <p>{{$comic->description}}</p> <p>{{$comic->price}} €</p> <p>Release Date: {{$comic->sale_date...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateFinancialReportsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('financ...
<?php namespace App\Http\Requests\Orders; use Illuminate\Support\Arr; class UpdateOrderItemRequest extends StoreOrderItemRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
<?php session_start(); if(isset($_SESSION["user_name"])){ include './bar\navigation_bar.php'; ?> <!doctype html> <html lang="eng"> <head> <meta charset="utf-8"> <title> profile</title> <link rel="stylesheet" href="css\notes.css" type="text/css"> <script src="jquery\notes.js" type="text/javascript"></script> <style...
<?php use Illuminate\Database\Seeder; use App\User; class UsersSeeder extends Seeder { public function run() { \DB::table('users')->truncate(); $user = new User(['name' => 'Ash', 'email' => 'ash@rain.com', 'password' => 'dadada']); $user->save(); } }
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class Shop extends Model { protected $table = 'shops'; protected $fillable = ['user_id', 'name', 'email', 'phone', 'active_shop', 'website']; public function insertGetId($data){ return DB::table...
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2019 | +---------------------...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2017 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
@csrf Account Name: <input type="text" name="name" value="{{$inventory->name}}" style="border:0; font-size:16px;width:350px;" readonly> Date: <input type="text" name="" value="{{$inventory->created_at}}" style="border:0; font-size:16px;width:350px;" readonly>...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Home extends Model { protected $table = 'home'; public $timestamps = false; }
<?php /** * Created by PhpStorm. * User: Lloric Mayuga Garcia <lloricode@gmail.com> * Date: 12/23/18 * Time: 9:49 AM */ namespace App\Presenters\Auth; use App\Presenters\BasePresenter; use App\Presenters\Transformers\Auth\RoleTransformer; class RolePresenter extends BasePresenter { public function __constr...
<?php return [ /* |-------------------------------------------------------------------------- | Additional Compiled Classes |-------------------------------------------------------------------------- | | Here you may specify additional classes to include in the compiled file | generated by the `artisan ...
<?php defined('C5_EXECUTE') or die('Access Denied.'); /** * Default view for clov_timesheet_entry_list blocks. */ Loader::helper('clov_page', 'clov'); $pageList = $controller->getPageList(); $timesheetEntries = $pageList->getPage(); ?> <div class="clov-list clov-timesheet-entry-list"> <h3><?php echo $...
<?php $active = 4; ?> @extends('base') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0 titulo">C...
<?php return [ 'login'=>'Login', 'incorrect_info_login' => 'Email or Password incorrect Please try again', ];
<style> .img-box { width: 100%; height: auto; border-radius: 10px; overflow: hidden; } .img-box img { /* margin: -75px 0 0 0; */ } .img-topic { cursor: pointer; width: 100%; } .badge-allin { background: #0D2F7F; font-weight: 200; scroll-margin-top: 350px; font-size: 14px; ...
<?php session_start(); include_once('conexao.php'); $id = filter_input(INPUT_GET, 'id',FILTER_SANITIZE_NUMBER_INT); $result_usuario = "SELECT * FROM ficha WHERE id = '$id'"; $resultado_usuario = mysqli_query($conn,$result_usuario); $row_usuario = mysqli_fetch_assoc($resultado_usuario); ?> <?php require_once'validad...
<?php //00551 // -------------------------- // Created by Dodols Team // -------------------------- if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function...
<!-- Footer --> <footer class="footer"> <div class="row align-items-center justify-content-xl-between"> <div class="col-xl-6"> <div class="copyright text-center text-xl-left text-muted"> &copy; 2019 <a href="<?php echo $this->config->item('autor_link'); ?>" class="font-weight-bold ml-1" ...
<?php namespace Modules\Blog\Entities; use Illuminate\Database\Eloquent\Model; use Modules\Admin\Entities\Admin; use phpDocumentor\Reflection\DocBlock\Tag; use Spatie\MediaLibrary\HasMedia; use Spatie\MediaLibrary\InteractsWithMedia; use Spatie\Tags\HasTags; class Post extends Model implements HasMedia { use Ha...
<?php header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: attachment; filename=daftar_data_GPS_Uninstall". date('dmY_His').".xls" ); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0,pre-check=0"); header("Pragma: public"); $workbook = new Workbook(); $worksheet1 =& ...
<?php namespace Doctrine\Tests\Common\Cache; use Doctrine\Common\Cache\FilesystemCache; /** * @group DCOM-101 */ class FilesystemCacheTest extends CacheTest { /** * @var \Doctrine\Common\Cache\FilesystemCache */ private $driver; protected function _getCacheDriver() { $dir = sys_g...
<?php /** * Yar自动补全类(基于最新的2.0.1版本) * @author shixinke(http://www.shixinke.com) * @modified 2016/12/08 */ /** * */ class Yar_Concurrent_Client { /** * @var unknown $_callstack * * @access protected */ protected static $_callstack; /** * @var unknown $_callback * * @a...
<?php namespace Embed\Providers\OEmbed; use Embed\Url; class Meetup extends OEmbedImplementation { /** * {@inheritdoc} */ public static function getEndPoint(Url $url) { return 'http://api.meetup.com/oembed'; } /** * {@inheritdoc} */ public static function getPatte...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Transfer extends Model { protected $fillable =[ "reference_no", "user_id", "status", "from_warehouse_id", "to_warehouse_id", "item", "total_qty", "total_tax", "total_cost", "shipping_cost", "grand_total", "document", "note" ];...
<?php /** * @author Bloomreach * @copyright Copyright (c) Bloomreach (https://www.bloomreach.com/) */ declare(strict_types=1); namespace Bloomreach\EngagementConnector\Model; use Bloomreach\EngagementConnector\Model\ResourceModel\ExportEntity as ExportEntityResourceModel; use Bloomreach\EngagementConnector\Api\Dat...
@php $state = $getTags(); @endphp <div {{ $attributes->merge($getExtraAttributes())->class(['px-4 py-3 flex flex-wrap gap-1 filament-tables-tags-column']) }}> @foreach ($getTags() as $tag) <span @class([ 'inline-flex items-center justify-center min-h-6 px-2 py-0.5 text-sm font-medium tracki...
<?php namespace App\Http\Controllers\Frontend; use App\Helpers\Helper; use App\Http\Controllers\Controller; use App\Http\Requests\Frontend\SignInRequest; use App\Mail\VerificationCodeEmail; use App\Models\Account; use App\Models\Country; use App\Models\PersonalAccount; use App\Models\State; use App\Models\User; u...
<?php /** * Created by PhpStorm. * User: Igor * Date: 03.06.2015 * Time: 16:13 */ namespace app\models; use yii\db\ActiveRecord; class Users extends ActiveRecord { }
<?php namespace Dotdigitalgroup\Email\Block\Adminhtml\Config\Developer; class Wishlistsync extends \Magento\Config\Block\System\Config\Form\Field { /** * @var string */ public $buttonLabel = 'Run Now'; /** * @param string $buttonLabel * * @return $this */ public functio...
<?php /** * BuddyPress Activity Template. * * @package BuddyPress * @subpackage ActivityTemplate * @since 1.5.0 */ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; /** * The main activity template loop class. * * This is responsible for loading a group of activity items and displaying them. * * ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Blog extends Model { use HasFactory; public function category() { return $this->belongsTo(Category::class,'category_id'); } public function author() { ...
<?php /** * Created by PhpStorm. * Author: Aung Ko Khant * Date: October 13,2016 * Time: 3:45 PM */ namespace App\Backend\Schedulepatientvital; use Illuminate\Database\Eloquent\Model; class Schedulepatientvital extends Model { protected $table = 'schedule_patient_vitals'; public $incrementing = false; ...
<html> <body> <?php if(isset($_POST['enviar-formulario'])) : $formatosPermitidos = array("png", "jpeg", "jpg", "gif"); $quantidadeArquivos = count($_FILES['arquivo']['name']); $contador = 0; while($contador < $quantidadeArquivos): $extensao = pathinfo($_FILES['arquivo']['name'][$contador],...
<?php namespace DFSClientV3\Entity\Custom; class UserEntityMainTasksResultPriceKeywords_dataGoogleAd_traffic_by_platformsLivePriority_low { /** * @var null|string $cost_type; */ public $cost_type = null; /** * @var null|double $cost; */ public $cost = null; }
<?php namespace App\Http\Resources\History; use Illuminate\Http\Resources\Json\JsonResource; class PerformanceShowResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($req...
<?php declare(strict_types=1); /* * This file is part of the Kimai time-tracking app. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace App\API; use App\Entity\Timesheet; use App\Form\TimesheetEditForm; use App\Repository...
@extends('layouts.master') @section('content') @if(Auth::guest()) <h1>Welcome to laravel introduction</h1> @else {{Form::open(array('url' => 'create/post'))}} <div class="form-group"> {{Form::label('title', 'Title')}} {{Form::text('title', Input::old('title'), array('placeholder'=>'Enter ti...
<?php namespace Laravel; class Form { /** * All of the label names that have been created. * * @var array */ public static $labels = array(); /** * The registered custom macros. * * @var array */ public static $macros = array(); /** * Registers a custom macro. * * @param string $name ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\Sqlscript */ $this->title = 'นำเข้า Script'; $this->params['breadcrumbs'][] = ['label' => 'คลัง Script', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="sqlscript-create"...
<?if(!check_bitrix_sessid()) return;?> <? global $errors; if($errors == ''): echo CAdminMessage::ShowNote(GetMessage("MOD_INST_OK")); else: for($i=0; $i<count($errors); $i++) $alErrors .= $errors[$i]."<br>"; echo CAdminMessage::ShowMessage(Array("TYPE"=>"ERROR", "MESSAGE" =>GetMessage("MOD_INST_ERR"), "DETAILS"=>...
<?php namespace App\Policies\Machine; use App\User; use Illuminate\Auth\Access\HandlesAuthorization; use App\Models\Machine\MachineOwner; use App\Models\Machine\Value; use App\Models\Machine\Entity; use App\Scopes\ActiveScope; class MachineDeletePolicy { use HandlesAuthorization; /** * Create a new pol...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Additem extends MX_Controller { function __construct() { $this->load->model('mdl_additem'); if(empty($_SESSION['u_id'])) redirect('login'); elseif($this->session->userdata['authorization']==2) redirect('home'); } public func...
<?php namespace Webkul\Marketing\Repositories; use Illuminate\Support\Facades\Event; use Webkul\Core\Eloquent\Repository; class TemplateRepository extends Repository { /** * Specify model class name. * * @return mixed */ public function model() { return \Webkul\Marketing\Contr...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Contacto extends Model { // este hace referencia a la tabla protected $table = 'contactos'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'idcontacto', 'ti...
<?php /** * Project: ShoppingLists * File: ChangePasswordType.php * Author: Ndifreke Ekott * Date: 19/07/2020 17:17 * */ namespace App\Forms; use Symfony\Component\Form\Extension\Core\Type\HiddenType; use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\Extension\Core\Type\Su...
<?php /** * Copyright (c) 2016-present Ganbaro Digital Ltd * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * ...
<div> <div class="card card-primary col-8 mr-auto ml-auto"> <div class="card-header"> <h3 class="card-title">Update Service</h3> </div> <!-- /.card-header --> <div class="card-body"> <div class="row"> <div class="col-sm-6"> ...
<?php /* Plugin Name: Fluid Accessible Sorting List Plugin URI: http://wordpress.org/extend/plugins/fluid-accessible-sorting-list/ Description: WAI-ARIA Enabled Sorting List Plugin for Wordpress Author: Kontotasiou Dionysia Version: 3.0 Author URI: http://www.iti.gr/iti/people/Dionisia_Kontotasiou.html */ include_once ...
@extends('master') @section('konten') <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> .corosel{ height:70vh; } * { box-sizing: border-box; ...
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die(); $arComponentDescription = array( "NAME" => GetMessage("SONET_COMPONENT_USER"), "DESCRIPTION" => GetMessage("SONET_COMPONENT_USER_DESCRIPTION"), "ICON" => "/images/icon.gif", "COMPLEX" => "Y", "PATH" => array( "ID" => "communication", "CHIL...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateIdeasSubSubCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('i...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUserCreatesToolsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('user_c...
<?php use App\Exceptions\ValidationFieldException; use App\Library\Collection; use App\Model\User\UserFacade; use Mty95\NewFramework\Exceptions\DataException; use Mty95\NewFramework\AbstractRestController; use NewFramework\Entity; use NewFramework\Exceptions\EntityException; use NewFramework\Exceptions\ValidationExcep...
<?php namespace ccxt\async; // PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: // https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code use Exception; // a common import use \ccxt\ExchangeError; use \ccxt\ArgumentsRequired; use \ccxt\Precise; class therock extends Ex...
<?php namespace App\Http\Controllers\Backend; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use App\Model\Color; use App\Http\Requests\ColorRequest; class ColorController extends Controller { public function view(){ ...
<?php // Copyright (c) 2013 Pawel Tomulik <ptomulik@meil.pw.edu.pl> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\CoilType; use App\Models\BagMeasure; use App\Http\Requests\StoreCoilType; class CoilTypeController extends Controller { public function __construct() { $this->middleware('can:coilType.create')->only('create', 'store'); ...
<?php namespace App\Http\Controllers; use App\Http\Requests; use App\Http\Controllers\Controller; use Auth; use Input; use App; use Config; use Illuminate\Http\Request; use Services; class AdminController extends Controller { public function __construct () { $this->middleware('auth', ['except' =...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\Models\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Str; class RegisterControll...
<?php namespace TurboShip\Auth\Responses\Product; use TurboShip\Auth\Models\Product; use TurboShip\Auth\Responses\Base\BasePaginatedResults; class GetProductsResult extends BasePaginatedResults { public function __construct($data = null) { parent::__construct($data); } /** * @return P...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateLocationTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('location', function(Blueprint $table) { $table->increments('id'); $tabl...
<?php namespace App\Models; use Eloquent as Model; use Illuminate\Database\Eloquent\SoftDeletes; /** * Class Fase * @package App\Models * @version October 19, 2017, 7:38 pm UTC * * @property \App\Models\Evoluco evoluco * @property \App\Models\Projecto projecto * @property \App\Models\Iten iten * @property \I...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDatalistsTalbe extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('datalists', f...
<?php namespace common\db\fields; use Yii; use yii\helpers\ArrayHelper; use yii\widgets\ActiveForm; /** * Class ManyManySortField * Поле для связи ManyMany с возможностью сортировки привязанных элементов * @package common\db\fields * @author Churkin Anton <webadmin87@gmail.com> */ class ManyManySortField extend...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; use App\Admin; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { // } ...