100+ results results for 'php exec repo:matamouros/cintient' (1510 ms)
70 /** 71 * @var boolean $_executed Pager was initialized (called "execute" at least once) 72 */ 111 $this->_setNumResults($count); 112 $this->_setExecuted(true); // _adjustOffset relies of _executed equals true = getNumResults() 113 157 * 158 * @param $executed Pager was executed 159 * @return void 160 */ 161 protected function _setExecuted($executed) 162 { 162 { 163 $this->_executed = $executed; 164 }Command.php https://github.com/nicnocquee/PPION-Website.git | PHP | 512 lines
1<?php 2 81 /** 82 * Executes the current command. 83 * 90 */ 91 protected function execute(InputInterface $input, OutputInterface $output) 92 { 92 { 93 throw new \LogicException('You must override the execute() method in the concrete command class.'); 94 } 149 } else { 150 return $this->execute($input, $output); 151 } 154 /** 155 * Sets the code to execute when running this command. 156 *Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
1<?php 2 270 //Remove todas as movimentacoes pertencentes ao pedido de transferencia 271 $delete = $this->getEm()->createQueryBuilder()->delete('Estoque\Entity\Movimentacao', 'm')->where('m.descarte = :id ')->setParameter('id', $id)->getQuery()->execute(); 272 316 //Remove todas as movimentacoes pertencentes ao pedido de transferencia 317 $deleteMovimentacao = $this->getEm()->createQueryBuilder()->delete('Estoque\Entity\Movimentacao', 'm')->where('m.descarte = :id ')->setParameter('id', $solicitacao->getId())->getQuery()->execute(); 318Country.php https://gitlab.com/jslee1/PrestaShop | PHP | 417 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 22 * @copyright 2007-2015 PrestaShop SA 23 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24 * International Registered Trademark & Property of PrestaShop SA 108 } 109 return Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'cart_rule_country WHERE id_country = '.(int)$this->id); 110 } 124 $countries = array(); 125 $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' 126 SELECT cl.*,c.*, cl.`name` country, z.`name` zone 136 if ($list_states) { 137 $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'state` ORDER BY `name` ASC'); 138 foreach ($result as $row) {about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
16 Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available 17 at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>. 18 For purposes of the EPL, "Program" will mean the Content.</p> 225 Notwithstanding the above, nothing herein shall supersede or modify 226 the terms of any separate license agreement you may have executed 227 with Licensor regarding such Contributions.pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
51require_once 'PEAR/Command.php'; 52require_once 'Console/Getopt.php'; 53 59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) { 60 echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini'; 61 exit(1); 132// this is used in the error handler to retrieve a relative path 133$_PEAR_PHPDIR = $config->get('php_dir'); 134$ui->setConfig($config); 166 ); 167 $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php'); 168 $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data'); 377 return "PEAR Version: ".$GLOBALS['pear_package_version']. 378 "\nPHP Version: ".phpversion(). 379 "\nZend Engine Version: ".zend_version().directories.php https://github.com/projectfork/Projectfork.git | PHP | 420 lines
1<?php 2/** 10 11defined('_JEXEC') or die(); 12ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
1<?php 2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 4* 5* @version $Id: ps_perm.php 1818 2009-06-23 19:07:21Z soeren_nb $ 6* @package VirtueMart 8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved. 9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 10* VirtueMart is free software. This version may have been modified pursuant 13* other free or open source software licenses. 14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. 15* 240 if( $size==1 ) { 241 $values[0] = $VM_LANG->_('PHPSHOP_SELECT'); 242 } 317 /** 318 * Function from an old Mambo phpgacl integration function 319 * @deprecated (but necessary, sigh!)view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
1<?php 2/** 9 10defined('_JEXEC') or die; 11 60 /** 61 * Execute and display a template script. 62 *index.php https://github.com/shamilcm/wireus.git | PHP | 291 lines
4 5<?php 6 8 if($_SESSION['authuser']!=1) 9 header("Location:../index.php"); 10 ?> 44 45<?php 46 include('../lib/header.php'); 54 <div id="pageleft"> 55 <?php 56 include('../lib/connectionfile.php'); 61 $sql_friends=dbconfn()->prepare("select username from w_membership where groupid=$gid and status='A';"); 62 $sql_friends->execute(); 63 $result_friends=$sql_friends->fetchAll(PDO::FETCH_NUM);sbhnddma.h https://github.com/Entropy512/linux_kernel_sgh-i997r.git | C Header | 343 lines
6 * 7 * Unless you and Broadcom execute a separate written software license 8 * agreement governing use of this software, this software is licensed to you 9 * under the terms of the GNU General Public License version 2 (the "GPL"), 10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 11 * following added to such license: 14 * permission to link this software with independent modules, and to copy and 15 * distribute the resulting executable under terms of your choice, provided that 16 * you also meet, for each linked independent module, the terms and conditions ofThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
37require_once 'CRM/Core/OptionGroup.php'; 38require_once 'CRM/Core/OptionValue.php'; 39 94 if (!CRM_Core_DAO::checkFieldExists('civicrm_report_instance', 'description')) { 95 require_once 'CRM/Core/DAO/Domain.php'; 96 $domain = new CRM_Core_DAO_Domain; 99 100 CRM_Core_DAO::executeQuery("ALTER TABLE civicrm_report_instance ADD description VARCHAR(255)"); 101 CRM_Core_DAO::executeQuery("UPDATE civicrm_report_instance SET description = description_{$locales[0]}"); 109 110 //We execute some part of php after sql and then again sql 111 //So using conditions for skipping some part of sql CRM-4575 218 219 require_once 'CRM/Utils/System.php'; 220 $docURL = CRM_Utils_System::docURL2( 'Update Greetings and Address Data for Contacts', false, null, null, 'color: white; text-decoration: underline;');class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
1<?php 2/** 12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes 13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes. 14 * 14 * 15 * @see config/map.php 16 * @see include/helpers/helpers_api.php 70 * if $is_init is FALSE, then all activity like add, update and delete for shortcodes attributes will be hold in 71 * the list of activity and will be executed after initialization. 72 * 126 * You need to shortcode's tag and settings to map correctly. 127 * Default shortcodes are mapped in config/map.php file. 128 * The best way is to call this method with "init" action callback function of WP. 541 /** 542 * Sorting method for WPBMap::generateUserData method. Called by usort php function. 543 * @deprecated - use Vc_Sort::sortByKey since 4.4Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
1<?php 2/* 27 * @subpackage Pager 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @version $Revision$ 117 /** 118 * execute 119 * 119 * 120 * Handy method to execute the query without need to retrieve the Pager instance 121 * 121 * 122 * @param $params Optional parameters to Doctrine_Query::execute 123 * @param $hydrationMode Hydration Mode of Doctrine_Query::execute returned ResultSet. 125 */ 126 public function execute($params = array(), $hydrationMode = null) 127 {rpcconsole.cpp https://gitlab.com/Quetzalcoatl/VekitaCoin | C++ | 433 lines
208 209 startExecutor(); 210 388 QThread *thread = new QThread; 389 RPCExecutor *executor = new RPCExecutor(); 390 executor->moveToThread(thread); 393 connect(executor, SIGNAL(reply(int,QString)), this, SLOT(message(int,QString))); 394 // Requests from this object must go to executor 395 connect(this, SIGNAL(cmdRequest(QString)), executor, SLOT(request(QString))); 397 // On stopExecutor signal 398 // - queue executor for deletion (in execution thread) 399 // - quit the Qt event loop in the execution thread 399 // - quit the Qt event loop in the execution thread 400 connect(this, SIGNAL(stopExecutor()), executor, SLOT(deleteLater())); 401 connect(this, SIGNAL(stopExecutor()), thread, SLOT(quit()));class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
1<?php 2if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die(); 12 13require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/wizard.php"); //Wizard API 14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils 14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils 15require_once("tools/bsmpackage.php"); 16require_once("tools/modulechecker.php"); 16require_once("tools/modulechecker.php"); 17require_once("tools/bitrixvmchecker.php"); 18require_once("tools/agentchecker.php"); 18require_once("tools/agentchecker.php"); 19require_once("tools/pushchecker.php"); 20require_once("tools/sitepatcher.php"); 147 */ 148 public function executeComponent() 149 {AdminPaymentController.php https://gitlab.com/staging06/myproject | PHP | 313 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2015 PrestaShop SA 23* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 46 } 47 $countries = DB::getInstance()->executeS(' 48 SELECT id_country 58 } 59 $currencies = DB::getInstance()->executeS(' 60 SELECT id_currency 70 } 71 $groups = DB::getInstance()->executeS(' 72 SELECT id_groupsk.inc.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 272 lines
1<?php 2$translations = array( 65 'Page' => 'Stránka', 66 'Query executed OK, %d row(s) affected.' => array('Príkaz prebehol v poriadku, bol zmenený %d záznam.', 'Príkaz prebehol v poriadku boli zmenené %d záznamy.', 'Príkaz prebehol v poriadku bolo zmenených %d záznamov.'), 67 'Error in query' => 'Chyba v dotaze', 67 'Error in query' => 'Chyba v dotaze', 68 'Execute' => 'Vykonať', 69 'Table' => 'Tabuľka', 77 '%d byte(s)' => array('%d bajt', '%d bajty', '%d bajtov'), 78 'No commands to execute.' => 'Žiadne príkazy na vykonanie.', 79 'Unable to upload a file.' => 'Súbor sa nepodarilo nahrať.', 84 'No extension' => 'Žiadne rozšírenie', 85 'None of the supported PHP extensions (%s) are available.' => 'Nie je dostupné žiadne z podporovaných rozšírení (%s).', 86 'Session support must be enabled.' => 'Session premenné musia byť povolené.', 130 'Event' => 'Udalosť', 131 '%s version: %s through PHP extension %s' => 'Verzia %s: %s cez PHP rozšírenie %s', 132 '%d row(s)' => array('%d riadok', '%d riadky', '%d riadkov'),php.h https://github.com/tstarling/hiphop-php.git | C Header | 456 lines
280PHPAPI int php_write(void *buf, uint size TSRMLS_DC); 281PHPAPI int php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 282 2); 298 299PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format, va_list args TSRMLS_DC) PHP_ATTRIBUTE_FORMAT(printf, 4, 0); 300 308PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...) 309 PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 3, PHP_ATTR_FMT_OFFSET + 4); 310PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...) 310PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...) 311 PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 4, PHP_ATTR_FMT_OFFSET + 5); 312PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...) 312PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...) 313 PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 5, PHP_ATTR_FMT_OFFSET + 6); 314#ifdef PHP_WIN32php.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 129 lines
23 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"), 24 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport echo print global static exit array empty eval isset unset die include require include_once require_once"), 25 multiLineStrings: true, 54 var htmlMode = CodeMirror.getMode(config, "text/html"); 55 var phpMode = CodeMirror.getMode(config, phpConfig); 56 82 return style; 83 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 84 state.curMode = htmlMode; 103 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 104 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 105 if (state.curMode == htmlMode) cur = htmlNew; 127 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 128 CodeMirror.defineMIME("text/x-php", phpConfig); 129})();Output.php https://github.com/romaricdrigon/Keypass-server.git | PHP | 517 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 37 protected $_profiler_sections = array(); 38 protected $parse_exec_vars = TRUE; // whether or not to parse variables like {elapsed_time} and {memory_usage} 39 44 // Get mime types for later 45 if (defined('ENVIRONMENT') AND file_exists(APPPATH.'config/'.ENVIRONMENT.'/mimes.php')) 46 { 46 { 47 include APPPATH.'config/'.ENVIRONMENT.'/mimes.php'; 48 } 305 306 $elapsed = $BM->elapsed_time('total_execution_time_start', 'total_execution_time_end'); 307QueryInterface.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 255 lines
1<?php 2/** 25 /** 26 * Executes the query and returns all results as an array. 27 * @param Connection $db the database connection used to execute the query. 33 /** 34 * Executes the query and returns a single row of result. 35 * @param Connection $db the database connection used to execute the query. 44 * @param string $q the COUNT expression. Defaults to '*'. 45 * @param Connection $db the database connection used to execute the query. 46 * If this parameter is not given, the `db` application component will be used. 52 * Returns a value indicating whether the query result contains any row of data. 53 * @param Connection $db the database connection used to execute the query. 54 * If this parameter is not given, the `db` application component will be used.Save.php https://gitlab.com/yousafsyed/easternglamor | PHP | 298 lines
1<?php 2/** 12/** 13 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 14 */ 174 * @return \Magento\Backend\Model\View\Result\Redirect 175 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 176 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 176 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 177 * @SuppressWarnings(PHPMD.NPathComplexity) 178 */ 178 */ 179 public function execute() 180 {preface.py https://github.com/sialan/autonomous-sprayer.git | Python | 252 lines
6The preface manual page is at: 7http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Preface 8 140 def __init__(self): 141 "Set the default settings, execute title & settings fileName." 142 skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.preface.html', self ) 143 self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Preface', self, '') 144 self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Preface') 145 self.meta = settings.StringSetting().getFromValue('Meta:', self, '') 157 self.turnExtruderOffAtStartUp = settings.BooleanSetting().getFromValue('Turn Extruder Off at Start Up', self, True ) 158 self.executeTitle = 'Preface' 159 159 160 def execute(self): 161 "Preface button has been clicked."tracks.php https://github.com/rietn/minima.git | PHP | 461 lines
1<?php 2/** 2/** 3 * @version $Id: tracks.php 20267 2011-01-11 03:44:44Z eddieajau $ 4 * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. 7 8defined('_JEXEC') or die; 9 95 96 require_once JPATH_COMPONENT.'/helpers/banners.php'; 97Output.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 517 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 37 protected $_profiler_sections = array(); 38 protected $parse_exec_vars = TRUE; // whether or not to parse variables like {elapsed_time} and {memory_usage} 39 305 306 $elapsed = $BM->elapsed_time('total_execution_time_start', 'total_execution_time_end'); 307 307 308 if ($this->parse_exec_vars === TRUE) 309 { 349 log_message('debug', "Final output sent to browser"); 350 log_message('debug', "Total execution time: ".$elapsed); 351 return TRUE;VoidTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 342 lines
1<?php 2/** 9 * Class VoidTest 10 * @SuppressWarnings(PHPMD.TooManyFields) 11 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 12 */ 13class VoidTest extends \PHPUnit_Framework_TestCase 14{ 20 /** 21 * @var \PHPUnit_Framework_MockObject_MockObject 22 */ 25 /** 26 * @var \PHPUnit_Framework_MockObject_MockObject 27 */ 30 /** 31 * @var \PHPUnit_Framework_MockObject_MockObject 32 */mediamosa_integrity_check.php https://github.com/www-madcap-nl/mediamosa.git | PHP | 303 lines
1<?php 2// $Id$ 28 * @file 29 * Integrity check PHP file 30 */ 40 while (($path = getcwd()) !== '/') { 41 if (file_exists('index.php') && is_dir('includes')) { 42 break; 145 $finfo = stat($file_path); 146 $more_info = exec('ls -sla ' . $file_path); 147 // Make error message. 257 $finfo = stat($file_path); 258 $more_info = exec('ls -sla ' . $file_path); 259 // Make error message.AdminPaymentController.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 313 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2016 PrestaShop SA 23* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 46 } 47 $countries = DB::getInstance()->executeS(' 48 SELECT id_country 58 } 59 $currencies = DB::getInstance()->executeS(' 60 SELECT id_currency 70 } 71 $groups = DB::getInstance()->executeS(' 72 SELECT id_groupejs.js https://github.com/bataboske/titanium_mobile.git | JavaScript | 470 lines
9 * EJS is a client-side preprocessing engine written in and for JavaScript. 10 * If you have used PHP, ASP, JSP, or ERB then you get the idea: code embedded 11 * in <% // Code here %> tags will be executed, and code embedded in <%= .. %> 36 var item = this; 37 var result = regex.exec(item); 38 var retArr = new Array(); 50 item = item.slice(result[0].length); 51 result = regex.exec(item); 52 }class.Object.php https://github.com/janislankovskis/OwlSite.git | PHP | 678 lines
1<?php 2 306 307 return dbExecute($q, __CLASS__); 308 547 548 $result = dbExecute($q, __CLASS__); 549 584 $q = 'UPDATE ' . $this->tableName . ' SET fullUrl = "' . $url . '" WHERE id = ' . $this->id; 585 dbExecute($q); 586 } 639 $q = 'UPDATE objects SET ordering = ' . $next . ' WHERE id = ' . $item->id; 640 dbExecute($q); 641 $next++;centreonCriticality.class.php https://gitlab.com/florianocomercial/centreon | PHP | 357 lines
1<?php 2/* 22 * As a special exception, the copyright holders of this program give Centreon 23 * permission to link this program with independent modules to produce an executable, 24 * regardless of the license terms of these independent modules, and to copy and 24 * regardless of the license terms of these independent modules, and to copy and 25 * distribute the resulting executable under terms of Centreon choice, provided that 26 * Centreon also meet, for each linked independent module, the terms and conditionsevent.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 418 lines
1<?php 2/** 4 * @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. 5 * @license GNU/GPL, see LICENSE.php 6 * 10 * other free or open source software licenses. 11 * See COPYRIGHT.php for copyright notices and details. 12 */ 13 14defined('_JEXEC') or die('Restricted access'); 15 15 16require_once( EBLOG_HELPERS . DIRECTORY_SEPARATOR .'helper.php' ); 17jimport( 'joomla.filesystem.file' ); 54 case 'jomsocial': 55 return JFile::exists( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_community' . DIRECTORY_SEPARATOR . 'libraries' . DIRECTORY_SEPARATOR . 'core.php' ); 56 break;trackback.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 372 lines
1<?php 2/** 2/** 3 * PHP Class to handle TrackBacks (send/ping, receive, retreive, detect, seed, etc...) 4 * 4 * 5 * <code><?php 6 * include('trackback_cls.php'); 11 * 12 * @version $Id: trackback_cls.php,v 1.2 2004/12/11 18:54:32 Ran Exp $ 13 * @copyright Copyright (c) 2004 Ran Aroussi (http://www.blogish.org) 14 * @author Ran Aroussi <ran@blogish.org> 15 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 16 * 18 */ 19defined('_JEXEC') or die('Restricted access'); 20ValidatorTypeGuesser.php https://github.com/Exercise/symfony.git | PHP | 273 lines
1<?php 2 235 /** 236 * Iterates over the constraints of a property, executes a constraints on 237 * them and returns the best guessupdate-db-1.8.6.1-1.8.6.2.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 349 lines
8 * Notice : This script has to be included by index.php 9 * or update_courses.php (deprecated). 10 * 23 24// Check if we come from index.php or update_courses.php - otherwise display error msg 25if (defined('SYSTEM_INSTALLATION')) { 27 // Check if the current Dokeos install is eligible for update 28 if (!file_exists('../inc/conf/configuration.php')) { 29 echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br /> 55 56 // If this script has been included by index.php, not update_courses.php, so 57 // that we want to change the main databases as well... 72 if ($languageForm != 'english') { 73 // languageForm has been escaped in index.php 74 include '../lang/'.$languageForm.'/create_course.inc.php';ProjectTaskTest.php https://bitbucket.org/00firestar00/ejfirestar.com.git | PHP | 386 lines
1<?php 2/** 6 * 7 * CakePHP : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP Project 16 * @package Cake.Test.Case.Console.Command.Task 135 */ 136 public function testExecuteWithAbsolutePath() { 137 $path = $this->Task->args[0] = TMP . 'tests' . DS . 'bake_test_app'; 228 229 $File = new File($path . 'Config' . DS . 'core.php'); 230 $contents = $File->read(); 381 382 $File = new File($path . 'Console' . DS . 'cake.php'); 383 $contents = $File->read();AbstractTableGateway.php https://bitbucket.org/juan_sanchez/aiyellow.git | PHP | 488 lines
1<?php 2/** 207 } 208 return $this->executeSelect($select); 209 } 215 */ 216 protected function executeSelect(Select $select) 217 { 230 231 // prepare and execute 232 $statement = $this->sql->prepareStatementForSqlObject($select); 232 $statement = $this->sql->prepareStatementForSqlObject($select); 233 $result = $statement->execute(); 234 257 $insert->values($set); 258 return $this->executeInsert($insert); 259 }functions.wp-cron.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 402 lines
1<?php 2// Last sync [WP12462] 12 * 13 * Schedules a hook which will be executed once by the WordPress actions core at 14 * a time which you specify. The action will fire off when someone visits your 20 * @param int $timestamp Timestamp for when to run the event. 21 * @param string $hook Action hook to execute when cron is run. 22 * @param array $args Optional. Arguments to pass to the hook's callback function. 39 * 40 * Schedules a hook which will be executed by the WordPress actions core on a 41 * specific interval, specified by you. The action will trigger when someone 50 * @param string $recurrence How often the event should recur. 51 * @param string $hook Action hook to execute when cron is run. 52 * @param array $args Optional. Arguments to pass to the hook's callback function. 72 * @param string $recurrence How often the event should recur. 73 * @param string $hook Action hook to execute when cron is run. 74 * @param array $args Optional. Arguments to pass to the hook's callback function.queue.php https://github.com/Shigaru/shigaru.git | PHP | 323 lines
1<?php 2/** 5 */ 6defined('_JEXEC') or die('Restricted access'); 7?> 7?> 8<?php 9class queueHelper{ 36 @ignore_user_abort(true); 37 $timelimit = ini_get('max_execution_time'); 38 if(!empty($timelimit)){metadata.php https://github.com/Shigaru/shigaru.git | PHP | 361 lines
1<?php 2/** 10// No Permission 11defined('_JEXEC') or die('Restricted Access'); 12 113 114 if (file_exists(JPATH_ACESEF_ADMIN.DS.'extensions'.DS.$component.'.php')) { 115 $acesef_ext = AcesefFactory::getExtension($component);MediaLibraryUiBuilder.php https://gitlab.com/mohamed_hussein/prodt | PHP | 353 lines
68 * The request stack. 69 * @param \Drupal\views\ViewExecutableFactory $views_executable_factory 70 * The views executable factory. 75 */ 76 public function __construct(EntityTypeManagerInterface $entity_type_manager, RequestStack $request_stack, ViewExecutableFactory $views_executable_factory, FormBuilderInterface $form_builder, OpenerResolverInterface $opener_resolver) { 77 $this->entityTypeManager = $entity_type_manager; 78 $this->request = $request_stack->getCurrentRequest(); 79 $this->viewsExecutableFactory = $views_executable_factory; 80 $this->formBuilder = $form_builder; 328 $view = $this->entityTypeManager->getStorage('view')->load('media_library'); 329 $view_executable = $this->viewsExecutableFactory->get($view); 330 $display_id = $state->get('views_display_id', 'widget'); 347 $view_executable->preExecute($args); 348 $view_executable->execute($display_id); 349ClassLoader.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 239 lines
1<?php 2 47 $mapping = array( 48 'Loader' => DIR_BASE_CORE . '/' . DIRNAME_CLASSES . '/Legacy/Loader.php', 49 'TaskPermission' => DIR_BASE_CORE . '/' . DIRNAME_CLASSES . '/Legacy/TaskPermission.php', 49 'TaskPermission' => DIR_BASE_CORE . '/' . DIRNAME_CLASSES . '/Legacy/TaskPermission.php', 50 'FilePermissions' => DIR_BASE_CORE . '/' . DIRNAME_CLASSES . '/Legacy/FilePermissions.php' 51 ); 60 * IDEs will not recognize these classes by default. A symbols file can be generated to 61 * assist IDEs by running SymbolGenerator::render() via PHP or executing the command-line 62 * 'concrete/bin/concrete5 c5:ide-symbols 185 * 186 * The application namespace can be customized by setting `namespace` in the application's `config/app.php`. 187 */ 203 $namespace = 'Application'; 204 $app_config_path = DIR_APPLICATION . '/config/app.php'; 205 $provideCoreExtensionAutoloaderMapping = false;modresponse.class.php https://github.com/gbds/revolution.git | PHP | 260 lines
1<?php 2/* 89 $queryTime= sprintf("%2.4f s", $queryTime); 90 $queries= isset ($this->modx->executedQueries) ? $this->modx->executedQueries : 0; 91 $totalTime= sprintf("%2.4f s", $totalTime); 92 $phpTime= $totalTime - $queryTime; 93 $phpTime= sprintf("%2.4f s", $phpTime); 94 $source= $this->modx->resourceGenerated ? "database" : "cache"; 96 $this->modx->resource->_output= str_replace("[^qt^]", $queryTime, $this->modx->resource->_output); 97 $this->modx->resource->_output= str_replace("[^p^]", $phpTime, $this->modx->resource->_output); 98 $this->modx->resource->_output= str_replace("[^t^]", $totalTime, $this->modx->resource->_output); 154 155 /* tell PHP to call _postProcess after returning the response (for caching) */ 156 register_shutdown_function(array (main2.php https://github.com/MyITCRM/myitcrm1.git | PHP | 373 lines
1<?php 2require('include.php'); 2require('include.php'); 3if(!xml2php("schedule")) { 4 $smarty->assign('error_msg',"Error in language file"); 11 $q = "SELECT WORK_ORDER_CURRENT_STATUS FROM ".PRFX."TABLE_WORK_ORDER WHERE WORK_ORDER_ID=".$db->qstr($wo_id); 12 if(!$rs = $db->execute($q)) { 13 force_page('core', 'error&error_msg=MySQL Error: '.$db->ErrorMsg().'&menu=1&type=database'); 48$q = "SELECT OFFICE_HOUR_START,OFFICE_HOUR_END FROM ".PRFX."SETUP"; 49if(!$rs = $db->execute($q)) { 50 force_page('core', 'error&error_msg=MySQL Error: '.$db->ErrorMsg().'&menu=1&type=database'); 83 AND EMPLOYEE_ID ='".$tech."' ORDER BY SCHEDULE_START ASC"; 84 if(!$rs = $db->Execute($q)) { 85 force_page('core', 'error&error_msg=MySQL Error: '.$db->ErrorMsg().'&menu=1&type=database'); 322 $verticalblocks = renderVerticalEventBlocks($_events, $hrdateline, ($hrdateline+3599), true, $_schedule); 323 $data .= '<td width="'. $splitwidth .'%" class="'. $tdclass .'"'. iif(empty($verticalblocks), ' style="CURSOR: pointer;" onMouseOver="javascript:this.className=\'calhrbg\';" onMouseOut="javascript:this.className=\''. $tdclass .'\';" onClick="javascript:window.location.href=\'index.php?_m=teamwork&_a=insertevent&startdateline='. $hrdateline .'\';" title="'. $_SWIFT["language"]["insertevent"] .'"') .'>'; 324 // $data .= "Event: ".date("d m Y h:i:s A", $_events[8]["startdateline"])."<BR />";function.sqlsrv-begin-transaction.html https://bitbucket.org/stillzhl/manuals.git | HTML | 108 lines
11 <div class="up"><a href="ref.sqlsrv.html">SQLSRV 函数</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="function.sqlsrv-begin-transaction" class="refentry"> 27 The transaction begun by <span class="function"><strong>sqlsrv_begin_transaction()</strong></span> includes 28 all statements that were executed after the call to 29 <span class="function"><strong>sqlsrv_begin_transaction()</strong></span> and before calls to 31 Explicit transactions should be started and committed or rolled back using 32 these functions instead of executing SQL statements that begin and committ/roll 33 back transactions. For more information, see 80<div class="phpcode"><code><span style="color: #000000"> 81<span style="color: #0000BB"><?php<br />$serverName </span><span style="color: #007700">= </span><span style="color: #DD0000">"serverName\sqlexpress"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$connectionInfo </span><span style="color: #007700">= array( </span><span style="color: #DD0000">"Database"</span><span style="color: #007700">=></span><span style="color: #DD0000">"dbName"</span><span style="color: #007700">, </span><span style="color: #DD0000">"UID"</span><span style="color: #007700">=></span><span style="color: #DD0000">"userName"</span><span style="color: #007700">, </span><span style="color: #DD0000">"PWD"</span><span style="color: #007700">=></span><span style="color: #DD0000">"password"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$conn </span><span style="color: #007700">= </span><span style="color: #0000BB">sqlsrv_connect</span><span style="color: #007700">( </span><span style="color: #0000BB">$serverName</span><span style="color: #007700">, </span><span style="color: #0000BB">$connectionInfo</span><span style="color: #007700">);<br />if( </span><span style="color: #0000BB">$conn </span><span style="color: #007700">=== </span><span style="color: #0000BB">false </span><span style="color: #007700">) {<br /> die( </span><span style="color: #0000BB">print_r</span><span style="color: #007700">( </span><span style="color: #0000BB">sqlsrv_errors</span><span style="color: #007700">(), </span><span style="color: #0000BB">true </span><span style="color: #007700">));<br />}<br /><br /></span><span style="color: #FF8000">/* Begin the transaction. */<br /></span><span style="color: #007700">if ( </span><span style="color: #0000BB">sqlsrv_begin_transaction</span><span style="color: #007700">( </span><span style="color: #0000BB">$conn </span><span style="color: #007700">) === </span><span style="color: #0000BB">false </span><span style="color: #007700">) {<br /> die( </span><span style="color: #0000BB">print_r</span><span style="color: #007700">( </span><span style="color: #0000BB">sqlsrv_errors</span><span style="color: #007700">(), </span><span style="color: #0000BB">true </span><span style="color: #007700">));<br />}<br /><br /></span><span style="color: #FF8000">/* Initialize parameter values. */<br /></span><span style="color: #0000BB">$orderId </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">; </span><span style="color: #0000BB">$qty </span><span style="color: #007700">= </span><span style="color: #0000BB">10</span><span style="color: #007700">; </span><span style="color: #0000BB">$productId </span><span style="color: #007700">= </span><span style="color: #0000BB">100</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">/* Set up and execute the first query. */<br /></span><span style="color: #0000BB">$sql1 </span><span style="color: #007700">= </span><span style="color: #DD0000">"INSERT INTO OrdersTable (ID, Quantity, ProductID)<br /> VALUES (?, ?, ?)"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$params1 </span><span style="color: #007700">= array( </span><span style="color: #0000BB">$orderId</span><span style="color: #007700">, </span><span style="color: #0000BB">$qty</span><span style="color: #007700">, </span><span style="color: #0000BB">$productId </span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$stmt1 </span><span style="color: #007700">= </span><span style="color: #0000BB">sqlsrv_query</span><span style="color: #007700">( </span><span style="color: #0000BB">$conn</span><span style="color: #007700">, </span><span style="color: #0000BB">$sql1</span><span style="color: #007700">, </span><span style="color: #0000BB">$params1 </span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/* Set up and execute the second query. */<br /></span><span style="color: #0000BB">$sql2 </span><span style="color: #007700">= </span><span style="color: #DD0000">"UPDATE InventoryTable <br /> SET Quantity = (Quantity - ?) <br /> WHERE ProductID = ?"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$params2 </span><span style="color: #007700">= array(</span><span style="color: #0000BB">$qty</span><span style="color: #007700">, </span><span style="color: #0000BB">$productId</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$stmt2 </span><span style="color: #007700">= </span><span style="color: #0000BB">sqlsrv_query</span><span style="color: #007700">( </span><span style="color: #0000BB">$conn</span><span style="color: #007700">, </span><span style="color: #0000BB">$sql2</span><span style="color: #007700">, </span><span style="color: #0000BB">$params2 </span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/* If both queries were successful, commit the transaction. */<br />/* Otherwise, rollback the transaction. */<br /></span><span style="color: #007700">if( </span><span style="color: #0000BB">$stmt1 </span><span style="color: #007700">&& </span><span style="color: #0000BB">$stmt2 </span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">sqlsrv_commit</span><span style="color: #007700">( </span><span style="color: #0000BB">$conn </span><span style="color: #007700">);<br /> echo </span><span style="color: #DD0000">"Transaction committed.<br />"</span><span style="color: #007700">;<br />} else {<br /> </span><span style="color: #0000BB">sqlsrv_rollback</span><span style="color: #007700">( </span><span style="color: #0000BB">$conn </span><span style="color: #007700">);<br /> echo </span><span style="color: #DD0000">"Transaction rolled back.<br />"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?></span> 82</span> 106 <div class="up"><a href="ref.sqlsrv.html">SQLSRV 函数</a></div> 107 <div class="home"><a href="index.html">PHP Manual</a></div> 108</div></body></html>_exec---pubban_pub_tous.php.html https://bitbucket.org/pombredanne/spip-zone-treemap.git | HTML | 212 lines
22 23 <div id="hierarchie"><:phpdoc:source_file_path:> : /exec/pubban_pub_tous.php</div> 24 61 <td width="6%"></td> 62 <td><small><a href="[(#SELF|parametre_url{doc,__filesource/fsource_Pub_Pages_execpubban_pub_tous.php})]"><:phpdoc:source_code_for_this_file:></a></small></td> 63 </tr> 190 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_info.php})]">Informations / Conseils</a></span><br /> 191 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_pub.php})]">Publicites</a></span><br /> 192 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_pub_edit.php})]">Publicites edit</a></span><br /> 194 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_puce_activation.php})]">Puce activation</a></span><br /> 195 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_stats.php})]">Statistiques</a></span><br /> 196 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_tarifs.php})]">Tarifs</a></span><br /> 200 <p style="font-size: 0.8em; padding: 0.4em; border: 1px solid #cccccc;"> 201 <a href="http://www.phpdoc.org"><img src='#CHEMIN{doc_pub_banner/media/phpdoc_logo_50.png}' border='0' alt='PhpDoc' /> phpDocumentor 1.4.1</a> 202 <br />| <:phpdoc:date_generation:>_exec---pubban_pub_edit.php.html https://bitbucket.org/pombredanne/spip-zone-treemap.git | HTML | 212 lines
22 23 <div id="hierarchie"><:phpdoc:source_file_path:> : /exec/pubban_pub_edit.php</div> 24 61 <td width="6%"></td> 62 <td><small><a href="[(#SELF|parametre_url{doc,__filesource/fsource_Pub_Pages_execpubban_pub_edit.php})]"><:phpdoc:source_code_for_this_file:></a></small></td> 63 </tr> 190 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_info.php})]">Informations / Conseils</a></span><br /> 191 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_pub.php})]">Publicites</a></span><br /> 192 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_pub_edit.php})]">Publicites edit</a></span><br /> 194 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_puce_activation.php})]">Puce activation</a></span><br /> 195 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_stats.php})]">Statistiques</a></span><br /> 196 <span style="padding-left: 1em;"><a href="[(#SELF|parametre_url{doc,Pub/Pages/_exec---pubban_tarifs.php})]">Tarifs</a></span><br /> 200 <p style="font-size: 0.8em; padding: 0.4em; border: 1px solid #cccccc;"> 201 <a href="http://www.phpdoc.org"><img src='#CHEMIN{doc_pub_banner/media/phpdoc_logo_50.png}' border='0' alt='PhpDoc' /> phpDocumentor 1.4.1</a> 202 <br />| <:phpdoc:date_generation:>debugger_hook.cpp https://bitbucket.org/gnanakeethan/hiphop-php.git | C++ | 356 lines
10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 38// here and execute any number of commands from the client. Return from here 39// lets the opcode execute. 40void phpDebuggerOpcodeHook(const uchar* pc) { 211// to apply any pending breakpoints that might be in the file. 212void phpDebuggerFileLoadHook(Eval::PhpFile* efile) { 213 Eval::DebuggerProxyPtr proxy = Eval::Debugger::GetProxy(); 219 220void phpDebuggerDefClassHook(const Class* cls) { 221 Eval::DebuggerProxyPtr proxy = Eval::Debugger::GetProxy();paperclip.rb https://github.com/palladius/lovd-by-less.git | Ruby | 244 lines
8# Copyright:: Copyright (c) 2008 thoughtbot, inc. 9# License:: MIT License (http://www.opensource.org/licenses/mit-license.php) 10# 46 # programs if they are not visible to Rails the system's search path. Defaults to 47 # nil, which uses the first executable found in the search path. 48 def options 95 # geometry strings at the ImageMagick website 96 # (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip 97 # also adds the "#" option (e.g. "50x50#"), which will resize the image to fit maximallystats.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 569 lines
1<?php 2/** 9 10defined('_JEXEC') or die; 11 13 * Statistics system plugin. This sends anonymous data back to the Joomla! Project about the 14 * PHP, SQL, Joomla and OS versions 15 * 324 'unique_id' => $this->getUniqueId(), 325 'php_version' => PHP_VERSION, 326 'db_type' => $this->db->name, 328 'cms_version' => JVERSION, 329 'server_os' => php_uname('s') . ' ' . php_uname('r') 330 ); 453 { 454 // Lock the tables to prevent multiple plugin executions causing a race condition 455 $this->db->lockTable('#__extensions');makeXMLForOneService.php https://gitlab.com/florianocomercial/centreon | PHP | 287 lines
1<?php 2/* 22 * As a special exception, the copyright holders of this program give Centreon 23 * permission to link this program with independent modules to produce an executable, 24 * regardless of the license terms of these independent modules, and to copy and 24 * regardless of the license terms of these independent modules, and to copy and 25 * distribute the resulting executable under terms of Centreon choice, provided that 26 * Centreon also meet, for each linked independent module, the terms and conditions 38 */ 39require_once realpath(dirname(__FILE__) . "/../../../../../../config/centreon.config.php"); 40 40 41include_once $centreon_path . "www/class/centreonUtils.class.php"; 42 202 $obj->XML->writeElement("check_latency_name", _("Latency"), 0); 203 $obj->XML->writeElement("check_execution_time", $data["execution_time"]); 204 $obj->XML->writeElement("check_execution_time_name", _("Execution Time"), 0);COOKBOOK-FIXERS.md https://gitlab.com/yousafsyed/easternglamor | Markdown | 466 lines
9In order to be able to create a new fixer, you need some background. 10PHP CS Fixer is a transcompiler which takes valid PHP code and pretty 11print valid PHP code. It does all transformations in multiple passes, 23If possible, try to get acquainted with the public interface for the 24[Symfony/CS/Tokenizer/Tokens.php](Symfony/CS/Tokenizer/Tokens.php) 25and [Symfony/CS/Tokenizer/Token.php](Symfony/CS/Tokenizer/Token.php) 30* You are familiar with Test Driven Development. 31* Forked FriendsOfPHP/PHP-CS-Fixer into your own Github Account. 32* Cloned your forked repository locally. 32* Cloned your forked repository locally. 33* Downloaded PHP CS Fixer and have executed `php composer.phar 34install`. 121 122`# php php-cs-fixer readme > README.rst` 123SensorRunner.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 351 lines
1<?php 2/** 110 * @param bool $force 111 * Force sensor execution. 112 * @param bool $verbose 176 } catch (\Exception $e) { 177 // In case the sensor execution results in an exception, mark it as 178 // critical and set the sensor status message. 187 $timer = Timer::stop($sensor_config->id()); 188 $result->setExecutionTime($timer['time']); 189 283 'sensor_value' => $result->getValue(), 284 'execution_time' => $result->getExecutionTime(), 285 'timestamp' => $result->getTimestamp(),Curl.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 576 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 119 * User ovverides options hash 120 * Are applied before curl_exec 121 * 252 * 253 * @param string $uri uri relative to host, ex. "/index.php" 254 */ 414 $this->_responseHeaders = array(); 415 $this->_responseBody = curl_exec($this->_ch); 416 $err = curl_errno($this->_ch);MassCancelTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 292 lines
1<?php 2/** 13 * Class MassCancelTest 14 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 15 */ 15 */ 16class MassCancelTest extends \PHPUnit_Framework_TestCase 17{ 23 /** 24 * @var Context|\PHPUnit_Framework_MockObject_MockObject 25 */ 28 /** 29 * @var \Magento\Backend\Model\View\Result\Redirect|\PHPUnit_Framework_MockObject_MockObject 30 */ 33 /** 34 * @var \Magento\Framework\App\Request\Http|\PHPUnit_Framework_MockObject_MockObject 35 */migration_tables_core_538.php https://bitbucket.org/blackriver/openx.git | PHP | 318 lines
1<?php 2 24+---------------------------------------------------------------------------+ 25$Id: migration_tables_core_538.php 81772 2012-09-11 00:07:29Z chris.nutting $ 26*/ 27 28require_once(MAX_PATH.'/lib/OA/Upgrade/Migration.php'); 29 307 308 $result = $this->oDBH->exec($query); 309 if (PEAR::isError($result)) {class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
1<?php 2 184 */ 185 public function executeComponent() 186 {fa.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 313 lines
1<?php 2$translations = array( 16 'No extension' => 'پسوند نامعتبر', 17 'None of the supported PHP extensions (%s) are available.' => ' پسوند پی اچ پی در دسترس نیست (%s) تعداد', 18 'Session support must be enabled.' => 'پشتيباني از نشست بايستي فعال گردد', 19 'Session expired, please login again.' => 'نشست پايان يافته، لطفا دوباره وارد شويد', 20 '%s version: %s through PHP extension %s' => 'نسخه %s : %s توسعه پی اچ پی %s', 21 'Refresh' => 'بازيابي', 44 'SQL command' => 'دستور اس كيو ال', 45 '%d query(s) executed OK.' => '%d كوئري اجرا شد', 46 'Query executed OK, %d row(s) affected.' => 'كوئري اجرا شد. %d سطر تغيير كرد.', 46 'Query executed OK, %d row(s) affected.' => 'كوئري اجرا شد. %d سطر تغيير كرد.', 47 'No commands to execute.' => 'دستوري براي اجرا وجود ندارد', 48 'Error in query' => 'خطا در كوئري', 48 'Error in query' => 'خطا در كوئري', 49 'Execute' => 'اجرا', 50 'Stop on error' => 'توقف در خطا',QueryPluginBase.php https://gitlab.com/reasonat/test8 | PHP | 353 lines
16 * 17 * Query plugins generate and execute a built query object against a 18 * particular storage backend, converting the Views query object into an 62 * @param view $view 63 * The view which is executed. 64 */ 64 */ 65 public function alter(ViewExecutable $view) { } 66 70 * @param view $view 71 * The view which is executed. 72 */ 87 */ 88 public function execute(ViewExecutable $view) { } 89CommentStorage.php https://gitlab.com/geeta7/drupal | PHP | 340 lines
1<?php 2 80 $query->addExpression('MAX(thread)', 'thread'); 81 return $query->execute() 82 ->fetchField(); 95 $query->addExpression('MAX(thread)', 'thread'); 96 return $query->execute() 97 ->fetchField(); 129 130 $ordinal = $query->execute()->fetchField(); 131 171 ->range(0, 1) 172 ->execute() 173 ->fetchField(); 203 ->condition('default_langcode', 1) 204 ->execute() 205 ->fetchCol();phono_chat.js https://bitbucket.org/itoxable/chiron-gaming.git | JavaScript | 377 lines
9 var results = new RegExp('[\\?&]' + name + '=([^&#]*)') 10 .exec(window.location.href); 11 if (!results) { 36 type: "POST", 37 url: "chatAPI.php", 38 dataType: "json", 172 type: "POST", 173 url: "chatAPI.php", 174 dataType: "json", 213 type: "POST", 214 url: "chatAPI.php", 215 dataType: "json",chapterMinutes.php https://github.com/parkeroth/kansasdelts.git | PHP | 405 lines
57 $exec_list = $position_manager->get_positions_by_board('exec'); 58 foreach($exec_list as $exec_position){ 59 $report_list = $report_manager->get_reports_by_meeting($exec_meeting->id, $exec_position->id); 231 <th>Attendance:</th> 232 <td>Present: <strong><?php echo $number_present; ?></strong> Absent: <strong><?php echo $number_absent; ?></strong> Excused: <strong><?php echo $number_excused; ?></strong> 233 | <a href="attendanceRecords.php">View Records</a></td> 285 286 foreach($exec_list as $exec_position){ 287 $officer = $exec_position->get_current_member_id(); 287 $officer = $exec_position->get_current_member_id(); 288 $report_list = $report_manager->get_reports_by_meeting($exec_meeting->id, $exec_position->id); 289 $report = $report_list[0]; 290 291 echo '<span class="execPosition">'.$exec_position->title.': </span>'; 292 echo $officer->first_name.' '.$officer->last_name.'<br>'; //TODO: show all names not just the firstFixtureTask.php https://bitbucket.org/00firestar00/ejfirestar.com.git | PHP | 445 lines
1<?php 2/** 4 * 5 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://cakephp.org CakePHP(tm) Project 14 * @since CakePHP(tm) v 1.3 14 * @since CakePHP(tm) v 1.3 15 * @license http://www.opensource.org/licenses/mit-license.php MIT License 16 */ 101/** 102 * Execution method always used for tasks 103 * Handles dispatching to interactive, named, or all processes. 106 */ 107 public function execute() { 108 parent::execute();PageRepositoryTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 282 lines
1<?php 2/** 46 /** 47 * Execute per test initialization. 48 */actions.class.php https://github.com/dada888/phpcollab3.git | PHP | 291 lines
1<?php 2/** 2/** 3 * This file is part of the phpCollab3 package. 4 * (c) 2009 Ideato s.r.l. <phpcollab@ideato.it> 10 * 11 * @package phpCollab3 12 * @subpackage idProjectManagementPlugin Modules 17 * 18 * @package phpCollab3 19 * @subpackage idProjectManagementPlugin Modules 39 /** 40 * Executes show action 41 * 43 */ 44 public function executeShow(sfWebRequest $request) 45 {TestOfLinkMySQLDAO.php https://github.com/dagda/ThinkUp.git | PHP | 290 lines
1<?php 2require_once dirname(__FILE__).'/init.tests.php'; 2require_once dirname(__FILE__).'/init.tests.php'; 3require_once THINKUP_ROOT_PATH.'webapp/_lib/extlib/simpletest/autorun.php'; 4require_once THINKUP_ROOT_PATH.'webapp/config.inc.php'; 33 $q .= " VALUES ('http://example.com/".$counter."', 'Link $counter', 0, $post_id, 'twitter', 0);"; 34 PDODAO::$PDO->exec($q); 35 $counter++; 45 $q .= "VALUES ('http://flic.kr/p/".$counter."', 'Link $counter', 0, $post_id, 'twitter', 1);"; 46 PDODAO::$PDO->exec($q); 47 $counter++; 58 $q .= "'Generic test error message, Photo not found');"; 59 PDODAO::$PDO->exec($q); 60 71 $q .= "VALUES ('http://bit.ly/beEEfs', 'Link $counter', 0, $post_id, 'twitter', 1, '');"; 72 $this->db->exec($q); 73 $counter++;validation.php https://github.com/o1iver/Code-Backup.git | PHP | 516 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 32 33 // Rules that are executed even when the value is empty 34 protected $_empty_rules = array('not_empty', 'matches'); 109 /** 110 * Overwrites or appends rules to a field. Each rule will be executed once. 111 * All rules must be string names of functions method names. Parameters must 126 * @param string field name 127 * @param callback valid PHP callback 128 * @param array extra parameters for the rule 196 /** 197 * Executes all validation rules. This should 198 * typically be called within an if/else block. 262 263 // Execute the rules 264 foreach ($rules as $field => $set)index.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 363 lines
1<?php 2# Manage user preferences 22 23# we need to define the theme before loading the pre.php init script, 24# otherwise the page needs to be reloaded for the change to take effect. 25# see bug #1987 26require_once('../../include/sane.php'); 27extract(sane_import('post', 40 41require_once('../../include/init.php'); 42require_once('../../include/timezones.php'); 67 68 $success = db_autoexecute('user', 69 array( 130# get global user vars 131$res_user = db_execute("SELECT * FROM user WHERE user_id=?", array(user_getid())); 132$row_user = db_fetch_array($res_user);mysql_driver.php https://bitbucket.org/kurniawanchan83/codeigniter.git | PHP | 532 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 5.2.4 or newer 6 * 227 /** 228 * Execute the query 229 * 232 */ 233 protected function _execute($sql) 234 { 530 531/* End of file mysql_driver.php */ 532/* Location: ./system/database/drivers/mysql/mysql_driver.php */Cli.php https://bitbucket.org/areeves42/openfisma.git | PHP | 353 lines
1<?php 2/* 2/* 3 * $Id: Cli.php 2761 2007-10-07 23:42:29Z zYne $ 4 * 18 * and is licensed under the LGPL. For more information, see 19 * <http://www.phpdoctrine.org>. 20 */ 23 * Command line interface class 24 * Interface for easily executing Doctrine_Task classes from a 25 * command line interface 28 * @subpackage Cli 29 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 30 * @link www.phpdoctrine.org 113 /** 114 * Run the actual task execution with the passed arguments 115 *ScrollBar.js https://github.com/stephaneerard/qooxdoo.git | JavaScript | 429 lines
11 LGPL: http://www.gnu.org/licenses/lgpl.html 12 EPL: http://www.eclipse.org/org/documents/epl-v10.php 13 See the LICENSE file in the project's left-level directory for details. 212 control.setFocusable(false); 213 control.addListener("execute", this._onExecuteBegin, this); 214 this._add(control); 220 control.setFocusable(false); 221 control.addListener("execute", this._onExecuteEnd, this); 222 this._add(control); 364 /** 365 * Executed when the up/left button is executed (pressed) 366 * 375 /** 376 * Executed when the down/right button is executed (pressed) 377 *Type.php https://bitbucket.org/shashwat_dinasource/bitscentral.git | PHP | 395 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 3// +----------------------------------------------------------------------+ 4// | PHP version 4 | 5// +----------------------------------------------------------------------+ 5// +----------------------------------------------------------------------+ 6// | Copyright (c) 1997-2002 The PHP Group | 7// +----------------------------------------------------------------------+ 7// +----------------------------------------------------------------------+ 8// | This source file is subject to version 3.0 of the PHP license, | 9// | that is bundled with this package in the file LICENSE, and is | 10// | available at through the world-wide-web at | 11// | http://www.php.net/license/3_0.txt. | 12// | If you did not receive a copy of the PHP license and are unable to | 13// | obtain it through the world-wide-web, please send a note to | 14// | license@php.net so we can mail you a copy immediately. | 15// +----------------------------------------------------------------------+Discount.php https://github.com/pal/prestashop.git | PHP | 344 lines
1<?php 2 3/** 4 * Discount class, Discount.php 5 * Discounts management 9 * @copyright PrestaShop 10 * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0 11 * @version 1.2 112 return false; 113 return (Db::getInstance()->Execute('DELETE FROM '._DB_PREFIX_.'cart_discount WHERE id_discount = '.intval($this->id)) 114 AND Db::getInstance()->Execute('DELETE FROM '._DB_PREFIX_.'discount_category WHERE id_discount = '.intval($this->id))); 130 { 131 return Db::getInstance()->ExecuteS(' 132 SELECT * 165 166 $res = Db::getInstance()->ExecuteS(' 167 SELECT d.*, dtl.`name` AS `type`, dl.`description`mysql.dbschema.php https://github.com/foxmask/Booster.git | PHP | 304 lines
1<?php 2/** 41 $hasDefault = ($line->Default != '' || !($line->Default == null && $notNull)); 42 // to fix a bug in php 5.2.5 or mysql 5.0.51 43 if($notNull && $line->Default === null && !$autoIncrement) 81 $sql .= ' AUTO_INCREMENT'; 82 $conn->exec($sql); 83 } 93 94 $conn->exec($sql); 95 } 149 150 $conn->exec($sql.'('.substr($f,1).')'); 151 } 164 165 $conn->exec($sql); 166 }OracleSchemaManager.php https://gitlab.com/adrianjose605/SaintW | PHP | 322 lines
1<?php 2/* 289 $query = 'CREATE USER ' . $username . ' IDENTIFIED BY ' . $password; 290 $this->_conn->executeUpdate($query); 291 292 $query = 'GRANT CREATE SESSION, CREATE TABLE, UNLIMITED TABLESPACE, CREATE SEQUENCE, CREATE TRIGGER TO ' . $username; 293 $this->_conn->executeUpdate($query); 294 306 foreach ($sql as $query) { 307 $this->_conn->executeUpdate($query); 308 }CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
196 // PHP 5.3.0 - PHP 5.3.27 197 // PHP 5.4.0 - PHP 5.4.22 198 // PHP 5.5.0 - PHP 5.5.6 201 || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423) 202 || (PHP_VERSION_ID < 50600 && PHP_VERSION_ID >= 50507) 203 ) { 240 // 241 // To verify exec a new PHP process and run the issue testcase with 242 // known safe input that replicates the bug. 244 // Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415 245 // changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593 246 $cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQVhEVEUwTVRFeU9ERXhNemt6TlZvd2djTXhDekFKQmdOVkJBWVRBa1JGTVJ3d0dnWURWUVFJREJOTwpiM0prY21obGFXNHRWMlZ6ZEdaaGJHVnVNUkF3RGdZRFZRUUhEQWRMdzRQQ3RteHVNUlF3RWdZRFZRUUtEQXRUClpXdDBhVzl1UldsdWN6RWZNQjBHQTFVRUN3d1dUV0ZzYVdOcGIzVnpJRU5sY25RZ1UyVmpkR2x2YmpFaE1COEcKQTFVRUF3d1liV0ZzYVdOcGIzVnpMbk5sYTNScGIyNWxhVzV6TG1SbE1Tb3dLQVlKS29aSWh2Y05BUWtCRmh0egpkR1ZtWVc0dVpYTnpaWEpBYzJWcmRHbHZibVZwYm5NdVpHVXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRRERBZjNobDdKWTBYY0ZuaXlFSnBTU0RxbjBPcUJyNlFQNjV1c0pQUnQvOFBhRG9xQnUKd0VZVC9OYSs2ZnNnUGpDMHVLOURaZ1dnMnRIV1dvYW5TYmxBTW96NVBINlorUzRTSFJaN2UyZERJalBqZGhqaAowbUxnMlVNTzV5cDBWNzk3R2dzOWxOdDZKUmZIODFNTjJvYlhXczROdHp0TE11RDZlZ3FwcjhkRGJyMzRhT3M4CnBrZHVpNVVhd1Raa3N5NXBMUEhxNWNNaEZHbTA2djY1Q0xvMFYyUGQ5K0tBb2tQclBjTjVLTEtlYno3bUxwazYKU01lRVhPS1A0aWRFcXh5UTdPN2ZCdUhNZWRzUWh1K3ByWTNzaTNCVXlLZlF0UDVDWm5YMmJwMHdLSHhYMTJEWAoxbmZGSXQ5RGJHdkhUY3lPdU4rblpMUEJtM3ZXeG50eUlJdlZBZ01CQUFHalFqQkFNQWtHQTFVZEV3UUNNQUF3CkVRWUpZSVpJQVliNFFnRUJCQVFEQWdlQU1Bc0dBMVVkRHdRRUF3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K'; 269 count($output) === 3 270 && $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION) 271 && $output[1] === 'string(27) "stefan.esser@sektioneins.de"'Model.class.php https://github.com/liujinsong668/epptime.git | PHP | 295 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ] 4// +---------------------------------------------------------------------- 4// +---------------------------------------------------------------------- 5// | Copyright (c) 2010 http://thinkphp.cn All rights reserved. 6// +---------------------------------------------------------------------- 14 +------------------------------------------------------------------------------ 15 * ThinkPHP 简洁模式Model模型类 16 * 只支持原生SQL操作 支持多数据库连接和切换 107 */ 108 public function execute($sql='') 109 { 113 } 114 $result = $this->db->execute($sql); 115 return $result;plugin_googlemap3_twitter_kml.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 347 lines
1<?php 2/*------------------------------------------------------------------------ 2/*------------------------------------------------------------------------ 3# plugin_googlemap3_twitter.php - Google Maps plugin 4# ------------------------------------------------------------------------ 12 13@define('_JEXEC', 1); 14if (!defined('DS')) 40 41require_once ( JPATH_BASE.'/includes/defines.php' ); 42 42 43if (!file_exists(JPATH_LIBRARIES . '/import.legacy.php')) { 44 // Joomla 1.5 44 // Joomla 1.5 45 require_once ( JPATH_BASE.'/includes/framework.php' ); 46 /* To use Joomla's Database Class */aliases.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 388 lines
1<?php 2/** 8 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL 9 * @version $Id: aliases.php 1687 2010-11-28 19:15:19Z silianacom-svn $ 10 */ 12// Security check to ensure this file is being included by a parent file. 13if (!defined('_JEXEC')) die('Direct Access to this location is not allowed.'); 14fileform.php https://github.com/projectfork/Projectfork.git | PHP | 431 lines
1<?php 2/** 10 11defined('_JEXEC') or die(); 12 181 $record_id = JRequest::getInt($urlVar); 182 $link_base = 'index.php?option=' . $this->option . '&view='; 183 $link_list = $link_base . $this->view_list . $this->getRedirectToListAppend(); 424 if (empty($return) || !JUri::isInternal(base64_decode($return))) { 425 return JRoute::_('index.php?option=com_pfrepo&view=' . $this->view_list . $append, false); 426 }training_partner_game_update.php https://bitbucket.org/itoxable/chiron-gaming.git | PHP | 264 lines
1<?php 2/*******************************************************************************/ 6 7include('general_include.php'); 8include"checklogin.php"; 85 $Sql1= "UPDATE ".TABLEPREFIX."_user_game set ladder_id='',server_id='',race_id='', region_id='', rating_id='' where user_game_id='$user_game_id'"; 86 $AdminManagerObjAjax->Execute($Sql1); 87 112 } 113 echo "<script>window.location.href='training_partner_gamemanager.php?messg=".$msgreport."&u_id=".$u_id."&IsPreserved=Y'</script>"; 114 exit;curl.php https://github.com/theshock/curl.git | PHP | 515 lines
1<?php 2 5 * 6 * See the README for documentation/examples or http://php.net/curl for more information about the libcurl extension for PHP 7 * 84 * Sets the $cookie_file to "curl_cookie.txt" in the current directory 85 * Also sets the $user_agent to $_SERVER['HTTP_USER_AGENT'] if it exists, 'Curl/PHP '.PHP_VERSION.' (http://github.com/shuber/curl)' otherwise 86 **/ 88 { 89 $this->user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'Curl/PHP '.PHP_VERSION.' (http://github.com/shuber/curl)'; 90 } 375 376 $response = curl_exec($this->request); 377webdevicons.vim https://github.com/pope/personal.git | Vim Script | 389 lines
58 59 " @todo I don't even want this to execute UNLESS the user has the 60 " 'nerdtree-git-plugin' INSTALLED (not LOADED) 116 let isOpen = a:node.isOpen 117 let postPadding = g:WebDevIconsNerdTreeAfterGlyphPadding 118 let prePadding = g:WebDevIconsNerdTreeBeforeGlyphPaddingSqliteMetadata.php https://bitbucket.org/zbahij/eprojets_app.git | PHP | 392 lines
1<?php 2/** 44 45 $results = $this->adapter->query($sql, Adapter::QUERY_MODE_EXECUTE); 46 $tables = array(); 205 206 $results = $this->adapter->query($sql, Adapter::QUERY_MODE_EXECUTE); 207 $triggers = array(); 251 252 $results = $this->adapter->query($sql, Adapter::QUERY_MODE_EXECUTE); 253 if ($results instanceof ResultSetInterface) {AdvertiserService.java https://github.com/orchestra-io/sample-openx.git | Java | 358 lines
37class AdvertiserService extends AbstractService { 38 private static final String ADVERTISER_SERVICE = "AdvertiserXmlRpcService.php"; 39 78 public Integer addAdvertiser(Map params) throws XmlRpcException { 79 return (Integer) execute(ADD_ADVERTISER_METHOD, params); 80 } 91 public Boolean modifyAdvertiser(Map params) throws XmlRpcException { 92 return (Boolean) execute(MODIFY_ADVERTISER_METHOD, params); 93 } 104 public Boolean deleteAdvertiser(Integer id) throws XmlRpcException { 105 return (Boolean) execute(DELETE_ADVERTISER_METHOD, id); 106 } 117 public Map getAdvertiser(Integer id) throws XmlRpcException { 118 return (Map) execute(GET_ADVERTISER_METHOD, id); 119 }actionlogs.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 445 lines
1<?php 2/** 9 10defined('_JEXEC') or die; 11 160 } 161 catch (JDatabaseExceptionExecuting $e) 162 { 197 // Do we need to run? Compare the last run timestamp stored in the plugin's options with the current 198 // timestamp. If the difference is greater than the cache timeout we shall not execute again. 199 $now = time(); 219 { 220 // Lock the tables to prevent multiple plugin executions causing a race condition 221 $db->lockTable('#__extensions'); 224 { 225 // If we can't lock the tables it's too risky to continue execution 226 return;wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
1<?php 2 22 23 /* Check if cron is manualy, then execute import */ 24 $cron_job_key = PMXI_Plugin::getInstance()->getOption('cron_job_key'); 90 91 if ( (int) $import->executing ){ 92 155 156 // start execution imports that is in the cron process 157 if ( ! (int) $import->triggered ){ 163 } 164 elseif ( (int) $import->executing ){ 165 wp_send_json(array( 209 210 $response = $import->set(array('canceled' => 0, 'failed' => 0))->execute($logger, true, $history_log->id); 211mssql_driver.php https://gitlab.com/digitalpoetry/exceptionally-timed | PHP | 517 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 169 /** 170 * Execute the query 171 * 174 */ 175 protected function _execute($sql) 176 {prediction_actions_test.php https://github.com/mackensen/moodle.git | PHP | 247 lines
98 $prediction = reset($predictions); 99 $prediction->action_executed(\core_analytics\prediction::ACTION_FIXED, $this->model->get_target()); 100 107 108 $prediction->action_executed(\core_analytics\prediction::ACTION_INCORRECTLY_FLAGGED, $this->model->get_target()); 109 $recordset = $this->model->get_prediction_actions($this->context); 174 * @dataProvider execute_actions_provider 175 * @param array $actionstoexecute An array of actions to execute 176 * @param array $actionnamefilter Actions to filter 178 * 179 * @covers \core_analytics\prediction::get_executed_actions 180 */ 180 */ 181 public function test_get_executed_actions(array $actionstoexecute, array $actionnamefilter, int $returned) { 182helper.php https://github.com/techjoomla/Joomla-Extensions.git | PHP | 390 lines
1<?php 2 4// no direct access 5defined('_JEXEC') or die ('Restricted access'); 6 106 if ($artid = $slide_params->get('id',$slide_params->get('link_article',0))) { 107 require_once(JPATH_BASE.DS.'components'.DS.'com_content'.DS.'models'.DS.'article.php'); 108 require_once(JPATH_BASE.DS.'components'.DS.'com_content'.DS.'helpers'.DS.'route.php'); 125 $artid = $sparams->get('id',$sparams->get('link_article',0)); 126 require_once(JPATH_BASE.DS.'components'.DS.'com_content'.DS.'models'.DS.'article.php'); 127 $model = new ContentModelArticle();blogger.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 323 lines
1<?php 2/** 4 * @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. 5 * @license GNU/GPL, see LICENSE.php 6 * 10 * other free or open source software licenses. 11 * See COPYRIGHT.php for copyright notices and details. 12 */ 13 14defined('_JEXEC') or die('Restricted access'); 15 15 16require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'parent.php' ); 17 73 74 require_once( EBLOG_HELPERS . DIRECTORY_SEPARATOR . 'helper.php' ); 75 $config = EasyBlogHelper::getConfig();default.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 212 lines
1<?php 2/** 10 11defined('_JEXEC') or die; 12 23?> 24<form action="<?php echo JRoute::_('index.php?option=com_content&view=featured'); ?>" method="post" name="adminForm" id="adminForm"> 25<?php if (!empty( $this->sidebar)) : ?> 36 <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> 37 <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CONTENT_FILTER_SEARCH_DESC'); ?>" /> 38 <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> 140 <?php if ($canEdit) : ?> 141 <a href="<?php echo JRoute::_('index.php?option=com_content&task=article.edit&return=featured&id='.$item->id);?>"> 142 <?php echo $this->escape($item->title); ?></a> 166 <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> 167 <input type="text" name="order[]" value="<?php echo $item->ordering; ?>" <?php echo $disabled; ?> class="text-area-order" title="<?php echo $item->title; ?> order" /> 168 <?php else : ?>AviaryFX.php https://github.com/aviaryapi/AviaryFxPhp.git | PHP | 344 lines
1<?php 2 3 /** 4 * AviaryFX PHP SDK 5 * 15 const HARDWARE_VERSION = "1.0"; 16 const SOFTWARE_VERSION = "PHP"; 17 const APP_VERSION = "1.0"; 258 curl_setopt($curl, CURLOPT_POSTFIELDS, $params); 259 if( curl_exec($curl) === false ) { 260 echo "Error: " . curl_error($curl); 261 } else { 262 $response = curl_exec($curl); 263 } 268 /** 269 * Converts a SimpleXMLObject into an array. http://php.net/manual/en/book.simplexml.php 270 *projectteam.php https://gitlab.com/julienv/joomleague | PHP | 394 lines
1<?php 2/** 3* @copyright Copyright (C) 2006-2014 joomleague.at. All rights reserved. 4* @license GNU/GPL, see LICENSE.php 5* Joomla! is free software. This version may have been modified pursuant 8* other free or open source software licenses. 9* See COPYRIGHT.php for copyright notices and details. 10*/ 12// Check to ensure this file is included in Joomla! 13defined('_JEXEC') or die('Restricted access'); 14 55 if ($model->isCheckedOut($user->get('id'))) { 56 $this->setRedirect('index.php?option=com_joomleague&task=projectteam.display&view=projectteams', JText::_('EDITED BY ANOTHER ADMIN')); 57 } 97 } 98 $link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display'; 99 $this->setRedirect($link, $msg);klarnapclass.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 546 lines
1<?php 2defined('_JEXEC') or die('Restricted access'); 101 * 102 * @ignore Do not show in PHPDoc. 103 * @var string 109 * 110 * @ignore Do not show in PHPDoc. 111 * @var int 117 * 118 * @ignore Do not show in PHPDoc. 119 * @var float 125 * 126 * @ignore Do not show in PHPDoc. 127 * @var float 133 * 134 * @ignore Do not show in PHPDoc. 135 * @var floatApiModelFactory.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 283 lines
160 * <p> 161 * The execution environment description file describes how an execution 162 * environment profile is provided by or mapped to a specific JRE. The format for 163 * this file is described here 164 * <code>http://wiki.eclipse.org/index.php/Execution_Environment_Descriptions</code>. 165 * </p> 166 * @param name baseline name 167 * @param eeDescription execution environment description file 168 * @return a new {@link IApiBaseline} 197 * <p> 198 * The execution environment description file describes how an execution 199 * environment profile is provided by or mapped to a specific JRE. The format for 200 * this file is described here 201 * <code>http://wiki.eclipse.org/index.php/Execution_Environment_Descriptions</code>. 202 * </p>file_helper.php https://gitlab.com/lisit1003/TTPHPServer | PHP | 479 lines
4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 240 241 // foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast 242 while (FALSE !== ($file = readdir($fp))) 270* Second parameter allows you to explicitly declare what information you want returned 271* Options are: name, server_path, size, date, readable, writable, executable, fileperms 272* Returns FALSE if the file cannot be found. 317 case 'executable': 318 $fileinfo['executable'] = is_executable($file); 319 break; 334 * 335 * Translates a file extension into a mime type based on config/mimes.php. 336 * Returns FALSE if it can't determine the type, or open the mime config fileconnection.php https://github.com/erikbrannstrom/core.git | PHP | 422 lines
1<?php 2/** 8 * @copyright (c) 2008-2009 Kohana Team 9 * @license http://kohanaphp.com/license 10 */ 23 24 // Identifier for this connection within the PHP driver 25 protected $_connection_id; 46 // Determine if we can use mysqli_set_charset(), which is only 47 // available on PHP 5.2.3+ when compiled against MySQL 5.0+ 48 static::$_set_names = ! function_exists('mysqli_set_charset'); 92 93 // \xFF is a better delimiter, but the PHP driver uses underscore 94 $this->_connection_id = sha1($hostname.'_'.$username.'_'.$password); 174 175 // Execute the query 176 if (($result = $this->_connection->query($sql)) === FALSE)assignment_expression.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 314 lines
12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 25#include "hphp/compiler/analysis/constant_table.h" 26#include "hphp/compiler/analysis/file_scope.h" 27#include "hphp/compiler/expression/unary_op_expression.h" 27#include "hphp/compiler/expression/unary_op_expression.h" 28#include "hphp/parser/hphp.tab.hpp" 29#include "hphp/compiler/code_model_enums.h" 36 37#include "hphp/runtime/base/execution-context.h" 38 308 309void AssignmentExpression::outputPHP(CodeGenerator &cg, AnalysisResultPtr ar) { 310 m_variable->outputPHP(cg, ar);Cache.php https://github.com/cawago/ci_campusync_auth.git | PHP | 416 lines
1<?php 2/* 2/* 3 * $Id: Cache.php 5798 2009-06-02 15:10:46Z piccoloprincipe $ 4 * 18 * and is licensed under the LGPL. For more information, see 19 * <http://www.phpdoctrine.org>. 20 */ 27 * @author Konsta Vesterinen <kvesteri@cc.hut.fi> 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @link www.phpdoctrine.org 154 /** 155 * Get array of all executed queries 156 * 368 /** 369 * Listens the preExecute event of Doctrine_Connection_Statement 370 *helper.php https://gitlab.com/ricardosanchez/prueba | PHP | 481 lines
1<?php 2/** 9 10defined('_JEXEC') or die; 11 12$com_path = JPATH_SITE . '/components/com_content/'; 13require_once $com_path . 'helpers/route.php'; 14 239 $menu = $app->getMenu(); 240 $menuitems = $menu->getItems('link', 'index.php?option=com_users&view=login'); 241 251 252 $item->link = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $Itemid); 253 }StaticValidator.php https://github.com/Respect/Validation.git | PHP | 389 lines
1<?php 2 132 133 public static function executable(): ChainedValidator; 134 297 298 public static function phpLabel(): ChainedValidator; 299cURL.php https://gitlab.com/x33n/ampache | PHP | 349 lines
1<?php 2/** 25 * 26 * @var array cURL information array, see {@see http://php.net/curl_getinfo} 27 */ 110 111 $response = curl_exec($this->fp); 112 116 curl_setopt($this->fp, CURLOPT_ENCODING, 'none'); 117 $response = curl_exec($this->fp); 118 } 146 147 $request['options']['hooks']->dispatch('curl.before_multi_exec', array(&$multihandle)); 148 152 do { 153 $status = curl_multi_exec($multihandle, $active); 154 }cat_msproduct_get.php https://gitlab.com/ptisky/API_prestashop | PHP | 311 lines
1<?php 2/** 35 ORDER BY name"; 36 $res = Db::getInstance()->executeS($sql); 37 foreach($res as $shop) 52 WHERE trg.active=1'; 53 $res=Db::getInstance()->ExecuteS($sql); 54 foreach($res as $row){ 60 $sql = "SELECT id_tax,rate FROM "._DB_PREFIX_."tax"; 61 $res=Db::getInstance()->ExecuteS($sql); 62 foreach($res as $row){ 238 AND id_supplier = '".(int)$prodrow['id_supplier']."'"; 239 $product_supplier = Db::getInstance()->ExecuteS($sql_supplier); 240 $ref_supp = ""; 271 ORDER BY ps.id_product, ps.id_shop"; 272 $res = Db::getInstance()->executeS($sql); 273 foreach($res as $product_by_shop)file_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 479 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 240 241 // foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast 242 while (FALSE !== ($file = readdir($fp))) 270* Second parameter allows you to explicitly declare what information you want returned 271* Options are: name, server_path, size, date, readable, writable, executable, fileperms 272* Returns FALSE if the file cannot be found. 317 case 'executable': 318 $fileinfo['executable'] = is_executable($file); 319 break; 334 * 335 * Translates a file extension into a mime type based on config/mimes.php. 336 * Returns FALSE if it can't determine the type, or open the mime config filewipe.py https://github.com/jmil/SFACT.git | Python | 266 lines
7The wipe manual page is at: 8http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Wipe 9 128 def __init__(self): 129 """Set the default settings, execute title & settings fileName.""" 130 skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.wipe.html', self ) 131 self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Wipe', self, '') 132 self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Wipe') 133 self.activateWipe = settings.BooleanSetting().getFromValue('Activate Wipe', self, False ) 150 self.wipePeriod = settings.IntSpin().getFromValue( 1, 'Wipe Period (layers):', self, 50000, 33333 ) 151 self.executeTitle = 'Wipe' 152 152 153 def execute(self): 154 """Wipe button has been clicked."""sbsdpcmdev.h https://gitlab.com/buktemirlnk/mirrors | C Header | 300 lines
6 * 7 * Unless you and Broadcom execute a separate written software license 8 * agreement governing use of this software, this software is licensed to you 9 * under the terms of the GNU General Public License version 2 (the "GPL"), 10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 11 * following added to such license: 14 * permission to link this software with independent modules, and to copy and 15 * distribute the resulting executable under terms of your choice, provided that 16 * you also meet, for each linked independent module, the terms and conditions ofssp.class.php https://gitlab.com/ealexis.t/trends | PHP | 390 lines
1<?php 2 19// REMOVE THIS BLOCK - used for DataTables test environment only! 20$file = $_SERVER['DOCUMENT_ROOT'].'/datatables/mysql.php'; 21if ( is_file( $file ) ) { 133 * @param array $bindings Array of values for PDO bindings, used in the 134 * sql_exec() function 135 * @return string SQL where clause 218 // Main query to actually get the data 219 $data = self::sql_exec( $db, $bindings, 220 "SELECT SQL_CALC_FOUND_ROWS `".implode("`, `", self::pluck($columns, 'db'))."` 227 // Data set length after filtering 228 $resFilterLength = self::sql_exec( $db, 229 "SELECT FOUND_ROWS()" 348 * Create a PDO binding key which can be used for escaping variables safely 349 * when executing a query with sql_exec() 350 *ListCommand.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 278 lines
1<?php 2 110 */ 111 protected function execute(InputInterface $input, OutputInterface $output) 112 {