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
eba1e63ebcb6b0d131bb117fc14bc1aa65bbdeb3
PHP
iwona-j/rectangles
/src/assets/php/GetGame.php
UTF-8
961
2.59375
3
[]
no_license
<?php require_once 'dao/DatabaseConnector.php'; require_once 'service/LoggedUserService.php'; require_once 'service/GameService.php'; $databaseConnector = new DataBaseConnector(); $pdo = $databaseConnector->connectToDatabase(); $gameId = $_GET['gameId']; $result; $now = time(); $loggedUserId = LoggedUserService::getL...
true
51bf3f7ea465f218600f6427bf8437f747f93e1b
PHP
skrast/maxxon24
/lingvistiks/public_html/app/middle/session/sessionDB.php
UTF-8
1,932
2.875
3
[ "Apache-2.0" ]
permissive
<?php class sessionDB extends session { /* Create a connection to a database */ function __construct() { } static function work() { session_set_save_handler ( array(parent::$strategy, '_open'), array(parent::$strategy, '_close'), array(parent::$strategy, '_read'), array(parent::$strategy, '_write'...
true
8890bc24d8d4da0b9c810e41ece546ce7fd95a81
PHP
Mixa5200/testtask
/modules/delete_file.php
UTF-8
400
2.625
3
[]
no_license
<?php if ($_SESSION['login'] != "") { $filename = $_GET['filename']; $dir = $_SESSION['path']; $path = $dir . $filename; if (unlink($path)) { echo "<script>alert('Файл был успешно удален'); location.replace('?page=main');</script>"; } else { echo "<script>alert('Ошибка при удалении файла'); location.re...
true
a52b47e316744eb1d90a9c52e19e138650dbb80e
PHP
xsat/picture
/app/Size.php
UTF-8
639
3.640625
4
[ "MIT" ]
permissive
<?php namespace App; /** * Class Size * * @package App */ class Size { /** * @var int */ private $wight; /** * @var int */ private $height; /** * Size constructor. * @param int $wight * @param int $height */ public function __construct(int $wight, ...
true
5e49e78d94705076cce1d2158cd6dd1a41a3479c
PHP
Tre3z/php_primer
/dateandtimemanip.php
UTF-8
745
3.28125
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>date and time manip</title> </head> <body> <?php $datenow = getdate(); echo "today's date <br/>"; ...
true
ed76cfd89aee91e21c4c54e79edf70f624cce53e
PHP
manju-yl/inmotion-rest
/api/downloadFile.php
UTF-8
5,613
2.59375
3
[]
no_license
<?php require "../vendor/autoload.php"; include_once './config/database.php'; include_once './model/appointment.php'; include_once './model/boothdetails.php'; require "./common/headers.php"; require "../start.php"; session_start(); use PhpOffice\PhpSpreadsheet\Spreadsheet; //database connection $databaseSe...
true
c0d3690ac5234a28e45a18624900b9dbfc582a1d
PHP
Emptey/real-estate
/app/Console/Commands/CheckRentPayout.php
UTF-8
3,245
2.75
3
[ "MIT" ]
permissive
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use App\Investment; use App\RentPayout; use App\UserInvestment; class CheckRentPayout extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'command:checkrentp...
true
aac78d86ab1a68a279aaf60af046b86cac045b18
PHP
ljimmy/sf
/src/Exceptions/Rpc/AcceptException.php
UTF-8
937
2.703125
3
[ "MIT" ]
permissive
<?php namespace SF\Exceptions\Rpc; use Throwable; class AcceptException extends RpcException { /** * RPC 成功执行 */ const SUCCESS = 0; /** * 远程没有导出程序 */ const PROG_UNAVAIL = 1; /** * 不支持的版本 */ const PROG_MISMATCH = 2; /** * 不支持的远程过程 */ const PR...
true
69ec14772410a6f565e4b3638def453d51c43b4b
PHP
harrysun2006/pt_sunhy2
/library/Better/User/PartChange.php
UTF-8
2,462
2.515625
3
[]
no_license
<?php class Better_User_PartChange { public static function commonTbl($tbl, $fromRdb, $fromWdb, $toWdb, $uid) { $tbl = BETTER_DB_TBL_PREFIX.$tbl; $sql = "SELECT * FROM `".$tbl."` WHERE uid='".$uid."'"; $rows = $fromRdb->query($sql)->fetchAll(); echo "Trans table [".$tbl."] for [".$ui...
true
c1586cef86766e3eacd684a09bf07ee0afd49ca4
PHP
Akashan/DreamCommunity
/src/DreamCommunity/WebsiteBundle/Entity/Articles.php
UTF-8
4,983
2.609375
3
[ "MIT" ]
permissive
<?php namespace DreamCommunity\WebsiteBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Articles * * @ORM\Table() * @ORM\Entity(repositoryClass="DreamCommunity\WebsiteBundle\Entity\ArticlesRepository") */ class Articles { /** * @var integer * * @ORM\Column(name="id", type="integer") ...
true
74441c234757e6d4f21e181fa23cde434131287a
PHP
jemvelilla/craftBeer
/app/WeekdayText.php
UTF-8
479
2.671875
3
[ "MIT" ]
permissive
<?php namespace App; class WeekdayText extends Model { public function result(){ return $this->hasMany(Result::class); } public static function create($item){ if(isset($item->result->opening_hours->weekday_text)): foreach($item->result->opening_hours->weekday_text as $weekday_text){ return static::fir...
true
53202a6ceea1fefebbffcf71bb71a22cfeb7c938
PHP
28thsly/api.short-url
/app/Http/Controllers/ResolveController.php
UTF-8
1,180
2.84375
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use App\Models\URLMapping; use Illuminate\Http\Request; class ResolveController extends Controller { /** * * This contoller class is responsible for the resolving short URls */ /** * * This function receives client request to reolve a sh...
true
c178e20039b2ac3dc03daa5fc02b89cd49415ca2
PHP
nsr-ab/nsr.se
/wp-content/plugins/nsr-vc-extended/source/php/Library/Search/Search.php
UTF-8
1,973
2.625
3
[ "MIT" ]
permissive
<?php namespace VcExtended\Library\Search; class Search { /** * Performs the search * @return void */ public function init() { global $wp_query; $this->data['resultCount'] = $wp_query->found_posts; $this->data['keyword'] = get_search_query(); //$this->data['...
true
2474ffe6efb87d104d5eb1929f1b8f79e2bcf7d6
PHP
marcinwol/houseshare
/application/models/Table/User.php
UTF-8
2,259
2.8125
3
[]
no_license
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * Description of User * * @author marcin */ class My_Model_Table_User extends Zend_Db_Table_Abstract { protected $_name = "USER"; protected $_rowClass = 'My_Model_Table_Row_User'; protected $...
true
6ee5789069a925e5c8d09258057b8bcf9108df84
PHP
rburns81/Classified
/src/AdWriter.php
UTF-8
733
3.03125
3
[]
no_license
<?php namespace classified; class AdWriter { /** * @param $ad */ public function writeHtml($ad) { echo '<div>'; echo <<<ad <h2>$ad->type</h2> <p><strong>$ad->teaser</strong><br> $ad->description</p> <p>$ad->price</p> ad; /** @var ClassifiedAd $ */ e...
true
e1f30136dcd80022aa1cc39a073ed53749c8f7e5
PHP
AMoraHE/WebSistemas
/app/Http/Controllers/contactoGenController.php
UTF-8
2,867
2.515625
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Validator; use App\contactosGen; class contactoGenController extends Controller { public function __construct() { $this->middleware('auth'); } /** * Display a listing of the resource. * * @return \Illum...
true
7f6fb8c6166b8109a278f672be0fdfd47241367c
PHP
SeleneAbraldez/Progamacion-III
/4- Parciales/Primer Parcial/1- Usuario, televisores/Terminado y pulido/clases/Usuario.php
UTF-8
5,856
3.375
3
[]
no_license
<<<<<<< HEAD <?php class Usuario{ //atributos privados private $_email; private $_clave; //constructor public function __construct($email, $clave) { $this->_email = $email; $this->_clave = $clave; } //método de instancia ToJSON(), que retornará los datos ...
true
681fcad2667924c7b4ea194371418d3304bc4fe3
PHP
zitivapo/php-druid-query
/src/DruidFamiliar/Exception/MissingParametersException.php
UTF-8
742
2.96875
3
[ "MIT" ]
permissive
<?php namespace DruidFamiliar\Exception; use Exception; class MissingParametersException extends Exception { /** * Array of missing parameter keys * * @var array */ public $missingParameters = array(); /** * @param array $missingParameters Array of strings representing the missin...
true
c98fa97b53da9d950d67a499ddad29c8447a52b8
PHP
jmester135/passwordmanager
/dbfunction.php
UTF-8
2,075
2.921875
3
[]
no_license
<?php include('../config.inc'); //Stellt die Verbindung zur Datenbank her public function connect() { global $dbconfig; global $db_name; global $dbconnect; global $dbtype; //Auslesen der Werte aus der Config Datei $server = $dbconfig['db_servername']; $db_user = $dbconfig['db_username']; $db_pass = $d...
true
41c9362526ff86a6a99f09b9e3b5c57816c8120c
PHP
TrueLayer/truelayer-php
/src/Interfaces/UserInterface.php
UTF-8
1,020
2.71875
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace TrueLayer\Interfaces; interface UserInterface extends ArrayableInterface, HasAttributesInterface { /** * @return string|null */ public function getId(): ?string; /** * @param string $id * * @return UserInterface */ public functio...
true
5d95459424aae35e4c41637a4ceb0605173d5c70
PHP
dominik-najberg/design-patterns
/src/AdapterFacadeBundle/Devices/Screen.php
UTF-8
318
2.5625
3
[ "MIT" ]
permissive
<?php /** * User: potworny * Date: 17.10.17 * Time: 15:09 */ namespace AdapterFacadeBundle\Devices; class Screen { /** * @var bool */ private $down = false; public function down() { $this->down = true; } public function up() { $this->down = false; } }
true
082802d5496081152fc65607ef0e71faadb6f92b
PHP
Gautamji/BBB
/app/Model/Library.php
UTF-8
4,611
2.578125
3
[]
no_license
<?php App::uses('AppModel', 'Model'); /** * Library Model * */ class Library extends AppModel { /** * Display field * * @var string */ public $displayField = 'library_name'; /** * Validation rules * * @var array */ public $validate = array( 'first_name' => array( 'notBlank' => array( 'rule' => a...
true
a1ceb4ff1c95cbe1b9f9e514a8105fad3b8dc599
PHP
dimad3/marlin-oop
/changepassword.php
UTF-8
3,333
3.125
3
[]
no_license
<?php require_once 'init.php'; $user = new User; // check whether the form was submited - returns TRUE if it was and FALSE if it was NOT if(Input::exists()) { // if form was submited, then: // check whether new values correspond with validation's rules $validation = new Validate(); $validation = ...
true
3fa903e549f7069040d1bd5b25a706f212908b78
PHP
jeremymills/Fanshawe-College--INFO-3106--Fall-2012
/weeks/3/shapesexample.php
UTF-8
416
2.734375
3
[]
no_license
<?php //ALWAYS include next two lines!! ini_set('display_errors', 'on'); error_reporting(E_ALL | E_STRICT); define('IN_APPLICATION', true); require_once 'bootstrap.php'; print '<br />'; print 'Hello World from Shapes <br /><br />'; $square = new Square(); $pentagon = new Pentagon(); $triangle = new Tria...
true
2a3ec0758d4bbcc9bf9cdc58feead560e004d5d6
PHP
vdeepak19/Online-Test-Application
/app/Subject.php
UTF-8
632
2.703125
3
[ "MIT" ]
permissive
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\Exam; class Subject extends Model { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'title', 'description' ]; /** * Get all of the courses that are assign...
true
bf7047deedf0716cde5c8c5eeb8d1a1d37ee2df9
PHP
CarlosRayon/php
/php/01_Sintasis/06_funciones/funciones.php
UTF-8
1,729
4.09375
4
[]
no_license
<?php /* Tipos de funciones como crearlas y datos varios */ /*FUNCIONES SIMPLES: <nombre_funcion>(<parametros>||<parametros="<valor por defecto>"){<codigo funcion>}; * -El parametro que tenga valor por defecto debe ser siempre los últimos en la lista */ function ejemploFuncion($var = "valor por defecto ") { ec...
true
a196430ead19c6bed1c9657c6622ad514440dd4e
PHP
pbblg/pbblg
/src/App/WebSocket/Router/Router.php
UTF-8
1,521
2.8125
3
[]
no_license
<?php namespace App\WebSocket\Router; use Psr\Http\Message\ServerRequestInterface; use App\WebSocket\Action\ParamsValidator; use App\WebSocket\Exception\InternalErrorException; use App\WebSocket\Exception\MethodNotFoundException; class Router { /** * @var array */ private $config; /** * @...
true
315abbd164c6f364efb920655ea1cb6a9f61311c
PHP
laurij95/De-Coders-Tenjin
/Final Application/tenjin/courseQueries.php
UTF-8
2,562
2.71875
3
[]
no_license
<?php header('Content-type: application/json'); $servername = "localhost"; $username = "root"; $password = ""; $dbname = "tenjindb"; $table = "courses"; $action = $_POST["action"]; $conn = new mysqli($servername, $username, $password, $dbname); if($conn->connect_error){ die("Connection Failed:" . $conn-...
true
70a3b5006cce3ed0c53b3840d119f6aac2f564db
PHP
janvernieuwe/jikan-jikanPHP
/src/Model/AnimeStaffDataItem.php
UTF-8
1,026
3.09375
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace Jikan\JikanPHP\Model; class AnimeStaffDataItem { /** * Person details. * * @var AnimeStaffDataItemPerson */ protected $person; /** * Staff Positions. * * @var string[] */ protected $positions = []; /** * Person...
true
01ab61a20e45cdcfc8915086da6cbe416c475741
PHP
akashsprakash/PHP
/php-lab-1/php-lab-6-splitting-an-array.php
UTF-8
322
3.5625
4
[]
no_license
<?php $string_variable= '"PHP is a widely-used open source general-purpose scripting language."'; $splits_array = explode(" ", $string_variable); print_r(array_values($splits_array)); //var_dump(array_values($splits_array)); echo "\n"; // php program to split elements in an array and print the entire array ...
true
695e9c7c1ddac0715fa4e6bedcbf4579ff76657d
PHP
hussien10/php-assignment2
/six.php
UTF-8
134
3.21875
3
[]
no_license
<?php $num=22; $count=1; for($i=0;$num>=10;$i++){ $num=floor($num/10); $count++; } echo $count; ?>
true
06ef9d09050d8d8a56b95a1aa34cd59874bd3bea
PHP
doppiogancio/sudoku
/core/Log/Log.php
UTF-8
1,501
2.984375
3
[]
no_license
<?php namespace core\Log; use Prophecy\Exception\Exception; class Log { static $text; static public function addLine($type, $message) { $date = date("H:i:s"); list($milliseconds, $seconds) = explode(" ", microtime()); $milliseconds = round($milliseconds * 1000); self::$text .= sprintf("%s %d | %s | %s...
true
e1500c344baa136584f63a22ea225c43255212ec
PHP
memuller/eventuate
/classes/booking.php
UTF-8
4,855
2.9375
3
[]
no_license
<?php class EM_Booking extends EM_Object{ //DB Fields var $id; var $event_id; var $person_id; var $seats; var $comment; //Other Vars var $fields = array( 'booking_id' => array('name'=>'id','type'=>'%d'), 'event_id' => array('name'=>'event_id','type'=>'%d'), 'person_id' => array('name'=>'person...
true
238f9f0f9dea67540549d42bc24cb0f2492c2c44
PHP
sycoumba/PHPNAMESPACE
/entites/Compte.php
UTF-8
2,282
3.078125
3
[]
no_license
<?php namespace entites; class Compte { protected $id_compte; protected $numero_compte; protected $cle_rib; protected $solde_compte; protected $numero_agence; protected $date_ouverture; protected $id_client; protected $id_responsable; function __construct() // Constructeur demandan...
true
f3441c10ce2a0e13139a30651e7b5fd49e6f7a7c
PHP
phamviet/command-builder
/src/CommandBuilder/Command/Curl.php
UTF-8
499
2.875
3
[]
no_license
<?php namespace Phamviet\CommandBuilder\Command; use Phamviet\CommandBuilder\Command; /** * Class Curl * @package Phamviet\CommandBuilder\Command */ class Curl extends Command { /** * @param string $url */ public function __construct($url = '', $path = '') { parent::__construct($path...
true
7a7d48ee3235ead8c08c1c83d43d7ac34e2d863b
PHP
TrustFinity/Laravel-Bitbucket
/src/BitbucketManager.php
UTF-8
2,469
2.578125
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); /* * This file is part of Laravel Bitbucket. * * (c) Graham Campbell <graham@alt-three.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace GrahamCampbell\Bitbucket; use GrahamCampbell\M...
true
f3936abae3d881c169f9af666cb93a2552139900
PHP
Cidro/solaria-click-to-call-module
/src/ClickToCall.php
UTF-8
1,093
2.625
3
[]
no_license
<?php namespace Asimov\Solaria\Modules\ClickToCall; use Solaria\Modules\SolariaModule; class ClickToCall implements SolariaModule { protected $name = 'ClickToCall'; protected $menu_name = 'Click To Call'; public function getName() { return $this->name; } public function getMenuName() {...
true
5323581cc67245e2cbf4c9a68da169a7477e422f
PHP
boutell/SillyCMS
/src/vendor/symfony/src/Symfony/Component/Form/Field.php
UTF-8
14,090
2.734375
3
[ "MIT" ]
permissive
<?php namespace Symfony\Component\Form; /* * This file is part of the Symfony framework. * * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ use Symfony\Component\Form\ValueTransforme...
true
ebb2ed78c8b839e8c4fbf76f0ade2ca98ad66ffe
PHP
phommata/candidates-crud-api
/src/CandidateApi/Controller/CreateCandidate.php
UTF-8
3,580
2.515625
3
[]
no_license
<?php namespace Promenade\Interview\CandidateApi\Controller; use Fig\Http\Message\StatusCodeInterface; use Promenade\Interview\Api\Controller\AbstractAction; use Promenade\Interview\Api\Controller\Action; use Promenade\Interview\Api\Model\Permissions; use Promenade\Interview\Candidate\Model\CandidateNotCreatedExcepti...
true
ae2f034702e8c348e91c77db4f50810310c12df1
PHP
fixcore/TrinityWeb
/common/models/chars/CharacterGlyphs.php
UTF-8
3,261
2.625
3
[]
no_license
<?php namespace common\models\chars; use Yii; use common\core\models\characters\CoreModel; use common\models\armory\ArmoryGlyphproperties; /** * This is the model class for table "character_glyphs". * * @property integer $guid * @property integer $talentGroup * @property integer $glyph1 * @property integer $...
true
4acbc50e9e22d362233c5b2cd82e5313bfda6941
PHP
ektachauhan680/ecommerce
/ebor_framework/live_composer_blocks/code_block.php
UTF-8
1,815
2.640625
3
[]
no_license
<?php add_action('dslc_hook_register_modules', create_function('', 'return dslc_register_module( "Slowave_Code_Block" );') ); class Slowave_Code_Block extends DSLC_Module { // Module Attributes var $module_id = 'Slowave_Code_Block'; var $module_title = 'Code'; var $module_icon = 'code'; va...
true
77ab26f1dd9c629ee6729f114bd9367ef717ea08
PHP
GraphGrail/platform
/app/Domain/Strategy/iPavlov/Component/Settings.php
UTF-8
1,126
2.59375
3
[]
no_license
<?php /** * @author Juriy Panasevich <u.panasevich@graphgrail.com> */ namespace App\Domain\Strategy\iPavlov\Component; use App\Domain\Strategy\Component\Form\FieldForm; use Illuminate\Validation\ValidationException; class Settings extends Component { protected $attributes = ['epochs']; public static fun...
true
9fae10ec7582325bb41c693ee24609d0a85aaf21
PHP
bernardoariel/colegio2021
/controladores/osde.controlador.php
UTF-8
4,369
2.625
3
[]
no_license
<?php class ControladorOsde{ /*============================================= CREAR CATEGORIAS =============================================*/ static public function ctrCrearOsde(){ if(isset($_POST["nuevoOsde"])){ if ($_POST["nuevoImporte"]<>null){ if(preg_match('/^[a-zA-Z0-9ñÑáéíóúÁÉÍÓÚ ]+$/', $_...
true
b045a0c7c982c111a0133c1678f3c134507edafa
PHP
halojoy/BlogCrunch
/models/AdminTable.php
UTF-8
1,477
3.3125
3
[]
no_license
<?php include_once "UserTable.php"; /** * Class AdminTable */ class AdminTable extends UserTable { /** * Adds a user to the database WITH admin privileges * @param $username * @param string $email * @param string $password * @param bool $admin * @return bool */ ...
true
8ac11e60ac7e26c7eb5e714e7e08dcfb1b47cd08
PHP
AlejandroOrostica/ApiCeres
/app/Http/Controllers/GradeController.php
UTF-8
3,505
2.671875
3
[]
no_license
<?php namespace App\Http\Controllers; use App\Grade; use Illuminate\Http\Request; use Illuminate\Support\Facades\Input; class GradeController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { //Funci...
true
b273c105412b14a019a47485bf76c0f0fc63a4b7
PHP
m-vo/contao-twig
/tests/Filesystem/TemplateLocatorTest.php
UTF-8
1,104
2.578125
3
[]
no_license
<?php declare(strict_types=1); /* * @author Moritz Vondano * @license MIT */ namespace Mvo\ContaoTwig\Tests\Filesystem; use Mvo\ContaoTwig\Filesystem\TemplateLocator; use Mvo\ContaoTwig\Tests\TestCase; class TemplateLocatorTest extends TestCase { public function testGetTwigTemplatePaths(): void { ...
true
fd09a0a6fd759ef09cba3f2918e3322b9ca41cd6
PHP
calks/cc_core
/form_fields/checkbox.php
UTF-8
582
2.75
3
[]
no_license
<?php class coreCheckboxFormField extends coreBaseFormField { public function SetFromPost($POST) { $checked = coreRequestLibrary::isFieldValueSet($this->field_name, $POST); $this->SetValue($checked); } public function render() { if ($this->value) { $this->attr('...
true
b74f37a6347cb7056df1ccc6bdc7090ef2fb11e8
PHP
amitkhare/easy-authentication
/src/EasyAuth/Helpers.php
UTF-8
1,809
2.890625
3
[]
no_license
<?php namespace AmitKhare\EasyAuth; class Helpers { public static function password($password){ $options = [ 'cost' => 10, ]; return password_hash($password, PASSWORD_BCRYPT, $options); } public static function verify($password, $hash){ return pass...
true
7fed290cb2100aaf2398728c670ee0b019ddb316
PHP
iamlaobie/hi-php-framework
/library/Hi/Db/Table/Action.php
UTF-8
10,693
2.78125
3
[]
no_license
<?php abstract class Hi_Db_Table_Action extends Hi_Action { /** * 数据表名,如果为空,取class名作为表名 * * @var string */ protected $_name; /** * 数据表对象 * * @var object */ protected $_table; /** * 呈现与数据库字段对应 * * @var array */ pro...
true
79a2685948778d08e72f83e48a1c06f3e2f25498
PHP
phillprice/silverstripe-uploaddirrules
/code/SubsiteUploadDirRules.php
UTF-8
3,771
2.703125
3
[ "MIT" ]
permissive
<?php /** * Helper for consistent upload directories for sites using the subsites module * * These rules assure that files are being uploaded to a subdirectory of the "assets" directory. * This subdirectory has the name of the current site. * Additionally, files are saved in directories, corresponding to the page ...
true
f61e8726d0ccf975dc394e780cb742a7d3de59f8
PHP
eliotik/cron_actions
/classes/actions/NxcCronAction.php
UTF-8
5,062
2.734375
3
[]
no_license
<?php namespace extension\nxc_cron_actions\classes\actions; use extension\nxc_cron_actions\classes\interfaces\NxcCronActionInterface; use extension\nxc_cron_actions\classes\NxcCronActions; class NxcCronAction implements NxcCronActionInterface { /** * @var NxcCronActions */ private $parent; priva...
true
1800667d25aab3483d2695af1cc2bf985267090e
PHP
lion-packages/framework
/database/Class/LionDatabase/Users.php
UTF-8
2,895
2.984375
3
[ "MIT" ]
permissive
<?php namespace Database\Class\LionDatabase; class Users implements \JsonSerializable { private ?int $idusers = null; private ?int $idroles = null; private ?string $users_name = null; private ?string $users_last_name = null; private ?string $users_email = null; private ?string $users_password = null; private ...
true
6791d96b9d19e649836ad9eb902e9d02457b98cd
PHP
irishGypsy/arcangel-dev
/app/Http/Controllers/Admin/PackageController.php
UTF-8
3,220
2.515625
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers\Admin; use Auth; use Illuminate\Http\Request; use App\Contracts\PackageContract; use App\Http\Controllers\BaseController; use Illuminate\Support\Facades\DB; class PackageController extends BaseController { //use Auth; /** * @var PackageContract */ protected $Pac...
true
93963bff53060f57dfc96ec101db88de57c07b69
PHP
btantlinger/asf-core
/data/BasicPagerConfig.php
UTF-8
1,493
2.8125
3
[]
no_license
<?php namespace asf\data; //use \asf\core\Command; use \asf\core\Request; /** * Description of BasicPagerConfig * * @author bob * @deprecated since 1.0 use defaultpagerconfig instead */ class BasicPagerConfig implements PagerConfig { private $currentPage; private $command; private $rpp; private $l...
true
7466f850377dca6179ed5b3a01cc361d20551141
PHP
isaqib23/fann
/app/Http/Controllers/ProfileController.php
UTF-8
2,596
2.65625
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use App\Contracts\CompanyRepository; use App\Contracts\CompanyUserRepository; use Illuminate\Http\Request; use Illuminate\Validation\ValidationException; class ProfileController extends Controller { /** * @var CompanyRepository */ protected $companyRepository; ...
true
7f3a85fe0eed61faae65c1eb379422f88442061f
PHP
avantassel/beerfest-winners-json
/usopen-import.php
UTF-8
1,904
3.03125
3
[]
no_license
<?php /* Files in /usopen/$year.json are hand copied and pasted from the website Files in /usopen/json/$year.json are parsed from the above files and formatted */ require "vendor/autoload.php"; if (ob_get_level() == 0) ob_start(); $beerfest = new BeerFest; for($year=2009; $year <= 2021; $year++){ if(!file_exist...
true
e83124fafe9e4994859170e93e405cf481c81564
PHP
treinaweb/treinaweb-curso-novidades-php-8
/match.php
UTF-8
198
3.34375
3
[]
no_license
<?php function a() { return 'Dez'; } function b() { return 'Nove'; } $valor = 8; $numero = match($valor) { 10 => a(), 9 => b(), default => 'Outro valor' }; echo $numero;
true
d2cb916ccbeff079cd7844556455a215f88a03be
PHP
alvertoR/laboratorioApi
/backend/empleado.php
UTF-8
893
2.640625
3
[]
no_license
<?php include_once 'conexion.php'; class Empleado extends Conexion{ function obtenerEmpleados(){ $query = $this->connect()->query('select*from empleados'); return $query; } function getEmpleado($id){ $query = $this->connect()->prepare('select*from empleados ...
true
bc4c8f70ee079c212da830b98e226c39d0ba5e08
PHP
rumantic/sitebill
/apps/system/lib/admin/sitebill_krascap_admin.php
UTF-8
19,584
2.59375
3
[]
no_license
<?php /** * SiteBill krascap admin class * @author Kondin Dmitriy <kondin@etown.ru> */ class SiteBill_Krascap_Admin extends SiteBill_Krascap { /** * Main * @param void * @return string */ function main ( $params = array() ) { return ''; /*switch ( $this->getRequestValue(...
true
d3a8d4b7353d9ce38c53e4a331ce76350b1c9b1d
PHP
Hello-Solucoes/BrasPag
/src/BrasPag/Entity/AntiFraudRequest/FundTransferDataEntity.php
UTF-8
1,588
2.75
3
[]
no_license
<?php namespace Alexandreo\Entity\AntiFraudRequest; use Alexandreo\Contracts\AntiFraudRequest\FundTransferDataContracts; /** * Class FundTransferDataEntity * @package BrasPag\Entity\AntiFraudRequest */ class FundTransferDataEntity implements FundTransferDataContracts { /** * @var */ private $a...
true
b9f7c805d172dabc306cac64e14412ca8aeb329f
PHP
yascmf/base
/douyasi/Http/Requests/CategoryRequest.php
UTF-8
1,319
2.65625
3
[ "MIT" ]
permissive
<?php namespace Douyasi\Http\Requests; use App\Http\Requests\Request; class CategoryRequest extends Request { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { //return false; return true; } /** ...
true
d1b0b94a01b25c01a9355793dc92d5a7b984eb8c
PHP
jfrmm/laravel-repository
/src/Exceptions/RepositoryException.php
UTF-8
3,335
2.6875
3
[ "MIT" ]
permissive
<?php namespace ASP\Repository\Exceptions; use ASP\Repository\Base\Model; use ASP\Repository\Traits\MakesResponses; use Exception; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Log; use ReflectionClass; use ReflectionException; use Symfony\Component\HttpFoundation\Response as HTTPResponse; /** ...
true
b6c147d0183cd905cc031b38a2a607f2a27ddfa4
PHP
quangbt2005/belamdep
/includes/functions/DB.inc
UTF-8
2,079
2.59375
3
[]
no_license
<?php /**************************************************************************************************/ /* Created on Nov 30, 2008 */ /**************************************************************************************************/ functio...
true
bfd6cb9a2c9030a300bd252c4c26bfc558c461d8
PHP
jocampo01/advanced_pdo
/index.php
UTF-8
2,678
2.671875
3
[]
no_license
<?php include 'main.php'; // If the user is logged-in redirect them to the home page if (isset($_SESSION['loggedin'])) { header('Location: home.php'); exit(); } // Also check if the user is remembered if (isset($_COOKIE['rememberme']) && !empty($_COOKIE['rememberme'])) { // If the remember me cookie matches on...
true
319eb42e2d4e4ee24d4aadb5090e755f0d86726b
PHP
suongnguyen1993/luanvantotnghiep
/luanvantn/nangcao/application/modules/admin/controllers/Login.php
UTF-8
1,688
2.53125
3
[]
no_license
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Login extends CI_Controller { public function __construct() { parent::__construct(); } /* -Hàm index để đăng nhập vào admin @ $username lấy giá trị username trong form @ $password lấy giá trị password trong form và mã hóa lại @ ...
true
8f5a3c09063b24cf6d8d83addf776e11f37028a2
PHP
dmitriyokhrimenko/laravel_blog
/app/Http/Repository/PostRepository.php
UTF-8
337
2.609375
3
[ "MIT" ]
permissive
<?php namespace App\Http\Repository; /** * Movie Repository class */ use App\Post; use Illuminate\Http\Request; class PostRepository { /** * Get a list of all movies * * @return array Array containing list of all movies */ public function getData() { return Post::find(reques...
true
2e6fdf2d6b25472f0026bf67c3c88c23a84c66e9
PHP
karnATrove/codepipeline
/src/WarehouseBundle/Workflow/DashboardWorkflow.php
UTF-8
3,306
2.578125
3
[]
no_license
<?php /** * Created by PhpStorm. * User: Lee * Date: 2017-08-14 * Time: 3:07 PM */ namespace WarehouseBundle\Workflow; use Symfony\Component\DependencyInjection\ContainerInterface; use WarehouseBundle\Manager\BookingManager; use WarehouseBundle\Manager\BookingProductManager; use WarehouseBundle\Manager\ProductM...
true
0b4d3d103d6f6ea70cb6a93b34f3e6a7f34cee4c
PHP
Barut/lex-watermark
/lib/base.inc.php
UTF-8
381
3
3
[]
no_license
<?php class CObject { public $parent; private $loger; function __construct($parent){ $this->parent = (!empty($parent) ? $parent : FALSE); } function Log($type, $message) { if ($this->loger) $this->loger->Write($this, $type, $message); } function AssignLoger (ILoger $loger){ $t...
true
905c8d4e547004a886373d00a81756bca122d21b
PHP
GuofengBai/InfiniteSportV2
/public/controller/activity_controller.php
UTF-8
7,469
2.703125
3
[]
no_license
<?php /** * Created by PhpStorm. * User: baiguofeng * Date: 2016/12/2 * Time: 18:34 */ require_once "database.php"; require_once "level_controller.php"; class activity_controller { var $db; public function __construct() { $this->db = database::getInstance(); } function getAllActivity(...
true
9d255b621096a773ebd6c0109134329b5a8ba29b
PHP
tuannguyen22/BonsaiGarden
/Class/class.php
UTF-8
560
2.671875
3
[]
no_license
<?php include('../Database/connect.php'); Class User { public $username; public $password; public $rePassword; public $fullname; public $phone; public $age; public $email; public $address; public $job_title; function __construct(){ } function signUp($username, $password,$rePassword,$email){...
true
377f079f3a88496fb7776861ed1c73c191c0b79b
PHP
AymanElshehawy/ShoppingCart
/cart_update.php
UTF-8
4,063
2.578125
3
[]
no_license
<?php session_start(); include_once("config.php"); if (isset($_POST["submit"]) && $_POST["submit"] == 'Finish') { if (!empty($_SESSION["cart_products"])) { $sql = "INSERT INTO orders VALUES (NULL)"; if ($mysqli->query($sql) === TRUE) { $order_id = $mysqli->insert_id; $sub...
true
f440b177c6c28a3098db0578ff1dee98b29692af
PHP
rudolfcms/rudolf
/src/module/Articles/One/Admin/AddForm.php
UTF-8
887
2.6875
3
[ "MIT" ]
permissive
<?php namespace Rudolf\Modules\Articles\One\Admin; use Rudolf\Modules\Articles\One\Article; use Rudolf\Component\Alerts\Alert; use Rudolf\Component\Alerts\AlertsCollection; class AddForm extends FormCheck { /** * @var AddModel */ private $model; /** * @param AddModel $model */ pu...
true
ac747ba49f0a510c579c66daacf7f2eee00f2718
PHP
AyaAhmed1/E-Commerce-Project-PHP
/web/editProduct.php
UTF-8
1,823
2.796875
3
[]
no_license
<?php include '../classes/config.php'; include '../model/BaseEntity.php'; include '../model/product.php'; include '../model/products.php'; session_start(); $productId = $_GET['id']; $products = new products($conn); $productsObj = $products->getProduct($productId); $product = new product($conn,$productsObj); ...
true
6042ca1c840937ab48bb02fbcbf63b50b0095645
PHP
AstoMiwanda/distro-meup
/application/views/exportTransaksiMaster.php
UTF-8
1,013
2.65625
3
[ "MIT" ]
permissive
<!DOCTYPE html> <html> <head> <title>Export Data Excel</title> </head> <body> <?php header("Content-type: application/vnd-ms-excel"); header("Content-Disposition: attachment; filename=Transaksi Master.xls"); ?> <table border="1" style="width: 100%"> <tr> <th>No</th> <th>User</th> <th>Kode Nota</th> <th>To...
true
433a3198e8bf36bd1b46fd631e9c7c3cd910a274
PHP
wasek23/php
/13.IfElseElseIfStatement.php
UTF-8
474
3.59375
4
[]
no_license
<?php // IF Else ElseIf Statement $p = 80; $q = 70; if ($p >= $q){ echo 'If Statement is True'; }else{ echo 'Else Statement is True'; } // If Else Statement echo '<br/><br/>'; if ($p <= $q){ echo 'If Statement is True'; }elseif($p > $q){ echo 'ElseIf Statement is True'; }else{ echo 'Else Statement is True'; } /...
true
e9b4c30d13d093f196633dc4593f25eabd472cd0
PHP
aaronagullo24/Tema4
/ejemplo-herencia.php
UTF-8
1,011
3.421875
3
[]
no_license
<html> <head> <title>Pruebas</title> </head> <body> <?php class persona { protected $nombre; protected $apellido; protected $edad; public function __construct($v1, $v2) { $this->nombre = $v1; $this->apellido = $v2; } publi...
true
025037b4e6c51d7b6f4915a9c2af685b65f8bbf6
PHP
oksuz/github-resume
/src/Model/Developer.php
UTF-8
1,996
3.421875
3
[]
no_license
<?php namespace App\Model; /** * Class Developer * @package App\Model * * Developer model keeps developer information */ class Developer { private $fullName; private $githubUserName; private $blog; private $repoCount; private $avatarUrl; private $location; public function __construc...
true
eb879f15076c6a21107f0a26410d737b68cf2f24
PHP
zyandeep/CodeIgniter-Demo
/application/controllers/Api.php
UTF-8
2,406
2.703125
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php defined('BASEPATH') or exit('No direct script access allowed'); use GuzzleHttp\Exception\RequestException; use GuzzleHttp\Psr7; class Api extends CI_Controller { public function __construct() { // MUST call parent's constructor parent::__construct(); // load models $thi...
true
692ad02a7bda3f981e5e2aaca840f447beeb2a21
PHP
wenbinye/PhalconX
/src/Test/Dataset.php
UTF-8
1,065
2.8125
3
[ "MIT" ]
permissive
<?php namespace PhalconX\Test; /** * Create dataset from file */ trait Dataset { /** * load json, yaml data set * * <code> * $this->dataset("file.json"); // read file in fixtures/file.json * </code> * * @return array */ public function dataset($file, $format = null) ...
true
cd509b372fda5e03aca7cca493681a5c786f9968
PHP
dcslagel/las-util-php
/prj/src/las_db_utils.php
UTF-8
485
2.546875
3
[ "MIT" ]
permissive
<?php /** * DB Utility routines * * @category * @package Las-Util-Php * @author DC Slagel <dcs@mailworks.org> * @copyright 2019 DC Slagel * @license MIT */ declare(strict_types = 1); function get_db() { $las_db = [ 'db' => dirname(__DIR__).'/database/las.db', 'dbConn' => null, ...
true
f5de11a128df53f36bbe8f7b5cf40aa6f484e2b7
PHP
loipl/leadvantage
/__fwlite/engine/Engine/Utilities.php
UTF-8
6,833
2.953125
3
[]
no_license
<?php class Engine_Utilities { public static function toFQDN($domain) { $domain = strtolower($domain); if (substr($domain, -3) == '.uk') { $domain = substr_replace($domain, '-uk', -3); } $domainParts = array(); foreach (explode('.', $domain) as $part) { ...
true
4b65f29d3726382290014eba777ce4545c56652e
PHP
mesour/enum
/src/Mesour/Enum/Enum.php
UTF-8
4,399
3
3
[ "MIT" ]
permissive
<?php declare(strict_types = 1); namespace Mesour\Enum; use Consistence\Reflection\ClassReflection; use Consistence\Type\ArrayType\ArrayType; use Consistence\Type\Type; /** * @author Vašek Purchart <vasekpurchart.cz> * @author Matouš Němec <mesour.com> */ abstract class Enum { /** @var mixed */ private $value...
true
a79375cc4876d6005d72ea8416ae91b084252c20
PHP
zckyachmd/simindi
/config/functions.php
UTF-8
259
2.828125
3
[ "MIT" ]
permissive
<?php function show($query) { global $connect; $get_data = mysqli_query($connect, $query); $rows = []; while ($row = mysqli_fetch_assoc($get_data)) { $rows [] = $row; } return $rows; }
true
4d7a66107ebd8a914962aa17c1955381fe87af43
PHP
bicall/webAssignment
/airplane/page/about.php
UTF-8
826
2.5625
3
[]
no_license
<?php require_once('config/connection.php'); $select1 = $con->query("SELECT * FROM aboutus WHERE id='1'"); $select2 = $con->query("SELECT * FROM aboutus WHERE id='2'"); $select3 = $con->query("SELECT * FROM aboutus WHERE id='3'"); while($row = $select1->fetch_assoc()){ $content1 = $row['Description']; } while($row =...
true
62759304f7d954d0fa384d6669db96cf9e373cba
PHP
IbrahimKhalil/SemiorbitFramework
/src/core/Http/PathInfo.php
UTF-8
3,670
3.03125
3
[ "MIT" ]
permissive
<?php /* *----------------------------------------------------------------------------------------------- * HTTP REQUEST PATH - SEMIORBIT REQUEST_URI PATH HELPER semiorbit.com *----------------------------------------------------------------------------------------------- * */ namespace Semiorbit\Http; u...
true
444784c3bd5a65f4083e675199d89ac148b78b3c
PHP
arslan1999/about.php
/lesson5/index.php
UTF-8
1,483
3.1875
3
[]
no_license
<html> <head> <link href="style.css" rel="stylesheet"> <meta charset="utf-8"> </head> <body> <div class="container"> <table class="table table-striped"> <?php $i = 0; // задаем 0 для итерации $data = array(); // массив в который заложим данные из файла csv if (($...
true
30445069dd95e4a7bdfcd106980f952109127634
PHP
Marciel11/Teste_Praticos
/Problema02/app/Models/Conn.php
UTF-8
537
3.15625
3
[]
no_license
<?php /** * Author: Marciel */ class Conn { public $host = "localhost"; public $user = "root"; public $pass = ""; public $dbname = "db_biblioteca"; public $port = "3306"; public $connect = null; public function conectar(){ try { $this->connect = new PDO('mysql:host='.$this->host . ';port='. $this-...
true
409fd05bb3a4110867e36269987f0169db206af2
PHP
BarishYumerov/My-Framework
/ConferenceScheduler/Core/Database/Db.php
UTF-8
2,385
3.09375
3
[]
no_license
<?php declare(strict_types=1); namespace ConferenceScheduler\Core\Database; use ConferenceScheduler\Configs\DatabaseConfig; use ConferenceScheduler\Core\Drivers\DriverFactory; class Db { private static $instances; private $db; private function __construct(\PDO $pdo) { $this->db = $pdo; } ...
true
2cdf6555b4bf3fbde4b8d02a37bec808243acd97
PHP
marchah/OneDayOnePic
/API/index.php
UTF-8
1,302
2.625
3
[]
no_license
<?php //header('Access-Control-Allow-Origin: *'); //header('Access-Control-Allow-Methods: GET'); header('Content-Type: application/json'); require('DBConnection.php'); define('DEFAULT_TIME_SYNCHRO', 4242); function getListCategories() { $db = connectionBDD(); $reponse = $db->query('SELECT * FROM cat...
true
f2eedc7cc12b7efe887c7ac47e43c03d2c6bb16c
PHP
robidon/OSI-project
/application/classes/helper/text.php
UTF-8
2,219
2.53125
3
[]
no_license
<?php class Helper_Text { /** * Получает текст из бд. * * @param String $name */ static public function get_text($name) { $txt = Model_Dao_Text::by_name($name); if ($txt) { $text = $txt->text; $id = $txt->id; } else { $text = 'Соде...
true
afa3cf9c30692fb9a40505d506922a70df4593f3
PHP
0419unagi/choco
/message/model/update_side_bar.php
UTF-8
3,920
2.671875
3
[]
no_license
<?php require('../../dbconnect.php'); session_start(); // error_log(print_r('update_side_bar.php',true),"3","../../../../../../logs/error_log"); $user_id = $_SESSION['login_user']['id'] ; $other_id = ''; $other_id = $_GET['other_id']; error_log(print_r('se',true),"3","../../../../../../logs/error_log"); $sql = 'S...
true
ff10135b63996c1631b2c0a62a6c5c49e9b3cb1f
PHP
albin2/Beauty-spa-management-project
/spa/database/migrations/2018_10_14_091618_create_employedetails_table.php
UTF-8
1,033
2.625
3
[]
no_license
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEmployedetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('employed...
true
23f6c8e3cf0b7ade63805f9cc32ace5eca30aa71
PHP
Jongyeol91/php
/models/test/todos_model.php
UTF-8
691
2.875
3
[]
no_license
<?php class Todos_model extends CI_Model { public function __construct() { parent:: __construct(); } public function getAllTodos() { $foundTodos = $this->db->query("SELECT * FROM todo")->result_array(); // 질의문+결과값 가져오기 return $foundTodos; } public function getTodo($id) { return $this->db->query("SELECT...
true
49569bcf233774ecdc2c18bb5cbfa5d23efe8ffd
PHP
nblaskar/Laravel-Complete-Course-With-Codes-By-NBL-Series-Two
/39.Making Request to API Using HTTP Client in Laravel/app/Http/Controllers/PostController.php
UTF-8
4,563
3.015625
3
[]
no_license
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Http; class PostController extends Controller { ####################----CRUD Operation Through API----################################## //1)Get API to fetch all data from an API Url public function get...
true
e1786c01934cdab25ea7ec4da18af125c93d9956
PHP
cruxinator/AttributeRegistrar
/tests/Models/TestModel.php
UTF-8
658
2.5625
3
[]
no_license
<?php namespace Cruxinator\AttributeRegistrar\Tests\Models; use Cruxinator\AttributeRegistrar\Models\Conerns\HasAttributeRegistrar; use Cruxinator\AttributeRegistrar\Tests\Models\Conerns\StringReverser; use Cruxinator\AttributeRegistrar\Tests\Models\Conerns\ValueDoubler; use Illuminate\Database\Eloquent\Model; cla...
true
37e754b70f4c0eb864007ad3cc142c09e171f643
PHP
siqueira76/mercado_jose
/cadfunc.php
UTF-8
882
2.546875
3
[]
no_license
<html> <head> <title>Cadastro de Funcionario</title> </head> <body> <?php include("conexao.php"); $nomefunc = $_POST["nomefunc"]; $endfunc = $_POST["endfunc"]; $telfunc = $_POST["telfunc"]; $celfunc = $_POST["celfunc"]; $cpffunc = $_POST["cpffunc"]; $usufunc = $_POST["usufunc"]; $senhafunc = $_POST["senhafunc"]; if ($n...
true
a8595ad81f28ba1af9484eff9f0b06df57c13c8f
PHP
sgssxf/Maintenance_M6
/laravel5/app/Api/Node/VDeviceRealTimeDataApi.php
UTF-8
5,021
2.546875
3
[ "MIT" ]
permissive
<?php /** * This file is created by hanzhiwei using _example_template_XXXApi.php * * @Copyright * @user: hanzhiwei * @Email: bigosprite@163.com * @GitHub: https://github.com/BigoSprite */ namespace App\Api\Node; use App\Api\Contracts\Api; use App\Repositories\Eloquent\AbstractRepository; use App...
true
56090d0478a689062a675a9fc6a8c776c32ffeb4
PHP
robertodega/TESTS
/PHP8 OOP/include/sections/Metodi_Magici.php
UTF-8
5,927
3.390625
3
[]
no_license
<?php include "../const.php"; $filePath = __FILE__; $fileSubPath = stristr($filePath, "PHP8 OOP"); $fileName = substr($filePath, (strrpos($filePath, '/') + 1)); $functionName = str_replace("_", " ", str_replace(".php", "", $fileName)); if (strpos($functionName, "\\")) { $functionName = substr($functionName, (strrpo...
true
8a488d344f7262d0d9190fbfd5805dbdd37d9ca0
PHP
CeasarMwangi/smeter
/classes/DB.php
UTF-8
15,696
3.046875
3
[]
no_license
<?php //singletone class class DB { private static $_instance = null;//store instance of our db private $_pdo, $_query, $_error = false, $_results, $_count = 0; //private help connect or create and maintain only a single connection to //our database priv...
true
2c97dd58b69b31a82b5fa6bc42f55f8255d40f4d
PHP
vosaan/ankor.local
/includes/models/order/custom.php
UTF-8
1,702
2.796875
3
[]
no_license
<? /** * The Custom order model. * * @author Yarick * @version 0.5 */ class Order_Custom { public $Assembly; public $Brand; public $Color; public $Comment; public $Contact; public $Product; public $Model; public $Name; public $Unit; public $Goal; public $Frame; public $Design; public $Email; pu...
true