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
092caeafeeb722a0ee1774135bc71cfbf682e801
PHP
Miroling/symfony2-api
/src/AppBundle/Helper/CreateView.php
UTF-8
1,067
2.53125
3
[]
no_license
<?php /** * Created by PhpStorm. * User: miroling * Date: 17.04.15 * Time: 12:29 */ namespace AppBundle\Helper; use JMS\Serializer\SerializationContext; use FOS\RestBundle\View\View; trait CreateView { /** * Создание объекта View для ответа. * * @param mixed $data Данные для включени...
true
51bd15acc409fe0ba53afb744a61b14de0d45c75
PHP
rmed19/Base
/src/Structs/Struct.php
UTF-8
674
2.796875
3
[ "Apache-2.0" ]
permissive
<?php namespace Ezc\Base\Structs; use Ezc\Base\Exceptions\PropertyNotFoundException; /** * Base class for all Struct classes. * * @package Base * @version //autogentag// */ class Struct { /** * Throws a BasePropertyNotFound exception. * * @param string $name * @param mixed $value * ...
true
faf15c6e9974a20607828b0423cb6e786f148b89
PHP
rotexsoft/versatile-collections
/src/MultiSortParameters.php
UTF-8
4,877
3.34375
3
[ "BSD-3-Clause" ]
permissive
<?php /** @noinspection PhpFullyQualifiedNameUsageInspection */ declare(strict_types=1); namespace VersatileCollections; /** * Description of SortParameters * * @author Rotimi Ade */ class MultiSortParameters { protected string $field_name = ''; protected int $sort_direction = SORT_ASC; protected...
true
2b61d5e134bdb65f81ead40697e8e1a6bf765ff0
PHP
atobox/website_samples
/sample2/i.php
UTF-8
1,421
2.78125
3
[]
no_license
<HTML> <head> <style> body { background:rgb(100,20,7); } #up { font-size: 300px; font-family:Monotype Corsiva; color: #FFFFFF; } </style> </head> <body> <div id=up> <form> <table method="post"> <tr> <td class="p1">first number:<in...
true
eb4d44abe5d9ef4dc648efbb1773fd1b5cf5181f
PHP
suryaharshan1/GuruApp-API
/application/api/common/models/Notification.php
UTF-8
1,622
2.640625
3
[ "MIT" ]
permissive
<?php namespace api\common\models; use Yii; /** * This is the model class for table "notification". * * @property integer $id * @property string $notified_time * @property integer $institute_id * @property string $description * @property integer $course_id * @property integer $type * * @property Course $co...
true
25e9d91dff5cc93adfd132a6553c087bed6285f6
PHP
dasdware/dw-bike-trips
/api/src/Schema/Type/Enum/SortDirectionType.php
UTF-8
428
2.515625
3
[ "MIT" ]
permissive
<?php namespace DW\BikeTrips\API\Schema\Type\Enum; use GraphQL\Type\Definition\EnumType; class SortDirectionType extends EnumType { const DIRECTION_ASC = 'asc'; const DIRECTION_DESC = 'desc'; public function __construct() { $config = [ 'name' => 'SortDirection', 'valu...
true
9a31497b2045f47901a780e7a30823f885022e61
PHP
gooooodok/PhpAcademy_HomeWork
/Lesson_6_MVC/Library/Controller.php
UTF-8
309
2.6875
3
[]
no_license
<?php abstract class Controller { public function render($view) { $dir = str_replace('Controller', '', get_class($this)); $file = VIEW_DIR . $dir . DS . $view; if (!file_exists($file)) { throw new Exception("{$file} not found"); } ob_start(); require $file; return ob_get_clean(); } }
true
58e324ead4132d4af195f6cdff33147b0e6a49e3
PHP
Magael/OOP
/POO/exo3/Elsa/profile.php
UTF-8
433
2.65625
3
[]
no_license
<?php require_once 'includes/init.inc.php'; if(!$username = Input::get('user')){ Redirect::to('index.php'); }else{ $user= new User($username); if(!$user->exists()){ Redirect::to('404'); }else{ $data=$user->data(); }// with this we have access to user file information ?> <h...
true
2c1094b46a1df36eae9bc1b6d1b556f62ef31661
PHP
Cerdic/spip-zone-plugins
/tradsync/branches/v1/tradsync_fonctions.php
UTF-8
4,829
2.515625
3
[]
no_license
<?php /** * Plugin tradsync * Licence GPL (c) 2010 Matthieu Marcillaud * */ /** * * {traductions en} : tous les elements anglais etant des traductions * = {!origine_traduction}{lang=en} * * {!traductions en} : tous les elements d'origine non traduits en anglais * */ function critere_traductions_dist($id...
true
5308ebc887015ac6a727291e04b65d120b9bf8e1
PHP
evelinao1/racing
/app/Http/Controllers/BetterController.php
UTF-8
6,149
2.65625
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use App\Models\Better; use App\Models\Horse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; class BetterController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public fu...
true
583f9c82fa0ead09c7779b95e204ef3751227bf3
PHP
BlazingHoundoom/cms-team-8
/create_page.php
UTF-8
979
2.609375
3
[]
no_license
<?php include_once "header.php"; if(isset($_SESSION["logged-in"])){ // print_r($_SESSION["logged-in"]); if($_SESSION["logged-in"]=="admin"){ echo '<form class="form" action="add_page.php" method="post"> <input id="inp" type="text" name="title" placeholder="Title"> <br/> <input i...
true
dd641df3b7fd398c72a38e766ecfb8a47991ef7d
PHP
nguyentranchung/hocvps
/package/administrator/hocvps/User.php
UTF-8
945
3.28125
3
[]
no_license
<?php class User { /** * @var string */ private $_username; /** * @var string */ private $_password; /** * @param string|array $data */ public function __construct($data) { if (is_array($data)) { $this->setUsername($data['username']); $this->setPassword($data['password']); } else { li...
true
0791f62342c3d26f445c487a25b87eec73730e97
PHP
eceterak/weeliez-core
/models/brand_model.php
UTF-8
2,068
2.96875
3
[]
no_license
<?php namespace models; /** * @file brand_model.php * @author Marek Bartula <bartula.marek@gmail.com> */ class brand extends \model { /** * Default action. Display all brands and show how many brands displaying. * Group brands by its first letter. */ public function index() { $this->db->g...
true
7706378af6f21add82a3da49789a162e74843cf8
PHP
DarrenRainey/Sticky-Notes-Database
/server.php
UTF-8
363
2.671875
3
[]
no_license
<?php $db = new SQLite3('notes.db'); $results = $db->query('SELECT notes FROM notes'); $allNotes = array();; while ($row = $results->fetchArray()) { $allNotes[] = $row; } if( isset($_GET['addNote']) == true){ $query = 'INSERT INTO notes VALUES (\'' .$_GET['addNote'] . '\')'; $addDB = $db->query($query); echo "OK"; }...
true
883316ad7a4e99e3f654f9d76e1c6b4a97f232aa
PHP
Wuuux/tlustaCopy
/php/updateprogram.php
UTF-8
2,035
2.59375
3
[]
no_license
<?PHP // data form program.html // server settings require './link.php'; if (!$link) { echo "Error: Unable to connect to MySQL." . PHP_EOL; echo "Debugging errno: " . mysqli_connect_errno() . PHP_EOL; exit; } //receiving data $id = $_POST['id']; $ty...
true
7a3e047a2748b89a15a2092f7bbb18da401ec585
PHP
thetooi/openTracker
/library/Main.php
UTF-8
4,186
2.71875
3
[ "MIT" ]
permissive
<?php /** * Copyright 2012, openTracker. (http://opentracker.nu) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @link http://opentracker.nu openTracker Project * @license MIT License (http://www.opensource.org/licenses/mit-license.php) ...
true
127e936b6b46c835bb1128b1caed1873ed7a688c
PHP
gustavonecore/lautaro
/src/App/Controller/BaseController.php
UTF-8
2,933
2.578125
3
[]
no_license
<?php namespace Leftaro\App\Controller; use DI\Container; use Gcore\Sanitizer\Template\TemplateSanitizer; use Gcore\Sanitizer\Template\TemplateInterface; use Leftaro\Core\Controller\AbstractController; use Leftaro\App\Exception\MissingParameterException; use Zend\Diactoros\Response; use Zend\Diactoros\ServerRequest; u...
true
42643e043ad0d54dc0a846648ab095edf54adfe4
PHP
philipretl/SgdChildProgramming
/database/migrations/2019_03_06_220039_create_expert_table.php
UTF-8
811
2.515625
3
[ "MIT" ]
permissive
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateExpertTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('expert', functio...
true
3270dc5ffe6589ba4b909395c5fe4d6f1609e3a8
PHP
marphi/PHPPdf
/tests/Formatter/TableColumnWidthFormatterTest.php
UTF-8
2,424
2.640625
3
[ "MIT" ]
permissive
<?php use PHPPdf\Formatter\TableColumnWidthFormatter, PHPPdf\Document; class TableColumnWidthFormatterTest extends TestCase { private $formatter; private $objectMother; protected function init() { $this->objectMother = new TableObjectMother($this); } public function setUp() {...
true
81715d85f0d13a47ec6ff4d3fdfc3dabb4217858
PHP
afup/web
/sources/AppBundle/Slack/LegacyClient.php
UTF-8
829
2.703125
3
[]
no_license
<?php namespace AppBundle\Slack; class LegacyClient { private $token; public function __construct($token) { $this->token = $token; } public function invite($email) { $return = file_get_contents(sprintf("https://slack.com/api/users.admin.invite?token=%s&email=%s", $this->token...
true
1b449474b33b5ad3dc691b0e668c9b7c2c4dd9ca
PHP
nurullahisik/parampos-php
/vendor/parampos/SaleWithToken.php
UTF-8
4,031
2.59375
3
[ "MIT" ]
permissive
<?php /** * Created by Payfull. * Date: 10/17/2018 */ namespace param; use param\paramBasics\TP_Islem_Odeme_WKS; use param\paramBasics\SHA2B64; class SaleWithToken extends Sale { /** * Sale constructor. * @param $clientCode: Terminal ID, It will be forwarded by param. * @param $clientUsername: ...
true
6ee3cfb75ceecd72ef1d33555838c276fc11bd67
PHP
clararoman/Hungry-bubbles-php
/appliedweb 2/login.php
UTF-8
2,249
2.703125
3
[]
no_license
<?php session_start(); ini_set("display_errors", 1); error_reporting(E_ALL); include("config.php"); include("header.php"); @ $db = new mysqli($dbserver, $dbuser, $dbpass, $dbname); if ($db->connect_error) { echo "could not connect: " . $db->connect_error; exit(); } ?> <!DOCTYPE html> <html> <head> <tit...
true
7b157fc7adaa8643406d7ec328017ebd3ed9b6e2
PHP
tim-field/thefold-library
/src/TheFold/WordPress/Admin/Field.php
UTF-8
1,299
2.625
3
[]
no_license
<?php namespace TheFold\WordPress\Admin; abstract class Field{ protected $name; protected $label; protected $type; protected $post_type; function __construct($name, $label, $post_type, $show_column=true, $type='CHAR') { $this->name = $name; $this->label = $label; $thi...
true
90daa2135b53a9bf928373eab9b00c49445a6df9
PHP
arnarfjodur/place-to-experiment-api
/src/Http/DiscourseSSO.php
UTF-8
878
2.703125
3
[ "MIT" ]
permissive
<?php namespace Karolina\Http; Class DiscourseSSO { private $secret; private $sso; private $payload; public function __construct () { $this->sso = new \Cviebrock\DiscoursePHP\SSOHelper(); } public function validatePayload ($payload, $signature) { if ($this->sso->validatePayload($payload, $signature))...
true
2132deefcbd2d1bd6bb14413055fe2baac088ec3
PHP
OpenMageModuleFostering/techtwo_mailplus
/app/code/community/Techtwo/Mailplus/Client/Contact/Property.php
UTF-8
1,597
2.640625
3
[]
no_license
<?php /* * Copyright 2014 MailPlus * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
true
7b86c663f71c20f9b079da6e82c95ed105819b72
PHP
codelight-eu/logger
/example/log.php
UTF-8
591
2.671875
3
[]
no_license
<?php include "../vendor/autoload.php"; use Codelight\Logger; use Codelight\Service\GrayLog; try { /** @var GrayLog $logger */ $logger = new Logger(new GrayLog('logs.codelight.eu')); $logger->setVersion(1) ->setHost('localhost') ->setLevel(1) ->setUserId(12) ->setPayload(...
true
089acbcde6c063b34d1e8f6adf9d043f0ffe10dd
PHP
muk4/VideoArchiver
/lib/Color.php
UTF-8
748
3.546875
4
[]
no_license
<?php /** * Helper class that handles console colors. */ class Color { const GRN = "\033[92m"; const BLD = "\033[01m"; const RED = "\033[01;31m"; const YEL = "\033[01;33m"; const END = "\033[0m"; /** * Returns green hashtag used as list marker. * @return string ...
true
ae52fab5740f67dc3e808ffeb5a241f6e9b42147
PHP
Brokeos/Plugin-Shop
/src/Controllers/CartController.php
UTF-8
2,212
2.53125
3
[ "MIT" ]
permissive
<?php namespace Azuriom\Plugin\Shop\Controllers; use Azuriom\Http\Controllers\Controller; use Azuriom\Plugin\Shop\Cart\Cart; use Azuriom\Plugin\Shop\Models\Package; use Illuminate\Http\Request; class CartController extends Controller { /** * Display the user cart. * * @param \Illuminate\Http\Requ...
true
27431edf9b049e5104f9b870af7c513eee683494
PHP
moakprojects/offtopic
/resources/controllers/userController.php
UTF-8
30,237
2.65625
3
[]
no_license
<?php session_start(); include "../../config/connection.php"; include "../../database/selection.php"; include "../../database/insertion.php"; include "../../database/modification.php"; include "../../database/deletion.php"; include "../../database/event.php"; include "../classes/User.php"; include "../classes/Image.php...
true
6356c514c1f1de402ba8f97b9f9beb1e820993cd
PHP
Nike682631/php-project
/app/helpers.php
UTF-8
1,317
2.53125
3
[ "MIT" ]
permissive
<?php use App\Category; use Illuminate\Support\Facades\Request; function is_current_category($routeCategory, $loopCategory) { $class = ''; if ( $routeCategory ) { if( $routeCategory == $loopCategory) { $class = 'expanded'; } $categoryObject = Category::find($loopCategory); foreach($categoryObject->child...
true
f6482b5eecc44be61343ad3e4a6c78a88cc36977
PHP
stefannygard/mydrawings-back
/app/controllers/DrawingController.php
UTF-8
1,973
2.546875
3
[ "MIT" ]
permissive
<?php class DrawingController extends \BaseController { public function __construct() { //$this->beforeFilter('serviceAuth'); //$this->beforeFilter('serviceCSRF'); $this->beforeFilter('editDrawing', array('only'=>array('postSave','postRemove'))); $this->beforeFilter('auth', array('o...
true
0ee2a5ed45d0252f4fd85e79c7d61849bba6a290
PHP
mlsimpson/codesnippets
/htaccess.php
UTF-8
3,758
2.890625
3
[]
no_license
<?php // 2009 Paul Reinheimer // http://blog.preinheimer.com/index.php?/archives/340-.htaccess-to-httpd.conf.html // No warranties expressed or implied // Special thanks to Rich Bowen http://drbacchus.com/ //Improvements? Let me know! Bugs? Send a patch. //Unsupported Software lies below. /* Example Usage: * /var...
true
b0d836300dc3fe3247dd4d38201ab2bb2ef4cb80
PHP
iswins/iq_devs_orders
/app/Repositories/StatusRepository.php
UTF-8
1,207
2.828125
3
[]
no_license
<?php /** * Created by v.taneev. */ namespace App\Repositories; use App\Models\Status; class StatusRepository { protected static $statuses = []; /** * @param $code * @return Status */ protected static function getStatusByCode($code) { if (isset(static::$statuses[$code])) { ...
true
591139f68ccd95b0226a2ecc920df1e380e7cc46
PHP
Sarkel/Project-db-1
/Back-end/App/Models/ApiModel.php
UTF-8
3,750
2.625
3
[]
no_license
<?php /** * Created by PhpStorm. * User: Sebastian Kubalski * Date: 29.12.2015 * Time: 23:08 */ namespace App\Models; use App\Exceptions\CustomException; use App\Wrappers\EndpointComparerResponseWrapper; use App\Wrappers\ResponseWrapper; class ApiModel { private $requestMethod; private $endPoint; p...
true
7ad7dbfbaea844f544802074a2b7ec76ca967c38
PHP
codenetix-ltd/social-media-importer
/src/Entities/Media.php
UTF-8
3,125
2.90625
3
[ "MIT" ]
permissive
<?php namespace Codenetix\SocialMediaImporter\Entities; use Codenetix\SocialMediaImporter\Contracts\MediaInterface; /** * @author Andrey Vorobiov<andrew.sprw@gmail.com> */ class Media implements MediaInterface { /** * @var string $id */ private $id; /** * @var string $sourceType */...
true
7295c64b05a282a68702e16e6669fc7907f7866a
PHP
K0rINf/prs3
/api/src/Parser/Branch.php
UTF-8
1,016
3.046875
3
[ "MIT" ]
permissive
<?php namespace App\Parser; use App\Parser\Driver\DriverInterface; /** * Class Branch * * Это граф всех actions которые должны выполнится в одном общем контексте. * Ветка имеет общий контекст выполнения для всех actions. * * @package App\Parser */ class Branch { protected $context; protected $actions;...
true
b1a15d35365a220bd643ff3c005f861f5cf998c1
PHP
tylernathanreed/laravel-relation-joins
/src/RelationJoinQuery.php
UTF-8
14,457
2.515625
3
[ "MIT" ]
permissive
<?php namespace Reedware\LaravelRelationJoins; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasManyThrough; use Il...
true
3fd3b857421b2c7bd35af13dd2717fdd41a77fd8
PHP
Fuminshou/variousExercises
/FMG_MVC2/ArchiveModel.php
UTF-8
712
3.234375
3
[]
no_license
<?php class ArchiveModel { public $filename; public function __construct($filename) { $this->filename = $filename; } /* archivio */ public function formattaMail(array $mails) { foreach($mails as $mail) { $arr[] = str_replace("\r", "<...
true
66de305f07f328c68d0e0341509e312119b18749
PHP
HochschuleLuzern/EventoImport
/classes/import/data_management/import_data/model/IliasEventoParentEvent.php
UTF-8
1,352
2.796875
3
[]
no_license
<?php declare(strict_types = 1); namespace EventoImport\import\data_management\repository\model; class IliasEventoParentEvent { private string $group_unique_key; private int $group_evento_id; private int $ref_id; private string $title; private int $admin_role_id; private int $student_role_id; ...
true
d9742287136ff880d500c0ad01f5216f0df7f83e
PHP
leonjuin/citypath
/app/Models/LogUpdate.php
UTF-8
924
2.59375
3
[ "MIT" ]
permissive
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class LogUpdate extends Model { public $table = 't9412_log_update'; protected $fillable = ['user_type', 'user_id', 'table_name', 'table_id', 'content_from', 'content_to']; public static function updateLog($table_name, $table_id, $conten...
true
e9e78d4bd148548d1bb3676a2efa32c8608a2097
PHP
adam-beneschan/OceanEvaluation
/oce_sessreport.php
UTF-8
5,779
2.515625
3
[]
no_license
<?php require('confconfig.php'); // sets up $sessconfig require('fpdf.php'); require('ocereport.php'); global $pdf; $pdf = new OCEReport(); $pdf->AddPage(); $text_size = 10; $pdf->SetFont('Times','I',$text_size); $qcount = count($sessconfig); // number of questions $average_layout = new FieldLayout (); $average...
true
d03ac6ffd1573a66e3270084b241c08b1c6679e4
PHP
junglaCODE/kanboard
/app/Helper/SubtaskHelper.php
UTF-8
3,583
2.5625
3
[ "MIT" ]
permissive
<?php namespace Kanboard\Helper; use Kanboard\Core\Base; /** * Subtask helpers * * @package helper * @author Frederic Guillot */ class SubtaskHelper extends Base { public function getTitle(array $subtask) { if ($subtask['status'] == 0) { $html = '<i class="fa fa-square-o fa-fw"></i>...
true
c53e0f31be159a425e0445907fb561bcf3fe6eb5
PHP
WDB40/WDV341
/WDV341/FinalProject/BookValidator.php
UTF-8
1,540
3.21875
3
[]
no_license
<?php class BookValidator { private $MAX_NAME_LENGTH = 25; private $MAX_TITLE_LENGTH = 50; private $MAX_GENRE_LENGTH = 25; private $MAX_DESC_LENGTH = 100; public function __construct() { } public function validateName($name){ $validName = true; if($this->isEmpty($nam...
true
06f80337460aa33115d179ed4d3743f40b43803e
PHP
cosiso/dsa
/public/db.inc.php
UTF-8
2,022
2.84375
3
[ "MIT" ]
permissive
<?php # Version 1.0 # Declares class and instantiate it as db class db { var $dbh; // database handle function db() { global $dbname; $this->dbh = pg_connect('dbname=dsa') or die('Could not connect to database'); } function do_query($qry, $die=true) { $rid = @pg_query($this->dbh, $qry); ...
true
7be4a4a140bb08309d8101e20b112b3210d0c63b
PHP
pzotov/beejee
/.app/models/Task.php
UTF-8
3,255
3.109375
3
[]
no_license
<?php namespace app\models; /** * Модель для работы с задачами * Class Task * @package app\models */ class Task extends \app\base\Model { const IMAGE_MAX_WIDTH = 320; const IMAGE_MAX_HEIGHT = 240; protected static $allowed_types = [ IMAGETYPE_GIF => 'gif', IMAGETYPE_JPEG => 'jpg', IMAGETYPE_PNG => 'png'...
true
11c9fb73da2b056a7b4ad266a0e181ecce7e12e2
PHP
oojamoo-H/jam-lumen
/app/Tools/Redis/RedisFactory.php
UTF-8
1,590
2.8125
3
[]
no_license
<?php namespace App\Tools\Redis; use Illuminate\Contracts\Redis\Factory; use InvalidArgumentException; class RedisFactory implements Factory { protected $_driver; protected $_connections; protected $_config; protected const PHP_REDIS_DRIVER = 'phpredis'; protected const P_REDIS_DRIVER = 'pred...
true
247631fb9999806f6e079dda3495198acde60f02
PHP
mithredate/applying-ddd
/src/OrderSystem/RealOrder.php
UTF-8
4,674
2.71875
3
[]
no_license
<?php /** * Filename: OrderSystem. * User: Mithredate * Date: Jul, 2018 */ namespace Mithredate\DDD\OrderSystem; use DateTime; use Mithredate\DDD\Misc\ApplicationException; use Mithredate\DDD\Rules\BrokenRuleCollector; use Mithredate\DDD\Rules\DateIsInRangeRule; use Mithredate\DDD\Rules\MaxStringLengthRule; cla...
true
bd2fcd1e9a7e9b3b95a5cd946e57d323408648dd
PHP
jonvillegb2ei/b2ei-energy-monitor
/app/Http/Controllers/SettingsController.php
UTF-8
4,208
2.640625
3
[]
no_license
<?php namespace App\Http\Controllers; use App\Http\Requests\Settings\SetIpAddressRequest; use App\Libraries\SystemUtils; use Symfony\Component\Process\Process; class SettingsController extends Controller { /** * Show settings main page. * * @return \Illuminate\Http\Response */ public func...
true
07daefdad26f1d84799154aaf5b770085c2b5b2b
PHP
BaileeD/Web-Development-Labs
/lab03/perfectpalindrome.php
UTF-8
620
3.8125
4
[]
no_license
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Using string functions</title> </head> <body> <h1>Web Development – Lab 3</h1> <?php if (isset ($_POST["palin"])){ $pal = $_POST["palin"]; $pal = strtolower($pal); $palrev = strrev($pal); if (str...
true
038d629e33e899bd38d641423af7bb6fb7ae44c6
PHP
dykyi-roman/TravelCard
/src/Services/Response/ResponseDataExtractor.php
UTF-8
863
2.875
3
[ "MIT" ]
permissive
<?php namespace Dykyi\Services\Response; use Psr\Http\Message\ResponseInterface; /** * Class ResponseDataExtractor * @package Dykyi\Services\Response */ class ResponseDataExtractor implements ResponseDataExtractorInterface { /** * @param ResponseInterface $response psr-7 compliant result of http request...
true
620a2f5aa4e70fb7e3c1ecfa33f37930316ea450
PHP
ttlxihuan/laravel-crbac
/src/Database/Tables/crbac____table_power_menu_level.php
UTF-8
917
2.578125
3
[]
no_license
<?php use Illuminate\Database\Schema\Blueprint; use Laravel\Crbac\Database\Migration; class TablePowerMenuLevel extends Migration { //表名 protected $table = 'power_menu_level'; //是否添加时间字段 protected $timestamps = false; /** * 添加字段列 * @param Blueprint $table */ public function se...
true
79b01ebf4e064ecbe87f6d88c636f2c8c9da6e4b
PHP
bakert/compareweather
/config.php
UTF-8
1,211
3.21875
3
[ "MIT" ]
permissive
<?php // Configuration information loaded from a file. class Config { const CONFIG_FILE = 'config'; const DIVIDER = ' = '; protected static $config; protected static function init() { $path = __DIR__ . '/' . static::CONFIG_FILE; if (!file_exists($path)) { throw new Excepti...
true
28914799ad576ab2c2d66b459f71248fd45b4006
PHP
neusdq/www
/application/models/wechat_model.php
UTF-8
5,089
2.578125
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php /* * 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. */ /** * Description of wechat_model * wechat 管理 */ class wechat_model extends CI_Model { private $_wechat_t...
true
9e32cdb35c746e3df9cdb327e859ade637cc39bb
PHP
nguyenkhanhvan/FO-PHP01
/manglonnhat.php
UTF-8
227
3.109375
3
[]
no_license
<?php $array = [ 1,4,2,6,9,100,45,8,20 ]; $max = null; for ($i = 0; $i < count($array); $i++) { if ($array[$i] > $max){ $max = $array[$i]; } } echo "Giá trị lớn nhất là $max"; ?>
true
cfb8d1d9b937d860b3364eaa588b4500f73f5181
PHP
ElGringov2/RebellionServer
/mission.php
UTF-8
17,122
2.765625
3
[]
no_license
<?php class Mission { /** * @DatabaseType text * @DatabaseName name */ public $Name; /** * @DatabaseType int(10) * @DatabaseName id * @DatabasePrimary */ public $DatabaseID = -1; /** * @DatabaseType text * @DatabaseName desc */ public $Des...
true
bff962718a369cdaa5e40c37dc3ae6c8d6e36446
PHP
Nemleon/moviesApp
/applications/controllers/movies/AddMoviesFromFileController.php
UTF-8
10,110
2.71875
3
[]
no_license
<?php namespace applications\controllers\movies; use applications\controllers\Interfaces\AbstractGeneralController; use applications\models\DB\Models\Model; use applications\models\Validators\FileValidator; use applications\models\Validators\Validator; class AddMoviesFromFileController extends AbstractGener...
true
065409a3c14407a7e8bb2fcf2225c20aea199079
PHP
shadowdarkcat/Aestre
/com/aestre/system/model/bean/BeanDispositivo.php
UTF-8
740
2.859375
3
[]
no_license
<?php /** * Description of BeanDispositivo * * @author ShadowDarkCat */ class BeanDispositivo { //<editor-fold defaultstate="collapsed" desc="Campos de Clase"> private $idDispositivo; private $dispositivo; //</editor-fold> //<editor-fold defaultstate="collapsed" desc="Accesores"...
true
7735b4322b138abe3413f66d96166e37aa14165e
PHP
radhitee/WhatsAPI-1
/src/WhatsAPI/Message/Event/NodeEvent.php
UTF-8
849
2.890625
3
[]
no_license
<?php namespace WhatsAPI\Message\Event; use WhatsAPI\Client\Client; use WhatsAPI\Message\Node\NodeInterface; class NodeEvent extends AbstractEvent { /** * @var NodeInterface */ protected $node; /** * @param Client $client * @param NodeInterface $node */ public functio...
true
699890123eb2d2073e1d97ce32c8657989dd6ca2
PHP
ArtursBaskov/my-first-website
/Classes/CommentSection.php
UTF-8
2,936
2.671875
3
[]
no_license
<?php namespace kvd\Classes; use \PDO; class CommentSection extends DbPDO { public function commentQuery() { //posts from ajax function $uznName = $_POST['uzn_name']; $uznID = $_POST['uzn_id']; $authID = @$_SESSION['sess_user_id']; $authName = @$_SESSION['sess_user_name']; $commText = htmls...
true
2a9789f5b89dde412981da367cc3d8e08bff7ac6
PHP
gabrieledarrigo/weekly-offers
/src/Model/Product.php
UTF-8
1,361
3.03125
3
[ "MIT" ]
permissive
<?php namespace Darrigo\WeeklyOffers\Model; use Darrigo\WpPluginUtils\Model\ViewModel; /** * Class Product * @package Darrigo\WeeklyOffers\Model * @author Gabriele D'Arrigo - darrigo.g@gmail.com */ final class Product extends ViewModel { /** * @var int */ protected $id; /**...
true
1e19d92a0a1953f5b8d984352d45fa8707b195af
PHP
Sari27/Projet3A_BDD_Maison_Econome
/modele/requetes.afficher_ajouter_ressources.php
UTF-8
1,098
2.53125
3
[]
no_license
<?php // Appel du fichier déclarant mysqli_ include("modele/connexion.php"); /** * Affiche les différentes ressources * @param mysqli_ $bdd * @return array */ function afficherRessources(mysqli $bdd){ $query = 'SELECT * FROM matiere'; return mysqli_query($bdd, $query); } function afficherStat(mys...
true
2eff35af487f59aa2b3914dfa3b95388bb8d8028
PHP
assemrh/php
/ornek003.php
UTF-8
184
3.015625
3
[]
no_license
<pre> <?php /* pathinfo(), file_exists() */ $dosya = 'd:/data/liste.txt'; if (file_exists($dosya)) { print_r(pathinfo($dosya)); } else { echo "'$dosya' mevcut değil!"; }
true
2d727f99143cdf8d699251e3142243b10a86899b
PHP
yangweii/Workerman-chat
/example/chat/server-test.php
UTF-8
2,339
2.828125
3
[]
no_license
<?php //本机IP是10.211.55.13 //需要监听的端口是 9090 use Workerman\Connection\AsyncTcpConnection; use Workerman\Worker; require 'workerman/Autoloader.php'; $clients = []; //保存客户端信息 // 创建一个Worker监听9090端口,使用websocket协议通讯 $ws_worker = new Worker("websocket://10.211.55.13:9090"); // 启动4个进程对外提供服务 $ws_worker->count = 4; // 当收到...
true
5acb96ad0f2c3bc0682b91b40b7edf91a952ac2f
PHP
swanyriver/database-Final-Project
/buildboardsql.php
UTF-8
3,814
2.765625
3
[]
no_license
<?php ini_set('display_errors', 'On'); header('Content-Type: text/html'); include "storedInfo.php"; //contains hostname/username/password/databasename include "globalConstants.php"; include "sqloperationfunctions.php"; if(!isset($_POST['board_name']) || $_POST['board_name']==''){ fishy('you must set a name','build'...
true
5b437ad9fca38848ceb29c2ce24611592d55470e
PHP
m9rco/hadoop-php
/src/Kernel/Providers/DatabasesServiceProvider.php
UTF-8
1,125
2.515625
3
[ "MIT" ]
permissive
<?php namespace PHPHadoop\Kernel\Providers; use PHPHadoop\Kernel\Exceptions\Exception; use Pimple\Container; use Pimple\ServiceProviderInterface; use Illuminate\Database\Capsule\Manager; /** * DatabasesServiceProvider * * @date 2019-06-17 * @package PHPHadoop\Kernel\Providers * @version 1.0 */ class D...
true
30b793337535bdd35d603b5ee915a6671e2b35aa
PHP
thanhnhieu1998/test
/5.php
UTF-8
875
3.390625
3
[]
no_license
<?php $course = array("PHP", "Java", "Javascript", "C#"); print_r($course); echo '</br>'; function removeItems(&$array, $location = "first", $total = 2){ $result = array(); if(!empty($array)){ if($total >= count($array)){ $result = "null"; }else{ if($location == "first...
true
ee961da5150bca23cc8cbbbee6b43f2387637938
PHP
enriks/mouyo-2.0
/admin/lib/verificador.php
UTF-8
681
2.546875
3
[]
no_license
<?php class verificador { public static function permiso1($permisos) { if(isset($permisos)!=1) { header("location: ../main/denied.php"); } } public static function permiso2($permisos) { if(isset($permisos)!=2) { header("location: ../ma...
true
146c0b9b695f3cd3846a5732e49330be8cc0ff60
PHP
HecFranco/pf_course_s4
/src/Controller/AuthenticationController.php
UTF-8
2,792
2.578125
3
[]
no_license
<?php namespace App\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\Security\Http\Authentication\AuthenticationUtils; use Symfony\Component\HttpFoundation\Request; use Sy...
true
78766e85ad90e339ae756e079ece4641f8e82c78
PHP
Anmolgarg703/ServerFiles_Capstone
/dataCollection.php
UTF-8
1,846
2.625
3
[]
no_license
<?php function addEntryToDatabase($requestJson){ include "config.php"; $latitude = $requestJson->latitude; $longitude = $requestJson->longitude; $accelerometerX = $requestJson->accelerometerX; $accelerometerY = $requestJson->accelerometerY; $accelerometerZ = $requestJson->accelerometerZ; $magnetometerX = $r...
true
0efff63a2f381535bd6cfd5bfc46c916434f36d2
PHP
yuyafukuchi/fujisoba
/src/Model/Entity/SalesTransaction.php
UTF-8
1,663
2.546875
3
[]
no_license
<?php namespace App\Model\Entity; use Cake\ORM\Entity; /** * SalesTransaction Entity * * @property int $id * @property int $store_id * @property \Cake\I18n\FrozenTime $transaction_date * @property int $menu_id * @property int $menu_number * @property string $menu_name * @property int $qty * @property int $c...
true
bb2ee09d038249458629ea3d6e639d438c299ba9
PHP
jedeyejed00/TheGameShaq
/HomeWork4/quote_process.php
UTF-8
966
3.375
3
[]
no_license
<?php $tester = $_POST['tester']; //if (empty($tester)) { // echo "Name is empty"; //} else { // echo $tester; //} $tester = array("$tester"); echo "Your original text is :"; echo $tester; sort($tester); //echo "Your original text is :"; //echo count($tester); //krsort($tester); //for ($i ...
true
d589524e87c8ae0e74b46d769c65d4c9f8e1cc8c
PHP
technigit/php-story
/classes/Game.php
UTF-8
4,349
3.25
3
[]
no_license
<?php class Game { private $turns = 20; // prevent endless battles public $is_running = true; private $first_attack = true; private $orderus_attacks; public function __construct($ui, $narration) { $this->ui = $ui; $this->narration = $narration; $this->winner = new stdC...
true
d1625611b95f0e6268ba1e9a19958aea37cfca3d
PHP
xjjddhjy/tp5_guanli
/application/common/controller/AdminBase.php
UTF-8
725
2.5625
3
[ "Apache-2.0" ]
permissive
<?php namespace app\common\controller; use think\Controller; // Session类 use think\Session; // 继承了tp的控制器 /* 公共控制器为了我们有一些代码是所有控制器都要用 防止代码重复性 为什么继承tp的控制器 因为我们继承tp的控制就不用写其他类,一些方法,直接可以用tp的 */ class AdminBase extends Controller { public function _initialize() { $logi...
true
6c652d8172b614b657779de3d1d5395653b04692
PHP
ngan-joseph/ngan-joseph
/Etape1/Modele.php
UTF-8
1,420
2.90625
3
[]
no_license
<?php //Retourne la liste des eleves de la table function getEleves(){ $bdd = getBdd(); $eleves = $bdd->query('select cne,nom,prenom,etat,Photo from eleves'); return $eleves; } //Permet la création àla base de données et retourne l'objet PDO associé function getBdd() { $bdd = new PDO('m...
true
3096ec32bae827c719df091e6478d0b994967e2e
PHP
goodjinny/sre-app
/src/Controller/API/V10/GetUploadStatusAction.php
UTF-8
2,147
2.546875
3
[]
no_license
<?php declare(strict_types=1); namespace App\Controller\API\V10; use App\Entity\FileUpload; use App\Http\Client\DebrickedApiClient; use App\Repository\FileUploadRepository; use App\Traits\EntityManagerTrait; use App\Traits\SerializerTrait; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\Rout...
true
6d9af2b3613a60e928bc5d6c17716862dcef2711
PHP
bartito24/intership
/modelo/mdl_visita.php
UTF-8
1,657
2.765625
3
[]
no_license
<?php require("conexion.php"); class mdl_visita { private $id_visita; private $id_pasantia; public $fecha; public $observaciones; public $latitud; public $longitud; public $id_estudiante; public $obj_con; function __construct() { $this->id_visita = 0; $this->id_e...
true
09247d51baf0395fd2913bcc508f722238563a9e
PHP
g4code/repository
/src/Repository.php
UTF-8
1,835
2.859375
3
[ "MIT" ]
permissive
<?php namespace G4\Repository; class Repository { private $adapters = []; public function __construct() { } public function addAdapter(Adapters\AdapterInterface $adapter) { if(isset($this->adapters[$adapter->getPriority()])){ throw new \Exception('Change adapter priorit...
true
ff6f1fea1cc27790190d4aa34913012af91c9861
PHP
latheeshgeorge/Testings
/testings/copy_customers_bak33333/purogusto_tosite/import_category_parent.phpbak333
UTF-8
1,246
2.53125
3
[]
no_license
<?php include_once('header.php'); $import_cat_map = 'map/category_map.csv'; $fp_cat = fopen($import_cat_map,'r'); if (!$fp_cat) { echo "Cannot open the file map"; exit; } $i = 0; $row_i = 1; $cat_arr = array(); while (($data = fgetcsv($fp_cat, 1000, ",")) !== FALSE) { if($i!=0) { $cat_arr[$...
true
804068bcc76df5454684e959d22ca5991a336c0e
PHP
KrasimiraGeorgieva/PHP-Web-Tasks
/OOP FUNDAMENTALS PART II - EXERCISES/03.WildFarmHierarchy/Zebra.php
UTF-8
407
3.234375
3
[ "MIT" ]
permissive
<?php class Zebra extends Mammal { public function makeSound() { echo 'Zs'. "\r\n"; } public function eatFood(Food $food, $foodType) { $this->makeSound(); if ($food->getFoodType() != 'Vegetable'){ echo 'Zebra are not eating that type of food!'; ...
true
521f97aa4669bde98c0429d2d576495aee0dd19e
PHP
Scaledesk/rsync
/grit_old/app/Api/Transformers/AddonTransformer.php
UTF-8
687
2.609375
3
[ "MIT" ]
permissive
<?php namespace App\Api\Transformers; use App\Addon; use League\Fractal\TransformerAbstract; class AddonTransformer extends TransformerAbstract { /** * Turn this item object into a generic array. * * @param $item * @return array */ protected $defaultIncludes = [ ]; ...
true
6e1b3e0f53888661f9758b9267b0dcf84eda9e18
PHP
BinhPhuongIT/wp-themes
/jobhouse/config-templatebuilder/avia-shortcodes/jobmanager_submit_form.php
UTF-8
2,730
2.71875
3
[]
no_license
<?php /** * WP Job Manager - Job Submit Form */ // Check if WP Job Manager is installed if( !class_exists( 'WP_Job_Manager' ) ) { add_shortcode('av_job_submit_form', 'avia_please_install_wpjm'); return; } // Populate the backend shortcode options if ( !class_exists( 'avia_sc_job_submit_form' ) ) { class avia_sc_...
true
6c0413d8ba4b3401fd1bb05040899b5e29cc52ad
PHP
cunzai99/larkblog
/app/modules/admin/model/user.php
UTF-8
2,117
2.75
3
[]
no_license
<?php use Lark\core\Model; /** * 用户操作model类 * * 此类是应用程序和数据库通信枢纽,为应用层提供数据层接口 * * * @category Lark * @package Lark_Model * @author cunzai99 <cunzai99@gmail.com> * @version $Id: user.php v1.0.0 2014-06-16 $ * @copyright * @license */ class user extends Model { protected $_pk = 'id'; ...
true
dc786032fcf3e552f23568808858aa83e40a57ce
PHP
MuskanSinghal/Video-Library-Website
/getSLink.php
UTF-8
488
2.71875
3
[ "Apache-2.0" ]
permissive
<?php extract($_GET); $file=fopen("VideoSLink.txt","r"); while(($data_from_file=fgets($file))!==false)//gets the data line by line { $line=trim($data_from_file); //trim $value=explode(";",$line); //get one line and separate it by ; if($search==$value[0]) //if the card_id matches with the entry in the f...
true
8712c6e12f2db822b1b4c1e890a30cb58382200f
PHP
hninthetds501/3as
/6newoperators.php
UTF-8
606
3.15625
3
[]
no_license
<?php $a=20; $b=10; $c=10; $bol1=true; $bol2=false; var_dump($a<=>$b); //1 var_dump($b<=>$a); //-1 var_dump($c<=>$b); //0 var_dump($bol1 and $bol2); //false var_dump($bol1 or $bol2); //true var_dump(!$bol1); //false var_dump(!$bol2); //true //$arr=[red,green,blue]=>key->index $color1=array("r"=...
true
aec9dcbd3fd9bb63550ffa986f2486ed308b785b
PHP
apuc/kmroot
/app/System/src/Data/Comment.php
UTF-8
5,455
2.53125
3
[]
no_license
<?php namespace Kinomania\System\Data; /** * Class Comment * @package Kinomania\System\Data */ class Comment { static public function print(&$commentList, $level = 0) { foreach ($commentList as $comment) { if (isset($comment[\Kinomania\Original\Key\Comment\Comment::TEXT])) { ...
true
0ac3dc757fe56de86d2d8c76ea5447c59ab5e237
PHP
amirhs712/nope
/src/StringParser.php
UTF-8
616
3.078125
3
[ "MIT" ]
permissive
<?php namespace Amirhs712\RuleBuilder; class StringParser implements Parser { public function parse($name, $arguments = null) { return $this->parseRuleAsString($name, $arguments); } private function parseRuleAsString($name, $arguments = null) { $arguments = $this->parseToString(...
true
5a4c45874ed34742e082d88584cfb3f03be4e979
PHP
mimol91/neo4j-demo
/src/App/CoreBundle/DTO/PersonDtoFactory.php
UTF-8
624
2.640625
3
[ "MIT" ]
permissive
<?php namespace App\CoreBundle\DTO; use App\CoreBundle\Entity\Person; use HireVoice\Neo4j\EntityManager; use HireVoice\Neo4j\Repository; class PersonDtoFactory { /** @var Repository */ private $repository; /** * @param EntityManager $entityManager */ public function __construct(EntityManag...
true
c14faf38a019f3c73d8c9ab5968ab7dbcd5f8266
PHP
nhedman/OBList-Recyclable
/Persistence/OBList.SelectFactory.php
UTF-8
710
2.953125
3
[]
no_license
<?php class SelectFactory { function newSelect(IdentityObject $obj) { $table = $obj->targetClass(); //add join functionality $fields = implode( ',', $obj->getObjectFields()); $core = "SELECT $fields FROM $table"; list($where, $values) = $this->buildWhere( $obj ); return array( $core . " " . $where, $values...
true
67df248f1a198a3863a85e0efba33de8f60d565d
PHP
wmsamolet/object-map
/src/Collection/Data/ClassNameCollection.php
UTF-8
1,280
2.90625
3
[ "MIT" ]
permissive
<?php namespace Wmsamolet\ObjectMap\Collection\Data; use Wmsamolet\PhpObjectCollections\AbstractTypedCollection; use Wmsamolet\PhpObjectCollections\Exceptions\CollectionException; use Wmsamolet\ObjectMap\Domain\Entity\ObjectElement; /** * @method string[] getList() * @method null|string get(int $key) * @method nu...
true
506e336eab44197812baf16bf93a8d466de95eec
PHP
crazy-boy/PHP-Codes-Segment
/Math.php
UTF-8
616
3.953125
4
[]
no_license
<?php class Math { /** * Given a non-negative integer c, this function is to decide whether there're two integers a and b such that a2 + b2 = c. * 判断一个数是否为两个数的平方和 * @param Integer $c * @return Boolean */ function judgeSquareSum($c) { $i = 0; $j = (int)sqrt($c); ...
true
0f86a2ea54ac982471954274bfb20876d174d91d
PHP
Notengo/Seguro
/clases/ActiveRecord/MysqlClientesActiveRecord.php
UTF-8
6,883
2.8125
3
[]
no_license
<?php include_once 'ActiveRecordAbstractFactory.php'; //include_once '../ValueObject/ClientesValueObject.php'; include_once '../clases/ValueObject/ClientesValueObject.php'; /** * Description of ClientesActiveRecord * * @author ssrolanr */ class MysqlClientesActiveRecord implements ActiveRecord{ /** * ...
true
4656fc491f48de61427da497ad25115b0de29246
PHP
Lechus/ShoppingCartDiscounts
/src/payment/strategy/paymentgatewayinterface.php
UTF-8
240
2.796875
3
[]
no_license
<?php namespace LPP\Shopping\payment\strategy; /** * Class PaymentGatewayInterface * * @author lpp */ interface PaymentGatewayInterface { /** * @param $amount * @return string */ public function pay($amount); }
true
fdc29fe8213db7ab88a696aa8d6d1bf20a244671
PHP
ControlledChaos/sitemore
/includes/classes/autoload.php
UTF-8
2,559
2.859375
3
[]
no_license
<?php /** * Register plugin classes * * The autoloader registers plugin classes for later use. * * @package Site_More * @subpackage Includes * @category Classes * @since 1.0.0 */ namespace SiteMore\Classes\Autoload; // Restrict direct access. if ( ! defined( 'ABSPATH' ) ) { die; } /** * Load cla...
true
3405297cba1c36344d42a408086a6dfbbd7eef82
PHP
tigerzoom99/businessWebsite
/model/employee.php
UTF-8
361
3
3
[]
no_license
<?php function getEmployee() { try { global $db; $query = 'SELECT * FROM employees ORDER BY empNo'; $statement = $db->prepare($query); $statement->execute(); $employees = $statement; return $employees; } catch(PDOException $e) { head...
true
002088c33a883428ef24b451a9d133662f8291dd
PHP
saguilos103195/alice
/todo.php
UTF-8
796
3.359375
3
[]
no_license
<?php $text = file_get_contents('todo.csv'); class Game { public function __construct($text) { } public function categorize($text) { $games = explode("\n", $text); return $games; } public function displaytbl($array, $columns) { echo "<table border=1>"; ...
true
f0a9d9172c50395bc19cd58a126e2eaef4ab3db5
PHP
JoaoGSDC/projetos-faculdade-Einstein-PHP
/projetoAulaWeb2/index.php
UTF-8
7,080
3.015625
3
[]
no_license
<?php if (isset($_POST['resultado'], $_POST['teste1'], $_POST['teste2'])) { $resultado = $_POST['teste1'] + $_POST['teste2']; echo $resultado; // $resultado = $value1 + $value2; //if($sign=='-') { //$result = $value1-$value2; //} ...
true
a9f84284771dbea5e7fbcef901f2324246ccb350
PHP
smeeckaert/controller
/Controller.php
UTF-8
638
2.65625
3
[]
no_license
<?php namespace FW\Controller; use Tools\Arr; abstract class Controller { private $_params = array(); private $_options = array(); protected $_twig; public function __construct() { } public function setParams($params) { $this->_params = $params; } protected functio...
true
07d735de1d72792ff6381daeab0abd9ecc7ebf56
PHP
Alebuntu-NP/IAW_1819
/Estructuras/BASEDEDATOS/DELETE/eliminarfila.php
UTF-8
1,420
3.28125
3
[]
no_license
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Page Title</title> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <?php if (!isset($_POST["cod"])): ?> ...
true
317707759bcaa4fea1f6dacf1ccc6ed6b4929724
PHP
leosuncin/RegistroAcademicoINTI
/src/INTI/RegistroAcademicoBundle/Repository/NotaRepository.php
UTF-8
3,375
2.53125
3
[]
no_license
<?php namespace INTI\RegistroAcademicoBundle\Repository; use Doctrine\ORM\EntityRepository; use INTI\RegistroAcademicoBundle\Entity\Alumno; use INTI\RegistroAcademicoBundle\Entity\Anho; use INTI\RegistroAcademicoBundle\Entity\CodigoEspecialidad; use INTI\RegistroAcademicoBundle\Entity\Especialidad; use INTI\RegistroA...
true
bdbbae059c38ead5ea879b1681ab6f2711dfdbee
PHP
weverson83/magento2_Correios
/Test/Unit/Model/Config/MethodConfigConverterTest.php
UTF-8
2,567
2.6875
3
[]
no_license
<?php /** * Do not edit this file if you want to update this module for future new versions. * * @author Weverson Cachinsky <weversoncachinsky@gmail.com> */ namespace Weverson\Correios\Model\Config; use Magento\Framework\Config\ConverterInterface; use Weverson\Correios\Model\Method\Method; class MethodConfigCo...
true