blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
116
path
stringlengths
2
241
src_encoding
stringclasses
31 values
length_bytes
int64
14
3.6M
score
float64
2.52
5.13
int_score
int64
3
5
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
text
stringlengths
14
3.57M
download_success
bool
1 class
da1afd640db041fb78d91b1d811ce1e680631315
PHP
DissidentMind/CRM-Casona
/custm_lib/evnf_fun.php
UTF-8
3,595
2.71875
3
[]
no_license
<?php class CrmCasonaFuns{ /* *Start a connection */ public static function startConnectionDb(){ $db = new MysqliDb (Array ( 'host' => 'localhost', 'username' => 'root', 'password' => '', 'db'=> 'db_crm_casona', 'port' => 3306, 'prefix' => '', 'charset' => '...
true
5c6fb0abd32a741c7317264cf6f67cdc8ca38391
PHP
mohsenmehribusiness/srbpipe
/app/Http/Requests/CatalogRequest.php
UTF-8
647
2.5625
3
[ "MIT" ]
permissive
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CatalogRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get th...
true
8edff5c6f8ead18dbe46e50c881d8e6cff034a7f
PHP
SysSU/CDKeys-Catalog
/modules/admin/users.php
UTF-8
3,428
3.015625
3
[]
no_license
<?php // Title and text changeable in config.php echo "<h2> $viewalluserstitleadmin </h2>"; echo "<p> $viewalluserstextadmin </p>"; //////////////////////////////////////////////// ///////////connection to the database/////////// ///////////////////////////////////////////////// $selected = mysql_select_db($dbname,...
true
b177bfc92cd5265f6f2a795a4c92c1e1d4d9a714
PHP
matth2020/reports-api
/app/Http/Middleware/Cors.php
UTF-8
2,138
2.625
3
[]
no_license
<?php namespace App\Http\Middleware; use Closure; use Log; class Cors { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { // disable cors if ...
true
ca6060af768bc0aff5918315b7b26cc28f4f9319
PHP
chrispsk/raw-php-reservation-hotel
/inc/functii.php
UTF-8
5,116
2.546875
3
[]
no_license
<?php const DB = '..'. DIRECTORY_SEPARATOR .'ksjdjfg.txt'; const REZERVARI = '..'. DIRECTORY_SEPARATOR .'rezervari.txt'; if(!isset($_SESSION['bucket'])){$_SESSION['bucket']=array();} $radio1 = (isset($_SESSION["bucket"]["camere"]) && $_SESSION["bucket"]["camere"] == 'Single') ? 'checked' : ''; $radio2 = (isset($_SESSIO...
true
b5757753144118542db0dc97866b60273e120748
PHP
abcalderon3/Salesforce2Ldap
/app/Model/Datasource/SalesforceSource.php
UTF-8
9,069
2.671875
3
[ "MIT" ]
permissive
<?php /** * SalesForceSource * * A Salesforce SOAP Client Datasource * Connects to a Salesforce partner SOAP server using the configured wsdl file * * PHP 5 * * Copyright (c) 2013 Adrian Calderon * * LICENSE: Licensed under The MIT License * For full copyright and license information, please see the...
true
e44b06d04c3739c39fae7dd155170e1b890760ef
PHP
farizyoga/SymfonyWithPusher
/src/AppBundle/Util/Pusher.php
UTF-8
414
2.578125
3
[]
no_license
<?php namespace AppBundle\Util; use Pusher as BasePusher; class Pusher { private $pusher; public function __construct($appId, $key, $secret) { $this->pusher = new BasePusher($key, $secret, $appId, ['encrypted' => true, 'cluster' => 'ap1']); } public function __call($method, $arguments) ...
true
0e373a35945394c78dcfcb4573498c58e4b66212
PHP
RaymondAtivie/TheMilkProject
/application/models/notification_model.php
UTF-8
1,720
2.6875
3
[]
no_license
<?php /** * Description of notification_model * * @author Raymond Ativie <RaymondAtivie@gmail.com> */ class notification_model extends CI_Model { function __construct() { parent::__construct(); } function sendNotification($u_id, $description) { $insert = array( "user_id" =...
true
73aa27f2315791e6c5692e3116f80495bb0be94f
PHP
greshem/bin
/getimagesize.php
UTF-8
262
2.640625
3
[]
no_license
#!/usr/bin/php <?php if(isset($argv[1])) { $file=$argv[1]; } else if(isset($_GET['img'])) { $file=$_GET['img']; } if (! isset($file)) { die("Usage: ".$argv[0]." image.file\n"); } $size=getimagesize($file); print_r($size); ?>
true
53b2b953a5fcef2870e2d06074cdaa8b3f8552c1
PHP
Dalabad/ThreatAssessmentTool
/app/Libraries/Importer/MaltegoImporter.php
UTF-8
2,398
2.6875
3
[]
no_license
<?php /** * Created by IntelliJ IDEA. * User: daniel * Date: 16.10.15 * Time: 14:16 */ namespace App\Libraries\Import; use App\Libraries\Importer\Importer; use Nathanmac\Utilities\Parser\Facades\Parser; class MaltegoImporter extends Importer { public $_findings; private $_importedFile; /** *...
true
002af99c01a85132b4650edf14ac8e55d058dcf2
PHP
wen6036/www.51dewen.wang
/application/admin/model/Sysconfigs.php
UTF-8
822
2.515625
3
[ "Apache-2.0" ]
permissive
<?php /** * 后台系统设置模型 * @author yupoxiong<i@yufuping.com> */ namespace app\admin\model; use traits\model\SoftDelete; class Sysconfigs extends Admin { use SoftDelete; protected $name = 'sysconfigs'; protected $autoWriteTimestamp = true; protected $updateTime = false; //启用禁用获取器 public functi...
true
462a484ffb0d7b34c2d1f47af637fb20e0bca0b7
PHP
ttc007/first_care
/src/View/Helper/GiantPaginateHelper.php
UTF-8
1,970
2.75
3
[]
no_license
<?php namespace App\View\Helper; use Cake\View\Helper; use Cake\ORM\TableRegistry; use Cake\Log\Log; class GiantPaginateHelper extends Helper { var $paginator; var $count; var $limit; var $page; var $pageCount; public function create($paginator){ $this->paginator = $paginator; ...
true
db1352a202e24c397833c2f827747aad1f032f41
PHP
larmdcm/concise-framework
/src/concise/Config/IConfig.php
UTF-8
316
2.71875
3
[]
no_license
<?php namespace Concise\Config; interface IConfig { public function set (string $key,$value) : bool; public function get (string $key,$default); public function has(string $key) : bool; public function clear() : bool; public function delete(string $key) : bool; public function parse(string $path) : array; }
true
7fc5a87cef45ccfca37b3562344309be1e0cebf2
PHP
cwade12c/haXMS
/sys/modules/login/classes/login.class.php
UTF-8
6,459
2.703125
3
[]
no_license
<?php class Login extends Engine { #####CONFIG##### /** * * @var int haxms Are we using haXMS? * @var int pass_type Hash algorithm * @var string pass_key Hardcoded passkey for additional security * @var int time Minutes before cookie expires */ private $haxms = 1; ...
true
2e87d39a03b13e7a7b2bae788a16c14e6f58280c
PHP
sr-hosseyni/Calculator
/tests/unit/suite/UnitTestCase.php
UTF-8
1,519
3.03125
3
[]
no_license
<?php namespace Calculator\Tests; use PHPUnit\Framework\TestCase; /** * UnitTestCase, Base class for our TestCases * * @author sr_hosseini */ class UnitTestCase extends TestCase { /** * Call protected/private method of a class. * * @param object &$object Instantiated object that we will ru...
true
2ac8d4d1411e21b38f9200baaacb5522bcd26fef
PHP
khavernathy/quac
/includes/calendar.php
UTF-8
4,239
3.078125
3
[ "Apache-2.0" ]
permissive
<?php # PHP Calendar (version 2.3), written by Keith Devens # http://keithdevens.com/software/php_calendar # see example at http://keithdevens.com/weblog # License: http://keithdevens.com/software/license function generate_calendar($year, $month, $days = array(), $day_name_length = 3, $first_day = 0, $prev_link, $nex...
true
40ffe42d94bbaec526190f11b6be0a6458ad418d
PHP
YuxinLi09/Board-Game-Who-Murdered-My-Grade
/character-post.php
UTF-8
993
2.65625
3
[]
no_license
<?php /** * Created by PhpStorm. * User: jstri * Date: 2/20/2019 * Time: 8:01 AM */ require 'lib/game.inc.php'; $controller = new \Game\CharacterSelectController($game); $acceptable=array("Professor Owen", "Professor McCullen", "Professor Onsay", "Professor Enbody", "Professor Plum", "Professor Day"); $accepted=...
true
65950ace4155368a0ca714c1c1928fd91896f45a
PHP
abbuyanaa/HKLC-Web
/admin/config/Database.php
UTF-8
1,420
2.859375
3
[]
no_license
<?php $filepath = realpath(dirname(__FILE__)); include_once($filepath.'/../config/config.php'); class Database { private $dbhost = DB_HOST; private $dbuser = DB_USER; private $dbpass = DB_PASS; private $dbname = DB_NAME; public $con; public $error; public function __construct(){ $this->connectDB(); } p...
true
1c0a90ef10dc7eaf79407d723bfba85502cd1fca
PHP
ReneRugaba/travaux
/connexionbdd/model/Service.php
UTF-8
1,132
3.375
3
[]
no_license
<?php /** * cette classe sert à la création des objets $service */ class Service2 { private $noserv; private $service; private $ville; /** * Get the value of noserv */ public function getNoserv(): ?int { return $this->noserv; } /** * Set the value of noserv ...
true
b9c99e3385d5b0309e743a27c1358fe3513501c1
PHP
fabiovettori/php-oop-2
/index.php
UTF-8
1,484
3.203125
3
[]
no_license
<?php // ESERCIZIO // definire la struttura di una tabella users che contiene i dati degli utenti di un blog // definire una classe User che "mappa" la tabella users // creare alcune istanze della classe User per stampare i dati degli utenti // Nome repo: php-oop-2 // N.B: NON dovete creare per davvero il databas...
true
b0862a2d57b5ce495f246a2817efb01db7b31ae1
PHP
Belaichukdo/PHPH
/Tasks_php-master/КМБ/16.php
UTF-8
547
2.828125
3
[]
no_license
<!doctype html> <html lang="ru"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <?php function image($x){ $img = 'img/'; $a = "<div class='img'><img src='{$img}{$x}' alt='Картинка' height='750px' width='1200px'></div>"; echo $a; $img = 'http://images.example.com/'; ...
true
0385686db2514c4b792cba2d4553c0b2d4132c6c
PHP
sevming/union-pay
/src/Events/Event.php
UTF-8
334
2.59375
3
[ "MIT" ]
permissive
<?php namespace Sevming\UnionPay\Events; class Event extends \Symfony\Contracts\EventDispatcher\Event { /** * @var string */ public $gateway; /** * Constructor. * * @param string $gateway */ public function __construct(string $gateway) { $this->gateway = $gat...
true
7d371954f3c0a9c12ad15ed447eec60f5083b485
PHP
mincms1/mincms
/app/components/Model.php
UTF-8
1,024
2.546875
3
[]
no_license
<?php // +---------------------------------------------------------------------- // | MODEL // +---------------------------------------------------------------------- // | Copyright (c) 2014 http://mincms.com All rights reserved. // +---------------------------------------------------------------------- // | Licensed...
true
1d6a6edafe0cefd0ede32b9c63642792d828bd25
PHP
posixpascal/Migrations
/spec/MigrationsSpec.php
UTF-8
6,670
2.546875
3
[ "MIT" ]
permissive
<?php namespace tests; use Kahlan\Arg; use Kahlan\Plugin\Monkey; use Kahlan\Plugin\Stub; describe('Migrations Module', function () { before(function () { // Install the module $this->modules->resetCache(); if ($this->modules->isInstallable('Migrations', true)) { $this->modules->install('Migrations'); } ...
true
17cd5a6271519879abec0993afd65fbe7c8181f4
PHP
xparse/ElementFinder
/tests/Collection/Dummy/JoinedBy.php
UTF-8
466
2.671875
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace Test\Xparse\ElementFinder\Collection\Dummy; use Xparse\ElementFinder\Collection\Modify\StringModify\StringModifyInterface; class JoinedBy implements StringModifyInterface { /** * @var string */ private $str; public function __construct(string $str) ...
true
616a04d67b836176da3c0c5953af019eab75b5e4
PHP
EachEvery/emerge-amplify
/app/Models/User.php
UTF-8
787
2.625
3
[]
no_license
<?php namespace App\Models; 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', '...
true
877635c5a4462f330755c9d4a314549f0d103848
PHP
erickasakya/rcms
/HOD/importcourseunit.php
UTF-8
4,623
2.578125
3
[]
no_license
<?php require 'header.php'; ?> <div class="graph-visual tables-main animated fadeInRight" id="formcontent"> <?php if(isset($_POST["Import"])) { if (!empty($_POST['dept_name']) && $_POST['dept_name'] !="select the department") { $filetype = array('application/vnd.ms-excel','text/plain','text/csv','text/tsv'...
true
cd2ca040b870f5f13d9ecaed185ba0dd1d700d8b
PHP
FredSafti/toggles
/src/Application/ListBooks/Book.php
UTF-8
229
2.921875
3
[]
no_license
<?php namespace Application\ListBooks; class Book { public string $id; public string $name; public function __construct(string $id, string $name) { $this->id = $id; $this->name = $name; } }
true
2c0bb0a0ed21e3cbcabf8400810278fb4413a871
PHP
iservng/bluemark-school-app
/business/attendace.php
UTF-8
415
2.6875
3
[]
no_license
<?php class Attendance { private $mClassId; private $mClassName; private $mDepartmentName; //Array of student Ids private $mStudentIds; //Array of the students attendance mark values private $mAttendance; private $m; public function __construct() { $this->mClassId =...
true
e785ba08ed7d9e8a3bd697032669e78bbe980de6
PHP
dr-dimitru/indira
/application/libraries/phpico.php
UTF-8
7,143
3.125
3
[ "MIT" ]
permissive
<?php /* Copyright 2011-2013 Chris Jean & iThemes Licensed under GPLv2 or above Version 1.0.2 */ class Phpico { /** * Images in the BMP format. * * @var array * @access private */ var $_images = array(); /** * Flag to tell if the required functions exist. * * @var boolean * @access private *...
true
17d0aaa3daf3ac821cdcd2d6e2a2d416d9ebef27
PHP
dustinfog/parpc
/src/Parpc/RemoteAddrValidator.php
UTF-8
1,116
3.015625
3
[]
no_license
<?php /** * Created by PhpStorm. * User: panzd * Date: 15/1/23 * Time: 下午2:45 */ namespace Parpc; /** * Class RemoteAddrValidator * @package Parpc */ class RemoteAddrValidator implements SecurityValidator{ /** * @param string[] $allowedIps */ public function __construct(array $allowedIps = n...
true
00d22c09534b7ca05a64700ec25b763adc279176
PHP
akaunting/laravel-module
/src/Commands/ObserverMakeCommand.php
UTF-8
3,180
2.515625
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php namespace Akaunting\Module\Commands; use Akaunting\Module\Module; use Akaunting\Module\Support\Config\GenerateConfigReader; use Akaunting\Module\Support\Stub; use Akaunting\Module\Traits\ModuleCommandTrait; use Illuminate\Support\Str; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Cons...
true
b1ef163e16aed07616d57624f111cbc63e70eed2
PHP
Slaycaster/isc
/html_table/ex.php
UTF-8
477
2.765625
3
[ "MIT" ]
permissive
<?php require('html_table.php'); $pdf=new PDF(); $pdf->AddPage(); $pdf->SetFont('Arial','',12); /* $html='<table border="1"> <tr> <td width="200" height="30">cell 1</td><td width="200" height="30" bgcolor="#D0D0FF">cell 2</td> </tr> <tr> ' . foreach($vars as $var) { echo '<td width="200" height="30">cell 3</td><td w...
true
a06be5b75ed34a383549c3f7ada37515b4fcc3f2
PHP
gjrdiesel/halo-finder
/app/Http/Controllers/Auth/AuthController.php
UTF-8
3,579
2.71875
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers\Auth; use App\User; use Illuminate\Support\Facades\Auth; use Validator; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; class AuthController extends Co...
true
b5528fe118c8a1b9be70647d0f7413eb1bd80f7b
PHP
Trivette/cs4413
/lab6/tj_project/WebContent/controllers/LoginController.class.php
UTF-8
1,434
2.65625
3
[]
no_license
<?php class LoginController { private $formInput; public static function run() { $webuser = NULL; $hockuser = NULL; $user = NULL; if ($_SERVER["REQUEST_METHOD"] == "POST") { $user = new User($_POST); $webusers = WebUserDB::getUsersBy('userName', $user->getUserName()); if (empty($...
true
c70582d68822ef67de386eb905d80021249f3494
PHP
SlideJet/TP-Openclassroom-MiniChat
/minichat1.php
UTF-8
2,429
2.625
3
[]
no_license
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Mini-chat openclassroom</title> <link rel="stylesheet" href="style.css"> </head> <br /> <img src="minichat.png" alt="Openclassrooms" > <body> <h1 style="text-align: center;">Bienvenue dans le mini-chat. Bonne discussion !</h1> <?php ...
true
4dc4b01856f58ea33cc153d4d4463ac7ec636420
PHP
Sywooch/Nokia2700-
/models/BonusHistory.php
UTF-8
1,914
2.5625
3
[ "BSD-3-Clause" ]
permissive
<?php namespace app\models; use Yii; use yii\helpers\Html; /** * This is the model class for table "pay_history". * * @property integer $id * @property integer $payment * @property integer $user_id * @property string $date * @property string $description * @property integer $order_num * @pro...
true
ba7e59be21474e6e8c093e59ebcc92a7b5dbc54f
PHP
ozzner/SistemaWeb_LaRoca
/model/model_tipo_participacion.php
UTF-8
522
2.875
3
[]
no_license
<?php class TipoParticipacionModel{ private $tipoParticipacionID; private $nombre; public function getTipoParticipacionID() { return $this->tipoParticipacionID; } public function getNombre() { return $this->nombre; } public function setTipoPa...
true
cca8bf6f53130fe01b25876e7e4ec41bc59b7c47
PHP
matthewnw/laravel-metrics
/src/Value.php
UTF-8
3,689
3.046875
3
[ "MIT" ]
permissive
<?php namespace Matthewnw\Metrics; use Illuminate\Http\Request; /** * Value class */ abstract class Value extends Metric { /** * Type of Metric * * @var string */ protected static $type = 'value'; /** * value for the metric at the previous range * * @var Array *...
true
3fba14f5f726262f3493287fd0a6dc9d9d5ffe07
PHP
vela1606/gaiaehr
/dataProvider/Person.php
UTF-8
1,939
2.875
3
[]
no_license
<?php /** * Created by JetBrains PhpStorm. * User: Ernesto J. Rodriguez (Certun) * File: Person.php * Date: 1/21/12 * Time: 3:18 PM */ if(!isset($_SESSION)){ session_name ('GaiaEHR'); session_start(); session_cache_limiter('private'); } class Person { /** * @param $fname * @param $mnam...
true
822e31f7fc44e16e23c95265c933c6cad6700e29
PHP
yukkiii-01/Safe-City
/models/conexion.php
UTF-8
334
2.59375
3
[]
no_license
<?php class conexion { static function conectar(){ $root='root'; $password='root'; $host='localhost'; $dbname='safecity'; $conexion=new PDO("mysql:host=$host;dbname=$dbname;",$root,$password, array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\'')); return $conexion...
true
f0a2087e150944897e310eb6abf6b73069977fba
PHP
Fondass/Tour-de-Toto-project
/classes/class.riderlist.functions.php
UTF-8
1,326
2.765625
3
[]
no_license
<?php /* class: PhP Model class * * Works with: * classes/pages/page.riderlist.php (page class) * * functions for the riderlist page. */ class FonRiderlistpageFunctions { protected $user; protected $db; protected $helper; public function __construct($user, $db, $helper) { $th...
true
b323541f869526327d860c4c042ab2c8593cbedc
PHP
Briareos/aws-sdk-php
/src/Credentials/CredentialProvider.php
UTF-8
7,295
2.953125
3
[ "Apache-2.0", "MIT" ]
permissive
<?php namespace Aws\Credentials; use Aws\Exception\CredentialsException; use Aws\Exception\UnresolvedCredentialsException; use Aws\Utils; /** * Credential providers are functions that create credentials and can be * composed to create credentials using conditional logic that can create * different credentials in d...
true
2b1b8f278db6e56baf2f2ae2e37e8ead70ffc738
PHP
samim23/linktrail
/includes/dbapi/polls.inc
UTF-8
2,707
2.65625
3
[]
no_license
<?php /* $Id: polls.inc,v 1.2 2000-11-17 22:07:42 pilif Exp $ */ define("POLLS_INC", true); /* The following is common to all DBAPI-Units. The DB-Connection will only be opened once */ global $myDB; if (!is_object($myDB)) { $myDB = new DB_Linktrail; include("dbapi/sql_strs.inc"); include("dbapi/s...
true
8d0b411e61e721b672a9976248c7e971c61ca20a
PHP
Flowerstars/schooldate
/Snds/model/PDOTester.php
UTF-8
569
2.859375
3
[]
no_license
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * Description of PDOTester * * @author Ward */ class PDOTester { public static function showQuery(PDOStatement $statement, Member $member) { $query = $statement->queryString; $par...
true
b0bdbe553253a6a986171ddd0f39e2e95e3a5cdd
PHP
minhmanbui/markdown-blog
/app/Http/Controllers/AdminController.php
UTF-8
2,266
2.5625
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use App\Http\Requests\Post\PostRequest; use App\Models\Post; use App\Services\Post\ServicePost; use Auth; use Illuminate\Support\Facades\Request; class AdminController extends Controller { const NUMBER_ITEM_POST_PER_PAGE = 5; private $srvPost; private $currentUser; ...
true
17c7b7bd97cfa21b0c6e7f688c873ad6d403b293
PHP
imManish/ALL-IN-ONE-CAKE
/models/datasources/payment_gateway/paypal_old.php
WINDOWS-1257
8,950
2.75
3
[]
no_license
<?php /** * Paypal Datasource 1.0 * * Paypal datasource to communicate with the Paypal NVP api. * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * Install instructions : * * - Place the newest version of paypal_source.php in your app/models/datasourc...
true
565679dd6c231bb8f4a92855351a71aa0d0c042d
PHP
juliajano/projekt
/app/src/Entity/Note.php
UTF-8
3,186
2.546875
3
[]
no_license
<?php namespace App\Entity; use App\Repository\NoteRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=NoteRepository::class) */ class Note { /** * @ORM\Id() * @ORM\GeneratedValue()...
true
320dce2ba7cde91b5ad9261a7b0c2c8f2f45dc03
PHP
NoName1771/photohub
/app/helpers/Role.php
UTF-8
328
2.828125
3
[]
no_license
<?php class Role { public static function access($roles) { if (Auth::check() && Auth::user()->roleID) { foreach(str_split($roles) as $role) { if(Auth::user()->roleID == $role) return true; } } return false;...
true
47273c7153735e84f4d294450e75fee28c6b3dc0
PHP
dbom1006/cafe
/system/core/loader.php
UTF-8
1,397
2.953125
3
[]
no_license
<?php if(!defined('PATH_SYSTEM')) die('Bad requested!'); class Loader{ private $controllerName; // name of controller file private $controllerClass; // name of controller class private $action; // action of requester private $urlValues; // array store all variable in URL public function __construct()...
true
1b89d87d26c38a51b6bf8721befcec2d1d33dfe7
PHP
bramdevries/example-php-sdk
/src/Endpoint/Todos.php
UTF-8
398
2.5625
3
[]
no_license
<?php declare(strict_types=1); namespace Api\Client\Endpoint; use Api\Client\HttpClient\Message\ResponseMediator; use Api\Client\Sdk; final class Todos { private Sdk $sdk; public function __construct(Sdk $sdk) { $this->sdk = $sdk; } public function all(): array { return Res...
true
21236e4dd068ac844051650c4143546c42531b29
PHP
wyrfel/php-callback
/tests/CallbackTest.php
UTF-8
3,749
2.53125
3
[]
no_license
<?php namespace Wyrfel\PhpCallback; use PHPUnit\Framework\TestCase; use Exception; class CallbackTest extends TestCase { const RETURN_VALUE = 'abcd'; public function testInvocationArgumentsArePrependedByDefault(): void { $object = $this->getMockBuilder(Callback::class) ->setMethods([...
true
75f57b99e757857337f6bf3921a2294685f056aa
PHP
better-think/php-car-rental-site
/assets/php/giveofferprice.php
UTF-8
854
2.609375
3
[]
no_license
<?php session_start(); include('config.php'); if($_POST["action"] == "giveOfferPrice") { $phone = $_POST['phone']; $surname = $_POST['surname']; $price = $_POST['price']; $vehicle_id = $_POST['id']; $sql="INSERT INTO tblgiveofferprice(phone,surname,price, vehicle_id) VALUES(:phone, :surname, :...
true
96d9cadb82dd6d9fecc57b6222c0e6b8da28e084
PHP
siaaf-udec/Siaaf
/app/Container/Acadspace/src/Software.php
UTF-8
982
2.59375
3
[]
no_license
<?php namespace App\Container\Acadspace\src; use Illuminate\Database\Eloquent\Model; class Software extends Model { /** * Conexión de la base de datos usada por el modelo * @var string */ protected $connection = 'acadspace'; /** * Tabla utilizada por el modelo. * @var string ...
true
e520092d1df14c055ea3cff6c3dd3c4632437618
PHP
arliber/tabot
/app/botserver.class.php
UTF-8
3,953
3
3
[]
no_license
<?php class BotServer { protected $log; private $verificationToken; private $hubChallenge; private $bots = []; public function __construct($log, $verificationToken) { $this->log = $log; $this->verificationToken = $verifi...
true
b63ee9308bfdffa86f63a4621e43c4061a6b2bb5
PHP
XarigamiND/xarigami-modules-articles
/xaradminapi/create.php
UTF-8
6,053
2.578125
3
[]
no_license
<?php /** * Articles module * * @package modules * @copyright (C) 2002-2007 The Digital Development Foundation * @license GPL {@link http://www.gnu.org/licenses/gpl.html} * * @subpackage Xarigami Articles Module * @copyright (C) 2008-2011 2skies.com * @link http://xarigami.com/project/xarigami_articles * @aut...
true
8476cd0facc4c3bf11e326a11349930f5cd3ff10
PHP
china1164/sae_framework
/shengshiwulian/controller.php
UTF-8
934
2.859375
3
[]
no_license
<?php namespace shengshiwulian; class Controller { public $assign = array(); /** * 加载模板 * @param type $data * @return type */ public function display() { return \shengshiwulian\View::display("{$this->name_controller()}.{$this->name_action()}", $this->assign); ...
true
711a862c252fa3adae7cd62ead8a9b71ccc7b501
PHP
WangStar1031/Laravel_Start
/app/Http/Controllers/CookieController.php
UTF-8
561
2.65625
3
[ "MIT" ]
permissive
<?php namespace Tutorialspoint\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Http\Response; use Tutorialspoint\Http\Requests; use Tutorialspoint\Http\Controllers\Controller; class CookieController extends Controller { public function setCookie(Request $request){ $minutes = 1; $respons...
true
fcdb21fb355fce14943c137402568189978b81ba
PHP
731135/cursoPhp
/CursoPHP/26. Function_printR()/functionPrintR().php
UTF-8
225
2.5625
3
[]
no_license
<?php $texto='Carlos'; $numero=10; $numero2='5'; $arreglo= array('Carlos','Cesar','Alejandro'); $arreglo_asociativo =array('nombre'=>'Carlos','edad'=>20); $boleano=false; //print_r($arreglo_asociativo); print_r($texto); ?>
true
4e56292d18db737a9c6439d6e9c637887f0380a2
PHP
xingxuewen/letter_api
/app/Models/Chain/UserVip/Privilege/FetchPrivilegeUrlAction.php
UTF-8
1,324
2.609375
3
[]
no_license
<?php namespace App\Models\Chain\UserVip\Privilege; use App\Models\Chain\AbstractHandler; use App\Services\Core\Tools\ToolsService; use App\Services\Core\User\Privilege\PrivilegeService; /** * 对接 - 返回对接地址 * * Class FetchWebsiteUrlAction * @package App\Models\Chain\Apply\SpreadApply */ class FetchPrivilegeUrlAct...
true
044b020ef9a9633936188f3a3d28e3f4d8303b1d
PHP
joaotanaca/genshin-api
/database/migrations/2021_09_09_191833_criar_tabela_characters.php
UTF-8
979
2.625
3
[ "MIT" ]
permissive
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CriarTabelaCharacters extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('characters',...
true
04c2953b6ef0525688c6bc6f35454f20b5952d53
PHP
mediawiki-extensions/semantic-social-profile
/TestExtensions/UkRusTag/UkRusTag.php
UTF-8
1,089
2.65625
3
[]
no_license
<?php error_reporting(E_ALL); if (!defined('MEDIAWIKI')) { echo <<<EOT To install my extension, put the following line in LocalSettings.php: require_once( "\$IP/extensions/UkRusTag/UkRusTag.php" ); To use the feature create an article and put some ukrainian text like this <ukr>the text goes here</ukr> EOT; e...
true
b7362011e3adb5e2cfa05383e3bb8c94d2427e3f
PHP
DarthJonathan/Chris_Inventory
/app/Datamodels/Serializable.php
UTF-8
712
2.96875
3
[ "MIT" ]
permissive
<?php /** * Created by Jonathan Hosea */ namespace App\Datamodels; use Illuminate\Support\Collection; abstract class Serializable { /** * convert object to key value array * @return Collection object attr serialized */ public function toArray() : Collection { $array = new Collect...
true
6cc19a787e018c9f0436e0634b9bdf7f9867a8cc
PHP
guillomu/Forum-Pirate
/models/utilisateurs.php
UTF-8
4,685
3.4375
3
[]
no_license
<?php require_once "./models/model.php"; class UtilisateursModel extends Model { private $id; private $nom_utilisateur; private $mdp; private $email; private $avatar; private $prenom; private $nom; private $date_de_naissance; private $statut; // CONSTRUCTEUR // public function __constr...
true
00f7ab4adac47acaf625ef9c22adba58d45d1fec
PHP
roboczyRP/mvc
/web/index.php
UTF-8
1,044
2.609375
3
[]
no_license
<?php require(__DIR__.'/../vendor/autoload.php'); use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; //:: to wywolanie metody statycznej //createFromGlobals() kopiuje do zmiennej request wszystkie tablice globalne $request= Request::createFromGlobals(); $response = new Respo...
true
a76dfda2a36d45a32a23c4a01c44acb2fc62b099
PHP
chrisvishoot/455_Website
/website/website/favorite/view_favorites.php
UTF-8
1,024
2.578125
3
[]
no_license
<?php /** * Created by PhpStorm. * User: Chris * Date: 3/1/2016 * Time: 2:22 PM */ require_once "../authorize.php"; $user_id = $_SESSION['user_id']; if($_SESSION['is_logged'] == True) { $sql = "SELECT * FROM favorite WHERE user_id=". $user_id; $result = $link->query($sql); if($result) { } else { ...
true
4b3dd09dd0de5c860a09dcb488e67ff6af2b9bb9
PHP
Patrick-Fieger/Dr-Graeber
/send.php
UTF-8
574
2.703125
3
[]
no_license
<?php $name = $_REQUEST['name']; $email = $_REQUEST['email']; $telefon = $_REQUEST['telefon']; $nachricht = $_REQUEST['nachricht']; //$adress = "patrickfieger90@gmail.com"; $adress = "dr.m.graeber@t-online.de"; if (($name=="") || ($email=="") || ($nachricht=="")){ echo "FEHLER"; ...
true
21260b4000f8a353c03cf0c6d9f0dd9e0b67b151
PHP
Raphael-Frantz/SiteLicence
/index.php
UTF-8
988
2.5625
3
[]
no_license
<?php // Autoloader + configuration require_once("./config/autoload.php"); require_once("./config/siteConfig.php"); require_once("./config/DBConfig.php"); // Default controller define("DEFAULT_CONTROLLER", "Accueil"); // Start session session_start(); // Get current mode and action $mode = DEFAULT_CONTROLLER; if((is...
true
1eba7200887beadd41ab56d4c9b94980a10c5fbf
PHP
hugocarregno/redsocial
/model/Amistad.php
UTF-8
1,905
2.9375
3
[]
no_license
<?php class Amistad extends EntidadBase{ private $id; private $usuarioEmisor; private $usuarioReceptor; private $estado; private $fecha; public function __construct($adapter) { $table="amistad"; parent::__construct($table,$adapter); } public function getId(){ return $th...
true
4e44a7e3c14ea6e1a9bafff3334b838925a3c926
PHP
Noufeine/siteMusique
/inscription.php
UTF-8
5,592
2.8125
3
[]
no_license
<?php $servername = "localhost"; $username = "root"; $password = "root"; try { $conn = new PDO("mysql:host=$servername;dbname=musique", $username, $password); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); echo "<br>"; } catch(PDOException $e) { echo "Connection fail...
true
a3195caea81bb4b5b0ff71f7c31d3a1c1cddccf6
PHP
iamfat/gini
/class/Gini/HTTP/Cookie.php
UTF-8
377
2.796875
3
[ "MIT" ]
permissive
<?php namespace Gini\HTTP; class Cookie { public $file; public function __construct() { $this->file = tempnam(sys_get_temp_dir(), 'http.cookie.'); register_shutdown_function([$this, 'destruct']); } public function destruct() { if ($this->file && file_exists($this->fil...
true
b2a983b5d222303bb9310734a54f404eb60ed022
PHP
zigm0/gogokick-admin
/src/Model/BlockSettingsModel.php
UTF-8
2,825
2.796875
3
[]
no_license
<?php namespace App\Model; use Symfony\Component\Validator\Constraints as Assert; /** * Class BlockSettingsModel */ class BlockSettingsModel { /** * @var bool * @Assert\Type("boolean") */ protected $isLocked = false; /** * @var int * @Assert\Type("integer") */ protecte...
true
e65bc78ba54adb6f434d92c3eaae3e2a7a6eb19d
PHP
samloft/ordering-portal
/app/Http/Middleware/TermsAccepted.php
UTF-8
766
2.6875
3
[]
no_license
<?php namespace App\Http\Middleware; use App\Models\GlobalSettings; use Closure; class TermsAccepted { /** * Handle an incoming request. * Check to see if a user has accepted the site terms. If not redirect * them to a page where they can accept it. * * @param \Illuminate\Http\Request $r...
true
183036a8a568ccf3cde962d3e20b60cc8207ad73
PHP
developbiao/phpper
/2015/Day10/数组放大倍数02.php
UTF-8
584
3.5625
4
[]
no_license
<?php /* @Description:把数组放大1倍 */ header('Content-Type:text/html; charset=utf-8'); $arr = array(array(1,2,3), array(4,5,6), 7,8,9,10); function arrtest($arr){ //定义静态变量 防止递归存储时候覆盖数据 static $farr = array(); //定义最终返回的数组 static $j; //定义一维指针 for($i = 0; $i < count($arr); $i++){ if(is_array($arr[$i])){ //echo 'y...
true
f9ca195c86e1dae64d2bb443f9bab212e6aa1c1c
PHP
lldong18/RESTFullApiStructure
/api/bin/ApiCreator/Annotations/Bind.php
UTF-8
392
2.75
3
[]
no_license
<?php namespace ApiCreator\Annotations; /** * Describes the name to bind an action to. * This is used by the silex url generator. * * ie. ->bind('hello.there') * * @Annotation * @Target("METHOD") */ class Bind { /** @var string */ public $bind; /** * {@inheritDoc} */ public function ...
true
b838b6ceb6698bdec0079f3f638e56c5d469f6df
PHP
clydeortega14/Facades
/app/Services/MailSendingService.php
UTF-8
498
2.875
3
[ "MIT" ]
permissive
<?php namespace App\Services; use Illuminate\Support\Facades\Mail; class MailSendingService { private $country; private $width; private $height; public function __construct($country, $width, $height) { $this->country = $country; $this->width = $width; $this->height = $height; } public function sendM...
true
ff0c5be4032eafaa673bc262f8577abc0285edcd
PHP
lokothodida/tournament
/game/test/Actions/PowerUpTest.php
UTF-8
785
2.65625
3
[]
no_license
<?php use PHPUnit\Framework\TestCase; use lokothodida\Tournament\Player; use lokothodida\Tournament\Quadrant; use lokothodida\Tournament\ArrayEventStream; use lokothodida\Tournament\Actions\PowerUp; use lokothodida\Tournament\Event\PlayerPoweredUp; class PowerUpTest extends TestCase { private $events; public funct...
true
657164b295bb6d75edd294e67996b604e1cac820
PHP
raikouraza/KPGKP
/GKP_KP/Entity/Gereja.php
UTF-8
3,428
2.65625
3
[]
no_license
<?php class Gereja { private $gereja_id; private $gereja_nama; private $gereja_alamat; private $gereja_kota; private $gereja_rt; private $gereja_rw; private $gereja_kodepos; /** * @return mixed */ public function getGerejaRw() { return $this->gereja_rw; ...
true
d3cdbc6e4473a516a49996b8a2cf4f4b970a6b86
PHP
pilathraj/phpunit
/ch9/stub/StubOnConsecutiveCallsTest.php
UTF-8
631
3.1875
3
[]
no_license
<?php use PHPUnit\Framework\TestCase; class Sample { public function doSomething() { } } class StubOnConsecutiveCallsTest extends TestCase { public function testStub() { $stub = $this->createMock(Sample::class); $stub->method('doSomething') ->will($this->onConsecutiveCalls(2,3,4,5)); $this->assert...
true
427e696341af1d3f4bc502f395a8d7dca251abee
PHP
MarkBenjamins/Reserveringssysteem
/res-home.php
UTF-8
7,658
2.671875
3
[]
no_license
<!--Door Mark Benjamins--> <?php $stylesheet = "res-home"; include('include/header.php'); include('include/functions.php'); // error melding functie if (isset($_SESSION["gegevens"])) { unset($_SESSION["gegevens"]); } ?> <!--Start Kamer Keuze Menu --> <center> <h1>Reservering</h1> <form id="res-home" action...
true
183955ed95a45eb660bd90b405e5257d4ab29186
PHP
ushahidi/swiftriver-plugin-messaging
/classes/Controller/Messages.php
UTF-8
6,151
2.625
3
[]
no_license
<?php defined('SYSPATH') OR die('No direct access allowed.'); /** * Controller for the Messaging plugin * * @package SwiftRiver * @author Ushahidi Team * @category Plugins * @copyright (c) 2008-2012 Ushahidi Inc <http://ushahidi.com> */ class Controller_Messages extends Controller_User { public functio...
true
0db56c439a8675580cd15aafa36a3cd304c96ede
PHP
Serge3d/MVC-framework
/app/models/User.php
UTF-8
17,092
2.8125
3
[]
no_license
<?php namespace app\models; use app\core\Model; use app\lib\RandomToken; class User extends Model { // Проверка связки логин-пароль или Email-пароль public function loginValidate($login, $password) { $user = $this->getUser('login', $login); if (!$user) { ...
true
d55c76d5b86596ab6891e6a31fe6793b0a4e6e78
PHP
chrisvidal/OctoberFriends
/components/UserMostRecentBadge.php
UTF-8
1,145
2.578125
3
[ "Apache-2.0" ]
permissive
<?php namespace DMA\Friends\Components; use Cms\Classes\ComponentBase; use Auth; use View; use Lang; use DMA\Friends\Classes\BadgeManager; use DMA\Friends\Models\Badge; class UserMostRecentBadge extends ComponentBase { public function componentDetails() { return [ 'name' => 'Most R...
true
e42adc16f79e30bc0b2bf4641e47c77cb3c49ca5
PHP
Solire/lib
/Mail.php
UTF-8
5,959
2.75
3
[]
no_license
<?php /** * Classe simple d'envois de mails utilisant les View (avec TranslateMysql) * et Zend_Mail(). * * @author Adrien <aimbert@solire.fr> * @license CC by-nc http://creativecommons.org/licenses/by-nc/3.0/fr/ */ namespace Solire\Lib; use Solire\Lib\View\View; use Zend\Mail\Message; use Zend\Mail\Transport\...
true
870e1290254d8653b128db95f6b7801cc2255549
PHP
Taivas-APM/taivas-apm-laravel
/src/Analytics/LastRequests.php
UTF-8
738
2.765625
3
[ "MIT" ]
permissive
<?php namespace TaivasAPM\Analytics; use Illuminate\Database\Eloquent\Collection; use TaivasAPM\Models\Request; class LastRequests { private $amount = 10; public function getData() { /** @var Collection $data */ $data = Request::select([ 'id', 'url', '...
true
7608677fa794473c60eaef367bdfb4b743d25c7a
PHP
nutgunsystems/SmileParking
/Downloads/SmileParking-master/php_API/SMILEPARK/addObstacle.php
UTF-8
1,408
2.53125
3
[]
no_license
<?php header("content-type:text/javascript;charset=utf-8"); error_reporting(0); error_reporting(E_ERROR | E_PARSE); date_default_timezone_set('Asia/Bangkok'); $link = mysqli_connect('localhost', 'root', 'H1ng@1634', "SMILEPARK"); if (!$link) { echo "Error: Unable to connect to MySQL." . PHP_EOL; echo "Debuggin...
true
0e1fe15f865dc8d8a818924ff53a40e3a9a3d803
PHP
lambretaurelie/Php_Partie2
/exercice1/index.php
UTF-8
936
3.75
4
[]
no_license
<!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <!--Créer une variable age et l'initialiser avec une valeur. Si l'âge est supérieur ou égale à 18, afficher Vous êtes majeur. Dans le cas cont...
true
3317f6775ba3f9211b46520e6fc7485333e64720
PHP
TxusTxus/PT
/src/ClientesBundle/Repository/DireccionRepository.php
UTF-8
8,984
2.59375
3
[]
no_license
<?php namespace ClientesBundle\Repository; use Libreria; /** * DireccionRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class DireccionRepository extends \Doctrine\ORM\EntityRepository { /* * Obtiene el listado de los clientes de una empre...
true
7262afb901ac01ee3a98f4b0b2c5400d3f9e0814
PHP
christophrumpel/twitter
/src/TwitterDirectMessage.php
UTF-8
2,290
2.703125
3
[ "MIT" ]
permissive
<?php namespace NotificationChannels\Twitter; use Abraham\TwitterOAuth\TwitterOAuth; use NotificationChannels\Twitter\Exceptions\CouldNotSendNotification; class TwitterDirectMessage { /** @var string */ private $content; /** @var string */ private $to; /** @var bool */ public $isJsonRequest...
true
81db7b4e41f17edca79cc79329a6c33f8eaa2c11
PHP
AYSENURBILIR/PhpDersleri
/Ders-1/Ders-1.php
UTF-8
4,531
3.296875
3
[]
no_license
<!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.0"> <title>Ders-1</title> </head> <body> <h4>Php Programlama</h4> <?php /* php açıklama satırı*/ // php...
true
6b218593fa27345719bafb84a16aaadb9ea8a93b
PHP
wail-achiri/LogInRegister_BD
/lib/funcions.php
UTF-8
5,838
2.671875
3
[]
no_license
<?php //NOTE FUNCIONS INDEX.PHP function consultaActiu($mail_user,$db){ $sql = 'SELECT * FROM users WHERE active = ? AND (mail= ? OR username = ?)'; $preparada = $db->prepare($sql); $preparada->execute(array(1,$mail_user,$mail_user)); return $preparada->fetchAll(PDO::FET...
true
c412943a5702d00707fcfb3c2f22ae066d6505d2
PHP
flodor/Sea
/Sea/pChart.php
UTF-8
2,213
2.984375
3
[]
no_license
<?php require_once("pChart/pDraw.class.php"); require_once("pChart/pData.class.php"); require_once("pChart/pImage.class.php"); require_once("pChart/pPie.class.php"); class Sea_pChart extends pImage { /** * constructeur * * * @param unknown_type $XSize * @param unknown_type $YSize */ public function ...
true
682574487bf2f568046cde18f7484548473b56a1
PHP
Mark-Seaman/UNC-BACS350-2019-Fall
/bacs350/demo/12/list.php
UTF-8
530
3.4375
3
[]
no_license
<?php // Show the directories in "bacs350/demo" $path = '../..'; // Get directory list $items = scandir($path); // Create an HTML list $list = '<ul>'; foreach($items as $i) { $list .= "<li>$i</li>"; } $list .= '</ul>'; // Create some text $text = '<h...
true
72da88fab5be3d4d10b887de68648fb07c122d9f
PHP
YarlesTorres/cursophp
/03-variaveis-variaveis.php
UTF-8
330
3.140625
3
[]
no_license
<?php // Variáveis variáveis /*é um recurso que nos permite a criação de uma variável através do conteúdo de outra variável.*/ $bebida = "refrigerante"; $$bebida = "Guaraná"; echo "$refrigerante <br>"; $destino = "cidade"; $$destino = "Ilhéus"; echo "Seu destino será na $destino de ${$destino}";
true
9e1ff2258163e8d4333c2d1155cc1e8d1c3dd906
PHP
paulhenri-l/laravel-respond-to
/src/RespondScope.php
UTF-8
3,611
2.875
3
[ "MIT" ]
permissive
<?php namespace PHL\LaravelRespondTo; use Illuminate\Contracts\Support\Responsable; use Illuminate\Http\Request; use Illuminate\Http\Response; use PHL\LaravelRespondTo\Exceptions\MissingWithException; use PHL\LaravelRespondTo\Exceptions\NotSupportedFormatException; use Symfony\Component\HttpFoundation\Response as Sym...
true
ea1ce9bfaf3ab5b0df65759862e613c1483cf115
PHP
harshilsaraiya/Internship
/Day5/explode.php
UTF-8
93
2.734375
3
[]
no_license
<?php $mystring = "I Love PHP Language"; $arr = explode(" ",$mystring); print_r($arr); ?>
true
02f8fc1191ad5d2568b71638bd3fbdb2b83f4082
PHP
IrynaVlasiuk/insurance
/app/Models/Users/Types/UserType.php
UTF-8
384
3.109375
3
[]
no_license
<?php namespace App\Models\Users\Types; use App\Models\ParentModel; class UserType extends ParentModel { /** * Table * * @var string */ public $table = 'user_types'; /** * Fillables * * @var array */ ...
true
fbdf9a9ca51133b725929116ebf002cf05f2147d
PHP
if414028/PortalMahasiswa
/advanced/frontend/modules/prtm/models/Role.php
UTF-8
1,377
2.53125
3
[ "BSD-3-Clause" ]
permissive
<?php namespace frontend\modules\prtm\models; use Yii; /** * This is the model class for table "role". * * @property integer $id_role * @property string $nama_role * @property string $created_at * @property string $updated_at * @property integer $created_by * @property integer $updated_by * @property intege...
true
d31ba53c2bf9409e7d663a71a4e45b7253b34986
PHP
thalysonalexr/desafio-sogg-software
/web/src/App/src/Handler/Remove.php
UTF-8
544
2.53125
3
[]
no_license
<?php declare(strict_types=1); namespace App\Handler; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\RequestHandlerInterface; use Zend\Diactoros\Response\RedirectResponse; use App\Models\User\DAO\UserDAO; class Remove implements RequestHandlerInterface { ...
true
3bdd5df68f78a370c2cac588e53d412cfdd866cc
PHP
micheldesilets/lesnormandeaudesilets
/priv/php/programs/InsertConcatenatedFolder.php
UTF-8
2,449
2.9375
3
[]
no_license
<?php /** * Created by PhpStorm. * User: User * Date: 2019-03-23 * Time: 11:23 */ namespace priv\php\programs; use priv\php\{connection\DbConnection}; class InsertConcatenatedFolder { private $con; private $type; private $folderZero; private $folderOne; private $folderTwo; private $folde...
true