100+ results results for 'php reset repo:arade/joomla-cms' (1567 ms)
141static void 142TurnOnHairs(graphPtr, chPtr) 143 Graph *graphPtr; 149 } 150 XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin), 151 chPtr->gc, chPtr->segArr, 2); 234 if (!graphPtr->crosshairs->hidden) { 235 TurnOnHairs(graphPtr, graphPtr->crosshairs); 236 } 243 if (!graphPtr->crosshairs->hidden) { 244 TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs); 245 } 325 326 if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin, 327 "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
1<?php 2 36 37require_once 'CRM/Core/Form.php'; 38require_once 'CRM/Core/PseudoConstant.php'; 38require_once 'CRM/Core/PseudoConstant.php'; 39require_once 'CRM/Contribute/PseudoConstant.php'; 40 115 // set up tabs 116 require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php'; 117 CRM_Contribute_Form_ContributionPage_TabHeader::build( $this ); 152 if ( !$this->_cancelURL ) { 153 $this->_cancelURL = CRM_Utils_System::url( 'civicrm/admin/contribute', 'reset=1' ); 154 } 195 $this->freeze(); 196 $this->addElement('button', 'done', ts('Done'), array('onclick' => "location.href='civicrm/admin/custom/group?reset=1&action=browse'")); 197 }File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
25 */ 26require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 30 */ 31require_once 'Zend/CodeGenerator/Php/Class.php'; 32 38 */ 39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract 40{ 86 if ($fileName == '') { 87 require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 113 if ( ($realpath = Zend_Reflection_File::findRealpathInIncludePath($filePath)) === false) { 114 require_once 'Zend/CodeGenerator/Php/Exception.php'; 115 throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');core.php https://bitbucket.org/daveschwan/ronin-group.git | PHP | 385 lines
6 * 7 * CakePHP(tm) : 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(tm) Project 16 * @package app.Config 89 * To configure CakePHP *not* to use mod_rewrite and to 90 * use CakePHP pretty URLs, remove these .htaccess 91 * files: 205 * 206 * - 'php' - Uses settings defined in your php.ini. 207 * - 'cake' - Saves session files in CakePHP's /tmp directory. 207 * - 'cake' - Saves session files in CakePHP's /tmp directory. 208 * - 'database' - Uses CakePHP's database sessions. 209 * - 'cache' - Use the Cache class to save sessions.File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
25 */ 26require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 30 */ 31require_once 'Zend/CodeGenerator/Php/Class.php'; 32 38 */ 39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract 40{ 86 if ($fileName == '') { 87 require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 113 if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) { 114 require_once 'Zend/CodeGenerator/Php/Exception.php'; 115 throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');Controller.php https://github.com/quarkness/piwik.git | PHP | 321 lines
1<?php 2/** 205 // @see getDefaultWebsiteId() 206 reset($anonymousSites); 207 $anonymousDefaultReport = key($anonymousSites);category.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 394 lines
1<?php 2/** 4* @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. 5* @license GNU/GPL, see LICENSE.php 6* EasyBlog is free software. This version may have been modified pursuant 9* other free or open source software licenses. 10* See COPYRIGHT.php for copyright notices and details. 11*/ 76 77 $mainframe->redirect( 'index.php?option=com_easyblog&view=categories'); 78 exit; 96 97 $mainframe->redirect( 'index.php?option=com_easyblog&view=categories' , $message , $type ); 98 exit; 121 122 $url = 'index.php?option=com_easyblog&view=category'; 123 $mainframe->redirect(JRoute::_($url, false));DefaultOptions.php https://github.com/Exercise/symfony.git | PHP | 320 lines
1<?php 2 19 * 20 * Options are a common pattern for initializing classes in PHP. Avoiding the 21 * problems related to this approach is however a non-trivial task. Usually, 123 * Last but not least, you can define options that depend on other options. 124 * For example, depending on the "make" you could preset the country that the 125 * car is registered in.sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
1<?php 2class SiteMailer 52 $this->headers .= "MIME-Version: 1.0\r\n"; 53 //$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n"; 54 $this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; 90 { 91 $this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--"; 92 $this->msgBody .= $this->attachment; 92 $this->msgBody .= $this->attachment; 93 $this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--"; 94 }*/ 121 break; 122 case 'sendPasswordResetToCustomer': 123 $this->sendPasswordResetToCustomer($property); 127 break; 128 case 'sendPasswordResetToUser': 129 $this->sendPasswordResetToUser($property);jquery.mask.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 281 lines
9 * 10 * The MIT License (http://www.opensource.org/licenses/mit-license.php) 11 * 148 offset = 1, addMethod = "push", 149 resetPos = -1, 150 lastMaskChar, 177 if (translation.recursive) { 178 if (resetPos === -1) { 179 resetPos = m; 180 } else if (m === lastMaskChar) { 181 m = resetPos - offset; 182 } 183 184 if (lastMaskChar === resetPos) { 185 m -= offset;class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
1<?php 2/** 314 if ( 1 === $count ) { 315 $s = reset( $in ); 316 329 if ( 1 === $count ) { 330 $d = reset( $in ); 331 453 if ( is_array( $column ) ) { 454 $column = reset( $column ); 455 }imsenterprise_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 327 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 20 * @package enrol_imsenterprise 21 * @category phpunit 22 * @copyright 2012 David MonllaĆ³ 28global $CFG; 29require_once($CFG->dirroot . '/enrol/imsenterprise/locallib.php'); 30require_once($CFG->dirroot . '/enrol/imsenterprise/lib.php'); 35 * @package enrol_imsenterprise 36 * @category phpunit 37 * @copyright 2012 David MonllaĆ³ 44 protected function setUp() { 45 $this->resetAfterTest(true); 46 $this->imsplugin = enrol_get_plugin('imsenterprise');override_form.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 266 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 28 29require_once($CFG->libdir . '/formslib.php'); 30 101 // Generate an error. 102 $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id)); 103 print_error('groupsnone', 'quiz', $link); 154 // Generate an error. 155 $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id)); 156 print_error('usersnone', 'quiz', $link); 209 // Submit buttons. 210 $mform->addElement('submit', 'resetbutton', 211 get_string('reverttodefaults', 'quiz'));admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 162 { 163 //reset all parent > child relations 164 $this->pages_m->update_all(array('parent_id' => 0)); 543 544 <li id="page_<?php echo $page['id']; ?>"> 545 <div> 545 <div> 546 <a href="#" rel="<?php echo $page['id'] . '">' . $page['title']; ?></a> 547 </div> 548 549 <?php if(isset($page['children'])): ?> 550 <ol> 550 <ol> 551 <?php $this->tree_builder($page); ?> 552 </ol>pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
1<?php 2 36 'agree_to_terms' => 'I Agree to Terms', 37 'forgot_email_message' => 'Please Enter Your Sign Up E-mail. Reset Link Will Sent Your E-mail.', 38 'email_address' => 'E-mail Adress',text_effects.hs https://gitlab.com/stallmanifold/imagemagick | Haskell | 313 lines
5See this forum thread for the genesis of these effects 6http://www.imagemagick.org/discourse-server/viewtopic.php?f=6&t=11586 7and Anthony's Text Effects page at: 55 -- equivalent to the command line +repage 56 resetImagePage w Nothing 57 237 distortImage w barrelDistortion d_args True 238 -- MagickResetImagePage(magick_wand,""); 239 -- Trim the image again 262 distortImage w polarDistortion [0] True 263 -- MagickResetImagePage(magick_wand,""); 264 -- Trim the image againbcm_umi_nand.c https://github.com/ab3416/linux-2.6.git | C | 579 lines
6* under the terms of the GNU General Public License version 2, available at 7* http://www.broadcom.com/licenses/GPLv2.php (the "GPL"). 8* 269 270 writel(NAND_CMD_RESET, bcm_umi_io_base + REG_NAND_CMD_OFFSET); 271 nand_bcm_umi_wait_till_ready();DeleteComment.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 355 lines
1<?php 2 5 */ 6require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' ); 7 58 59 // Reset request 60 $this->_clear_post_action(); 71 $_POST['_page'] = 1; 72 $_POST['_url'] = admin_url( 'edit-comments.php' ); 73 115 116 // Reset request 117 $this->_clear_post_action(); 128 $_POST['_page'] = 1; 129 $_POST['_url'] = admin_url( 'edit-comments.php' ); 130Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
1<?php 2 35 36require_once 'CRM/Contact/Page/View.php'; 37 66 'url' => 'civicrm/contact/view/contribution', 67 'qs' => 'reset=1&id=%%id%%&cid=%%cid%%&honorId=%%honorId%%&action=view&context=%%cxt%%&selectedChild=contribute', 68 'title' => ts('View Contribution'), 72 'url' => 'civicrm/contact/view/contribution', 73 'qs' => 'reset=1&action=update&id=%%id%%&cid=%%cid%%&honorId=%%honorId%%&context=%%cxt%%&subType=%%contributionType%%', 74 'title' => ts('Edit Contribution'), 78 'url' => 'civicrm/contact/view/contribution', 79 'qs' => 'reset=1&action=delete&id=%%id%%&cid=%%cid%%&honorId=%%honorId%%&context=%%cxt%%', 80 'title' => ts('Delete Contribution'), 94 { 95 require_once 'CRM/Contribute/BAO/Contribution.php'; 96about.php https://gitlab.com/Gashler/sg | PHP | 208 lines
87 'heading' => __( 'Template Hierarchy' ), 88 /* Translators: 1: singular.php; 2: single.php; 3:page.php */ 89 'description' => sprintf( __( 'Added %1$s as a fallback for %2$s and %3$s' ), '<code>singular.php</code>', '<code>single.php</code>', '<code>page.php</code>.' ), 104 <h2 class="nav-tab-wrapper"> 105 <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’s New' ); ?></a> 106 <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> 106 <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> 107 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 108 </h2> 171 <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?> 172 <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"> 173 <?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard → Updates' ); ?> 175 <?php endif; ?> 176 <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a> 177 </div>FingersCrossedHandlerTest.php https://gitlab.com/techniconline/kmc | PHP | 255 lines
1<?php 2 55 * @covers Monolog\Handler\FingersCrossedHandler::handle 56 * @covers Monolog\Handler\FingersCrossedHandler::reset 57 */ 57 */ 58 public function testHandleRestartBufferingAfterReset() 59 { 63 $handler->handle($this->getRecord(Logger::DEBUG)); 64 $handler->reset(); 65 $handler->handle($this->getRecord(Logger::INFO));AnnotationDriverTest.php https://bitbucket.org/iiic/iszp.git | PHP | 340 lines
1<?php 2 7 8require_once __DIR__ . '/../../TestInit.php'; 9 47 $annotationDriver = $this->_loadDriverForCMSModels(); 48 $afterTestReset = $annotationDriver->getAllClassNames(); 49 49 50 $this->assertEquals($original, $afterTestReset); 51 } 61 $annotationDriver = $this->_loadDriverForCMSModels(); 62 $afterTestReset = $annotationDriver->getAllClassNames(); 63 63 64 $this->assertEquals($original, $afterTestReset); 65 }reindex.php https://github.com/karpenoktem/punbb.git | PHP | 267 lines
89<!DOCTYPE html> 90<html lang="<?php $lang_common['lang_identifier'] ?>" dir="<?php echo $lang_common['lang_direction'] ?>"> 91<head> 102<body> 103<p><?php echo $lang_admin_reindex['Rebuilding index'] ?></p> 104 229 <div class="sf-box text"> 230 <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_admin_reindex['Posts per cycle'] ?></span> <small><?php echo $lang_admin_reindex['Posts per cycle info'] ?></small></label><br /> 231 <span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_per_page" size="7" maxlength="7" value="100" /></span> 236 <div class="sf-box text"> 237 <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span class="fld-label"><?php echo $lang_admin_reindex['Starting post'] ?></span> <small><?php echo $lang_admin_reindex['Starting post info'] ?></small></label><br /> 238 <span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_start_at" size="7" maxlength="7" value="<?php echo (isset($first_id)) ? $first_id : 0 ?>" /></span> 244 <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="i_empty_index" value="1" checked="checked" /></span> 245 <label for="fld<?php echo $forum_page['fld_count'] ?>"><?php echo $lang_admin_reindex['Empty index'] ?></label> 246 </div>transformation.php https://github.com/xc/zetacomponents.git | PHP | 417 lines
1<?php 2/** 192 // Is output type allowed by this transformation? Else use first allowed one... 193 return in_array( $mimeOut, $this->mimeOut ) ? $mimeOut : reset( $this->mimeOut ); 194 }Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
13 14 // overridable settings that the user may define in settings.php 15 private static $demoMode = false; 37 private static $releaseDate = "2014-09-06"; 38 private static $minimumPHPVersion = "5.3.0"; 39 private static $minimumMySQLVersion = "4.1.3"; 46 // left as public, because they're often modified / accessed, and it's just too fussy otherwise. The 47 // PHPDoc helps my IDE figure out what the hell each of them are 48 105 * <b>generation</b>: when we're in the process of creating actual data 106 * <b>resetPlugins</b>: initialized everything except the plugins, which may be safely reset 107 */ 141 } 142 if (in_array($runtimeContext, array("ui", "generation", "resetPlugins"))) { 143 self::initUser();ExtensionServiceTest.php https://github.com/TYPO3/TYPO3.CMS.git | PHP | 367 lines
1<?php 2 20use Prophecy\Argument; 21use Prophecy\PhpUnit\ProphecyTrait; 22use Prophecy\Prophecy\ObjectProphecy; 51 */ 52 protected bool $resetSingletonInstances = true; 53SnsClient.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 378 lines
1<?php 2 6 7w3_require_once(W3TC_LIB_W3_DIR . '/Enterprise/SnsBase.php'); 8 182 /** 183 * Reloads/compiles a PHP file. 184 * @param string $filename 191 /** 192 * Reloads/compiles a PHP file. 193 * @param string[] $filenames 342 343 // on success - reset messages array, but not hash (not resent repeatedly the same messages) 344 $this->messages = array();Abstract.php https://github.com/Riges/KawaiViewModel.git | PHP | 379 lines
1<?php 2/** 21 22require_once 'Zend/Http/Client.php'; 23 116 if (!isset($user)) { 117 require_once 'Zend/Service/Rackspace/Exception.php'; 118 throw new Zend_Service_Rackspace_Exception("The user cannot be empty"); 120 if (!isset($key)) { 121 require_once 'Zend/Service/Rackspace/Exception.php'; 122 throw new Zend_Service_Rackspace_Exception("The key cannot be empty"); 124 if (!in_array($authUrl, array(self::US_AUTH_URL, self::UK_AUTH_URL))) { 125 require_once 'Zend/Service/Rackspace/Exception.php'; 126 throw new Zend_Service_Rackspace_Exception("The authentication URL should be valid"); 235 } else { 236 require_once 'Zend/Service/Rackspace/Exception.php'; 237 throw new Zend_Service_Rackspace_Exception("The authentication URL is not valid");theme-support.php https://gitlab.com/ravenseyedesign/ravensegg | PHP | 367 lines
1<?php 2/** 180 181 // To completely disable gradients, leave preset array empty. 182// add_theme_support( 'editor-gradient-presets', array() ); 183 184 // Adds gradient preset(s). 185// add_theme_support( 'editor-gradient-presets', array(SensorRunner.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 351 lines
1<?php 2/** 330 /** 331 * Reset sensor result caches. 332 * 333 * @param array $sensor_names 334 * (optional) Array of sensors to reset the cache for. An empty array clears 335 * all results, which is the default. 336 */ 337 public function resetCache(array $sensor_names = array()) { 338 if (empty($sensor_names)) {link-manager.php https://github.com/shlomsky/lim.git | PHP | 292 lines
85<?php screen_icon(); ?> 86<h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php 87if ( !empty($_GET['s']) ) 195 $edit_link = get_edit_bookmark_link(); 196 ?><tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>><?php 197 foreach($link_columns as $column_name=>$column_display_name) { 245 case 'rel': 246 ?><td <?php echo $attributes ?>><?php echo empty($link->link_rel) ? '<br />' : $link->link_rel; ?></td><?php 247 break; 248 case 'visible': 249 ?><td <?php echo $attributes ?>><?php echo $visible; ?></td><?php 250 break; 251 case 'rating': 252 ?><td <?php echo $attributes ?>><?php echo $rating; ?></td><?php 253 break;README.md https://gitlab.com/freebird/WebApp | Markdown | 344 lines
96 * `LessFilter`: parses LESS into CSS (using less.js with node.js) 97 * `LessphpFilter`: parses LESS into CSS (using lessphp) 98 * `OptiPngFilter`: optimize your PNGs 105 * `Sass\ScssFilter`: parses SCSS into CSS 106 * `ScssphpFilter`: parses SCSS using scssphp 107 * `SeparatorFilter`: inserts a separator between assets to prevent merge failures 153 154``` php 155<?php 182$css = $factory->createAsset(array( 183 '@reset', // load the asset manager's "reset" asset 184 'css/src/*.scss', // load every scss files from "/path/to/asset/directory/css/src/" 240$css = $factory->createAsset(array( 241 '@reset', // load the asset manager's "reset" asset 242 'css/src/*.scss', // load every scss files from "/path/to/asset/directory/css/src/"wp-cache-phase1.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 264 lines
1<?php 2// Pre-2.6 compatibility 5 6if( !include( WP_CONTENT_DIR . '/wp-cache-config.php' ) ) 7 return true; 10 11include( WPCACHEHOME . 'wp-cache-base.php'); 12 26 27require_once( WPCACHEHOME . 'wp-cache-phase2.php'); 28 28 29$plugins = glob( $wp_cache_plugins_dir . '/*.php' ); 30if( is_array( $plugins ) ) { 48function gzip_accepted(){ 49 if( ini_get( 'zlib.output_compression' ) ) // don't compress WP-Cache data files when PHP is already doing it 50 return false;proposer_evenement.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 300 lines
1<?php 2/* 13 AND $t = explode('|',$t) 14 AND reset($t)!=='rubrique'); 15 $id_rubrique = 0; 15 $id_rubrique = 0; 16 if (reset($t)=='rubrique') 17 $id_rubrique = intval(end($t)); 136 $verif = sql_allfetsel('id_mot', "spip_mots", array(sql_in("id_groupe",lire_config('propevent/groupes')),sql_in('id_mot',$mots))); 137 $verif = array_map('reset',$verif); 138 $verif = array_map('intval',$verif); 285 'lieu' => $event['lieu'], 286 'mots' => array_map('reset',sql_allfetsel("id_mot", "spip_mots_evenements", "id_evenement=".intval($id_evenement))), 287 'theme' => lire_config('propevent/proposer_thematique')?sql_getfetsel("titre", "spip_rubriques", "id_rubrique=".intval($article['id_rubrique'])):'',BaseFcvalinmold.php https://github.com/cidesa/siga-universitario.git | PHP | 714 lines
1<?php 2 326 327 $this->resetModified(); 328 418 } 419 $this->resetModified(); } 420 469 470 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 471 { 524 525 public function toArray($keyType = BasePeer::TYPE_PHPNAME) 526 { 546 547 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 548 {lang.no.php https://bitbucket.org/unixcrab/colab-lims.git | PHP | 255 lines
1<?php 2//include_once("constants.php"); 96$langdata['all'] = "Alt"; 97$langdata['reset'] = "Null"; 98$langdata['contents'] = "Innhold"; 119 120$langdata['reset_password'] = "Nullstille passord"; 121$langdata['account_admin'] = "Profil";provider_test.php https://bitbucket.org/moodle/moodle.git | PHP | 240 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 37 public function setUp(): void { 38 $this->resetAfterTest(); 39 $this->setAdminUser();k-Means_clustering.php https://github.com/srahn/kvwmap.git | PHP | 233 lines
1<?php 2################################################################### 184 } else { 185 // reset exit condition 186 $classMappingChanged = false;index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 336 lines
15 16require_once('../../../config.php'); 17require_once($CFG->libdir.'/adminlib.php'); 38$ignore = optional_param('ignore', '', PARAM_RAW); 39$reset = optional_param('reset', '', PARAM_RAW); 40$id = optional_param('id', '', PARAM_INT); 96 97<form method="post" action="index.php"> 98 <div> 99 <label class="accesshide" for="keyword_el"><?php print_string('spamkeyword', 'tool_spamcleaner') ?></label> 100 <input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" /> 101 <input type="hidden" name="sesskey" value="<?php echo sesskey();?>" /> 101 <input type="hidden" name="sesskey" value="<?php echo sesskey();?>" /> 102 <input type="submit" value="<?php echo get_string('spamsearch', 'tool_spamcleaner')?>" /> 103 </div>Fuzzy.php https://github.com/Exercise/zf2.git | PHP | 286 lines
1<?php 2/** 153 if (count($subqueries) == 1) { 154 $query = reset($subqueries); 155 }saisies_en.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 176 lines
1<?php 2// This is a SPIP language file -- Ceci est un fichier langue de SPIP 24 'construire_attention_enregistrer' => 'Remember to save your changes!', 25 'construire_attention_modifie' => 'The form below is different from the initial form. You can reset it to the state before the changes.', 26 'construire_attention_supprime' => 'Your changes include deletions of fields. Please confirm the registration of the new version of the form.', 33 'construire_position_label' => 'Position of the field', 34 'construire_reinitialiser' => 'Reset form', 35 'construire_reinitialiser_confirmer' => 'You will lose all your changes. Are you sure you want to go back to the original form?',TemperatureTest.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 447 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: TemperatureTest.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 22 23if (!defined('PHPUnit_MAIN_METHOD')) { 24 define('PHPUnit_MAIN_METHOD', 'Zend_Measure_TemperatureTest::main'); 29 */ 30require_once 'Zend/Measure/Temperature.php'; 31 34 */ 35require_once 'Zend/Registry.php'; 36 44 */ 45class Zend_Measure_TemperatureTest extends PHPUnit_Framework_TestCase 46{adodb-oracle.inc.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 342 lines
1<?php 2/* 123 124 // <G. Giunta 2003/03/03/> Reset error messages before connecting 125 $this->_errorMsg = false; 181 { 182 // <G. Giunta 2003/03/03/> Reset error messages before executing 183 $this->_errorMsg = false;external_test.php https://bitbucket.org/moodle/moodle.git | PHP | 250 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 34 35require_once($CFG->libdir . '/externallib.php'); 36require_once($CFG->dirroot . '/webservice/tests/helpers.php'); 61 public function test_get_trusted_h5p_file() { 62 $this->resetAfterTest(true); 63 $this->setAdminUser(); 106 public function test_h5p_invalid_url() { 107 $this->resetAfterTest(); 108 $this->setAdminUser(); 121 // Create a non-local URL. 122 $urlnonlocal = 'http://www.google.com/pluginfile.php/644/block_html/content/arithmetic-quiz-1-1.h5p'; 123 $result = external::get_trusted_h5p_file($urlnonlocal, 0, 0, 0, 0); 136 public function test_h5p_file_not_found() { 137 $this->resetAfterTest(); 138 $this->setAdminUser();jquery.tagsinput.js https://gitlab.com/techniconline/kmc | JavaScript | 358 lines
10 Licensed under the MIT license: 11 http://www.opensource.org/licenses/mit-license.php 12 48 }; 49 $.fn.resetAutosize = function (options) { 50 // alert(JSON.stringify(options)); 241 $(data.fake_input).css('color', settings.placeholderColor); 242 $(data.fake_input).resetAutosize(settings); 243 304 }); 305 $(event.data.fake_input).resetAutosize(settings); 306 return false;class-config.php https://gitlab.com/iamgraeme/royalmile | PHP | 452 lines
1<?php 2/** 38 function init() { 39 if ( filter_input( INPUT_GET, 'wpseo_reset_defaults' ) && wp_verify_nonce( filter_input( INPUT_GET, 'nonce' ), 'wpseo_reset_defaults' ) && current_user_can( 'manage_options' ) ) { 40 WPSEO_Options::reset(); 40 WPSEO_Options::reset(); 41 wp_redirect( admin_url( 'admin.php?page=' . WPSEO_Admin::PAGE_IDENTIFIER ) ); 42 } 395 ?> 396 <div id="<?php echo esc_attr( $id ); ?>" class="yoastbox"> 397 <h1><?php echo $title; ?></h1> 397 <h1><?php echo $title; ?></h1> 398 <?php echo $content; ?> 399 </div> 399 </div> 400 <?php 401 }langimport.php https://github.com/dhamma-dev/SEA.git | PHP | 387 lines
33require_once($CFG->libdir.'/filelib.php'); 34require_once($CFG->libdir.'/componentlib.class.php'); 35 35 36$thisversion = '2.0'; // TODO this information should be taken from version.php or similar source 37 55 56//reset and diagnose lang cache permissions 57remove_dir($CFG->dataroot.'/cache/languages'); 116 echo $OUTPUT->confirm(get_string('uninstallconfirm', 'admin', $uninstalllang), 117 'langimport.php?mode='.DELETION_OF_SELECTED_LANG.'&uninstalllang='.$uninstalllang.'&confirm=1', 118 'langimport.php'); 162 163 if (file_exists($dest1.'/langconfig.php') || file_exists($dest2.'/langconfig.php')){ 164 $updateablelangs[] = $clang;list.php https://gitlab.com/ricardosanchez/prueba | PHP | 382 lines
1<?php 2/** 337 338 reset($options); 339File.php https://github.com/grandison/budo16.git | PHP | 465 lines
25 */ 26// require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 30 */ 31// require_once 'Zend/CodeGenerator/Php/Class.php'; 32 38 */ 39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract 40{ 86 if ($fileName == '') { 87 // require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 113 if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) { 114 // require_once 'Zend/CodeGenerator/Php/Exception.php'; 115 throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
1<?php 2 149 150 if ( $import->processing == 1 and (time() - strtotime($import->registered_on)) > ((PMXI_Plugin::getInstance()->getOption('cron_processing_time_limit')) ? PMXI_Plugin::getInstance()->getOption('cron_processing_time_limit') : 120)){ // it means processor crashed, so it will reset processing to false, and terminate. Then next run it will work normally. 151 $import->set(array(prediction_actions_test.php https://github.com/mackensen/moodle.git | PHP | 247 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26 27require_once(__DIR__ . '/fixtures/test_indicator_max.php'); 28require_once(__DIR__ . '/fixtures/test_target_shortname.php'); 55 56 $this->resetAfterTest(true); 57 97 list($ignored, $predictions) = $this->model->get_predictions($this->context, true); 98 $prediction = reset($predictions); 99 $prediction->action_executed(\core_analytics\prediction::ACTION_FIXED, $this->model->get_target()); 184 list($ignored, $predictions) = $this->model->get_predictions($this->context, true); 185 $prediction = reset($predictions); 186 $target = $this->model->get_target(); 213 // Teacher 2 flags a prediction (it doesn't matter which one). 214 $prediction = reset($predictions); 215 $prediction->action_executed(\core_analytics\prediction::ACTION_FIXED, $this->model->get_target());Panel.html https://github.com/marekjs/Shacser.git | HTML | 318 lines
1<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-form.Panel-method-constructor'><span id='Ext-form.Panel'>/** 2</span></span> * @class Ext.form.Panel 73 // The form will submit an AJAX request to this URL when submitted 74 url: 'save-form.php', 75 93 94 // Reset and Submit buttons 95 buttons: [{ 95 buttons: [{ 96 text: 'Reset', 97 handler: function() { 97 handler: function() { 98 this.up('form').getForm().reset(); 99 } 209</span> * Loads an {@link Ext.data.Model} into this form (internally just calls {@link Ext.form.Basic#loadRecord}) 210 * See also {@link #trackResetOnLoad}. 211 * @param {Ext.data.Model} record The record to loaddatabase_statements.rb https://github.com/Tho85/rails.git | Ruby | 394 lines
5 super 6 reset_transaction 7 end 198 # isolation level. However, support is disabled for mysql versions below 5, 199 # because they are affected by a bug[http://bugs.mysql.com/bug.php?id=39170] 200 # which means the isolation level gets persisted outside the transaction. 251 252 def reset_transaction #:nodoc: 253 @transaction = ClosedTransaction.new(self) 292 # Set the sequence to the max value of the table's column. 293 def reset_sequence!(table, column, sequence = nil) 294 # Do nothing by default. Implement for PostgreSQL, Oracle, ...sqlite_driver.php https://gitlab.com/venenux/codeigniterpower | PHP | 660 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 * 209 210 // Reset the transaction failure flag. 211 // If the $test_mode flag is set to TRUE transactions will be rolled back 356 $row = $query->row(); 357 $this->_reset_select(); 358 return (int) $row->numrows; 658 659/* End of file sqlite_driver.php */ 660/* Location: ./system/database/drivers/sqlite/sqlite_driver.php */Editor.php https://bitbucket.org/sevenly/magento-ce.git | PHP | 399 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) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 120 varienGlobalEvents.attachEventHandler("formSubmit", editorFormValidationHandler); 121 varienGlobalEvents.attachEventHandler("tinymceBeforeSetContent", ' 122 . $jsSetupObject . '.beforeSetContent.bind(' . $jsSetupObject . '));setup.php https://github.com/Doap/xoops.git | PHP | 202 lines
10 11define("_INSTALL_PAGE_PRESETTING", "Presettings"); 12define("_INSTALL_PAGE_PRESETTING_DESC", "Presettings and server configuration detection"); 176define("_INSTALL_REQUIREMENT_SERVER_MOD_REWRITE", "Apache \"mod_rewrite\" module is required, check <a href='http://httpd.apache.org/docs/current/mod/mod_rewrite.html' title='mod_rewrite' target='_blank'>mod_rewrite</a> for details."); 177define("_INSTALL_REQUIREMENT_SERVER_NOT_SUPPORTED", "The webserver is currently not supported, please use <a href='http://nginx.net' title='nginx' target='_blank'>nginx</a> or <a href='http://www.php.net/manual/en/book.apache.php' target='_blank' title='Apache'>Apache</a>."); 178define("_INSTALL_REQUIREMENT_PHP", "PHP"); 179define("_INSTALL_REQUIREMENT_PDO", "PDO drivers"); 180define("_INSTALL_REQUIREMENT_PDO_PROMPT", "PHP Data Objects (PDO) extension with MySQL driver is required for regular Xoops Engine instances, check <a href='http://www.php.net/manual/en/book.pdo.php' title='PDO' target='_blank'>PDO manual</a> for details."); 181define("_INSTALL_REQUIREMENT_PERSIST", "Persist options"); 190define("_INSTALL_EXTENSION_APC", "APC"); 191define("_INSTALL_EXTENSION_APC_PROMPT", 'The Alternative PHP Cache (APC) is highly recommended for high-performance senario. Refer to <a href="http://www.php.net/manual/en/intro.apc.php" target="_blank" title="APC introduction">APC introduction</a> for details.'); 192define("_INSTALL_EXTENSION_REDIS", "Redis"); 194define("_INSTALL_EXTENSION_MEMCACHED", "Memcached"); 195define("_INSTALL_EXTENSION_MEMCACHED_PROMPT", 'Memcached is highly recommended for high-performance yet robust distributed senario. Refer to <a href="http://www.php.net/manual/en/intro.memcached.php" target="_blank" title="Memcached introduction">Memcached introduction</a> for details.'); 196define("_INSTALL_EXTENSION_MEMCACHE", "Memcache");LoggerFormattingInfo.html https://github.com/kennethjiang/Wolke.git | HTML | 349 lines
105 <p class="notes"> 106 Located in <a class="field" href="_helpers---LoggerFormattingInfo.php.html">/helpers/LoggerFormattingInfo.php</a> (line <span class="field">29</span>) 107 </p> 171 <span class="method-result">void</span> 172 <a href="#reset" title="details" class="method-name">reset</a> 173 () 276 277 <!-- ========== Info from phpDoc block ========= --> 278<p class="short-description">Constructor</p> 316 </div> 317<a name="methodreset" id="reset"><!-- --></a> 318<div class="oddrow"> 345 <p class="notes" id="credit"> 346 Documentation generated on Fri, 27 Nov 2009 07:44:50 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> 347 </p>site-users.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 330 lines
10/** Load WordPress Administration Bootstrap */ 11require_once( dirname( __FILE__ ) . '/admin.php' ); 12 205<h1 id="edit-site"><?php echo $title; ?></h1> 206<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p> 207<?php 272if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?> 273<h2 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h2> 274<form action="site-users.php?action=adduser" id="adduser" method="post"> 302<h2 id="add-new-user"><?php _e( 'Add New User' ); ?></h2> 303<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post"> 304 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 320 <tr class="form-field"> 321 <td colspan="2"><?php _e( 'A password reset link will be sent to the user via email.' ) ?></td> 322 </tr>Collection.php https://bitbucket.org/kdms/sh-magento.git | PHP | 371 lines
1<?php 2/** 180 $select = clone $this->getSelect(); 181 $select->reset(Zend_Db_Select::ORDER); 182 return $this->getConnection()->select()->from($select, 'COUNT(*)'); 355 } 356 $this->getSelect()->reset()->union($unionParts, Zend_Db_Select::SQL_UNION_ALL); 357 } 361 $cloneSelect = clone $this->getSelect(); 362 $this->getSelect()->reset()->from($cloneSelect, $this->getAggregatedColumns()); 363 } else {Amazon.php https://gitlab.com/devtoannh/cafe | PHP | 323 lines
1<?php 2 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id: Amazon.php 23775 2011-03-01 17:25:24Z ralph $ 22 */ 26 */ 27require_once 'Zend/Rest/Client.php'; 28 92 */ 93 require_once 'Zend/Service/Exception.php'; 94 throw new Zend_Service_Exception("Unknown country code: $countryCode"); 115 $options = $this->_prepareOptions('ItemSearch', $options, $defaultOptions); 116 $client->getHttpClient()->resetParameters(); 117 $response = $client->restGet('/onca/xml', $options); 122 */ 123 require_once 'Zend/Service/Exception.php'; 124 throw new Zend_Service_Exception('An error occurred sending request. Status code: 'sso.php https://gitlab.com/Lidbary/foxyshop | PHP | 242 lines
7add_action('user_register', 'foxyshop_profile_add', 5); 8add_action('password_reset', 'foxyshop_password_reset_at_foxycart', 5, 2); 9 9 10//Reset the Password at FoxyCart on a WordPress Password Reset 11function foxyshop_password_reset_at_foxycart($wp_user, $new_password) { 138 <th><label for="foxycart_customer_id"><?php _e('FoxyCart Customer ID', 'foxyshop'); ?></label></th> 139 <td><input type="text" name="foxycart_customer_id" id="foxycart_customer_id" value="<?php echo esc_attr(get_user_meta($user->ID, 'foxycart_customer_id', 1) ); ?>" /> <span class="description"><?php _e('Editing is not recommended', 'foxyshop'); ?></span></td> 140 </tr> 148 149 <?php 150 //Get User's Subscription Array 174 <td class="column-columnname"><?php echo ($val['is_active'] == 1 ? __('Yes', 'foxyshop') : __('No', 'foxyshop')); ?></td> 175 <td class="column-columnname"><a href="<?php echo $val['sub_token_url']; ?>&cart=checkout" target="_blank"><?php _e('Update Info', 'foxyshop');?></a> | <a href="<?php echo $val['sub_token_url']; ?>&sub_cancel=true&cart=checkout" target="_blank"><?php _e('Cancel', 'foxyshop');?></a></td> 176 </tr>Mmc.c https://gitlab.com/envieidoc/Clover | C | 454 lines
8 which accompanies this distribution. The full text of the license may be found at 9 http://opensource.org/licenses/bsd-license.php 10 108 MmcHostInstance->BlockIo.Revision = EFI_BLOCK_IO_INTERFACE_REVISION; 109 MmcHostInstance->BlockIo.Reset = MmcReset; 110 MmcHostInstance->BlockIo.ReadBlocks = MmcReadBlocks;Mmc.h https://gitlab.com/envieidoc/Clover | C Header | 302 lines
8 which accompanies this distribution. The full text of the license may be found at 9 http://opensource.org/licenses/bsd-license.php 10 184/** 185 Reset the block device. 186 186 187 This function implements EFI_BLOCK_IO_PROTOCOL.Reset(). 188 It resets the block device hardware. 192 @param ExtendedVerification Indicates that the driver may perform a more exhaustive 193 verification operation of the device during reset. 194 194 195 @retval EFI_SUCCESS The block device was reset. 196 @retval EFI_DEVICE_ERROR The block device is not functioning correctly and could not be reset.u8g_dev_ssd1322_nhd31oled_bw.c https://gitlab.com/anthem/Marlin | C | 338 lines
56 http://www.newhavendisplay.com/app_notes/OLED_25664.txt 57 http://www.newhavendisplay.com/forum/viewtopic.php?f=15&t=3758 58*/ 63 U8G_ESC_ADR(0), /* instruction mode */ 64 U8G_ESC_RST(1), /* do reset low pulse with (1*16)+2 milliseconds */ 65 U8G_ESC_CS(1), /* enable chip */ 128 U8G_ESC_ADR(0), /* instruction mode */ 129 0x0b1, /* Phase 1 (Reset) & Phase 2 (Pre-Charge) Period Adjustment */ 130 U8G_ESC_ADR(1), /* data mode */Api_channel_categories.php https://bitbucket.org/mbaily/tremain.git | PHP | 404 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 67 { 68 // reset $this->categories 69 $this->initialize(array( 402 403/* End of file Api_channel_categories.php */ 404/* Location: ./system/expressionengine/libraries/api/Api_channel_categories.php */RedirectPluginTest.php https://gitlab.com/techniconline/kmc | PHP | 277 lines
1<?php 2 236 237 public function testResetsHistoryEachSend() 238 {jquery.combo.js https://bitbucket.org/chanthorn/easyace.git | JavaScript | 425 lines
8 * http://www.gnu.org/licenses/gpl.txt 9 * http://www.jeasyui.com/license_commercial.php 10 * 383}); 384},reset:function(jq){ 385return jq.each(function(){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 187 */ 188 public function reset() 189 {file_helper.php https://github.com/Sa-ryong/Stadioom-php.git | 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 * 181 { 182 // reset the array and make sure $source_dir has a trailing slash on the initial call 183 if ($_recursion === FALSE) 233 { 234 // reset the array and make sure $source_dir has a trailing slash on the initial call 235 if ($_recursion === FALSE) 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))) 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 filearticle.php https://github.com/CCI-Studios/Wee-Magazine.git | PHP | 545 lines
1<?php 2/** 14 15require_once JPATH_COMPONENT_ADMINISTRATOR.'/helpers/content.php'; 16 90 91 $table->reset(); 92 114 115 // Reset the ID because we are making a copy 116 $table->id = 0;symbol_table.h https://bitbucket.org/gnanakeethan/hiphop-php.git | C Header | 395 lines
6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 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 +----------------------------------------------------------------------+ 16 17#ifndef incl_HPHP_SYMBOL_TABLE_H_ 18#define incl_HPHP_SYMBOL_TABLE_H_ 19 20#include "hphp/compiler/hphp.h" 21#include "hphp/util/json.h" 21#include "hphp/util/json.h" 22#include "hphp/util/util.h" 23#include "hphp/util/lock.h"shp.php https://bitbucket.org/pavolve/masterskayaludmila.git | PHP | 426 lines
1<?php 2/** 2/** 3 * ESRI Shape file import plugin for phpMyAdmin 4 * 4 * 5 * @package PhpMyAdmin-Import 6 * @subpackage ESRI_Shape 7 */ 8if (! defined('PHPMYADMIN')) { 9 exit; 33 set_include_path(get_include_path() . PATH_SEPARATOR . getcwd() . '/libraries/bfShapeFiles/'); 34 include_once './libraries/bfShapeFiles/ShapeFile.lib.php'; 35 58 /** 59 * This class extends ShapeFile class to cater the following phpMyAdmin 60 * specific requirements.security.php https://github.com/kpike/moodle.git | PHP | 131 lines
1<?php 2 36 $item = new admin_setting_configcheckbox('enablehtmlpurifier', get_string('enablehtmlpurifier', 'admin'), get_string('configenablehtmlpurifier', 'admin'), 1); 37 $item->set_updatedcallback('reset_text_filters_cache'); 38 $temp->add($item);app.php https://gitlab.com/tuonglv/library_tuong | PHP | 217 lines
1<?php 2 34 | Here you may specify the default timezone for your application, which 35 | will be used by the PHP date and date-time functions. We have gone 36 | ahead and set this to a sensible default for you out of the box. 83 | Here you may configure the log settings for your application. Out of 84 | the box, Laravel uses the Monolog PHP logging library. This gives 85 | you a variety of powerful log handlers / formatters to utilize. 124 Illuminate\Redis\RedisServiceProvider::class, 125 Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, 126 Illuminate\Session\SessionServiceProvider::class,File.php https://bitbucket.org/acidel/buykoala.git | PHP | 412 lines
29 */ 30#require_once 'Zend/Reflection/Function.php'; 31 94 if (!$fileRealpath || !in_array($fileRealpath, get_included_files())) { 95 #require_once 'Zend/Reflection/Exception.php'; 96 throw new Zend_Reflection_Exception('File ' . $file . ' must be required before it can be reflected'); 187 if (!$instance instanceof Zend_Reflection_Docblock) { 188 #require_once 'Zend/Reflection/Exception.php'; 189 throw new Zend_Reflection_Exception('Invalid reflection class specified; must extend Zend_Reflection_Docblock'); 225 if (!$instance instanceof Zend_Reflection_Function) { 226 #require_once 'Zend/Reflection/Exception.php'; 227 throw new Zend_Reflection_Exception('Invalid reflection class provided; must extend Zend_Reflection_Function'); 319 * Token ID's are explained here: 320 * http://www.php.net/manual/en/tokens.php. 321 */Collection.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 347 lines
1<?php 2/** 14 * Sales Rules resource collection model. 15 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 16 */ 126 * @use $this->addWebsiteGroupDateFilter() 127 * @SuppressWarnings(PHPMD.UnusedFormalParameter) 128 * @return $this 138 /* We need to overwrite joinLeft if coupon is applied */ 139 $this->getSelect()->reset(); 140 parent::_initSelect();export_execute.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 252 lines
1<?php 2 2 3require_once('../config.php'); 4//require_once($CFG->dirroot.'/course/lib.php'); 4//require_once($CFG->dirroot.'/course/lib.php'); 5require_once($CFG->dirroot.'/calendar/lib.php'); 6require_once($CFG->libdir.'/bennu/bennu.inc.php'); 36 37$what = optional_param('preset_what', 'all', PARAM_ALPHA); 38$time = optional_param('preset_time', 'weeknow', PARAM_ALPHA); 48 $params = array(); 49 $params['preset_what'] = $what; 50 $params['preset_time'] = $time; 54 55 $link = new moodle_url('/calendar/export.php', $params); 56 redirect($link->out());translated-object.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 272 lines
1<?php 2 66 else { 67 $term = reset( $term ); 68 } 111 $terms = wp_get_object_terms( $translations, $this->tax_translations ); 112 $term = reset( $terms ); 113DB_result.php https://gitlab.com/ricoru21/py_incidencia | PHP | 410 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 * 183 } 184 // reset the $n variable if the result was not achieved 185 $n = 0; 408 409/* End of file DB_result.php */ 410/* Location: ./system/database/DB_result.php */provider_test.php https://bitbucket.org/moodle/moodle.git | PHP | 319 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 28global $CFG; 29require_once($CFG->dirroot . '/mod/assign/locallib.php'); 30require_once($CFG->dirroot . '/mod/assign/tests/privacy/provider_test.php'); 133 public function test_export_feedback_user_data() { 134 $this->resetAfterTest(); 135 // Create course, assignment, submission, and then a feedback comment. 172 public function test_delete_feedback_for_context() { 173 $this->resetAfterTest(); 174 // Create course, assignment, submission, and then a feedback comment. 210 public function test_delete_feedback_for_grade() { 211 $this->resetAfterTest(); 212 // Create course, assignment, submission, and then a feedback comment. 251 252 $this->resetAfterTest(); 253 // Create course, assignment, submission, and then a feedback comment.task_test.php https://bitbucket.org/moodle/moodle.git | PHP | 307 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 34 35 $this->resetAfterTest(true); 36 $this->setAdminUser(); 152 public function test_sync_plans_from_cohorts_with_templateduedate_task() { 153 $this->resetAfterTest(true); 154 $this->setAdminUser(); 233 234 $this->resetAfterTest(true); 235 $this->setAdminUser(); 270 global $DB; 271 $this->resetAfterTest(true); 272 $this->setAdminUser();QueryBuilder.php https://gitlab.com/brucealdridge/yii2 | PHP | 260 lines
1<?php 2/** 121 */ 122 public function resetSequence($table, $value = null) 123 { 191 if (empty($names) && $tableSchema !== null) { 192 $columns = !empty($tableSchema->primaryKey) ? $tableSchema->primaryKey : reset($tableSchema->columns)->name; 193 foreach ($columns as $name) {symbol_table.cpp https://gitlab.com/iranjith4/hhvm | C++ | 318 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 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 | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 16 17#include "hphp/compiler/analysis/symbol_table.h" 18#include <map>Event.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 340 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 */ 112 /** 113 * Reset old and new data arrays 114 * 116 */ 117 public function resetData() 118 {example57_new_mPDF_v5-3_active_forms.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 233 lines
1<?php 2 3 4include("../mpdf.php"); 5 22 23<form action="http://127.0.0.1/MPDF1.com/common/mpdf/examples/formsubmit.php" method="post"> 24<b>Input Text</b> 147 148<input type="reset" name="resetfield" value="Reset" /> 149 187/* 188// Try playing around with these (these are also in config.php) 189$mpdf->formUseZapD = false;CakeTestFixture.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 328 lines
1<?php 2/** 2/** 3 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests 12 * @package Cake.TestSuite.Fixture 12 * @package Cake.TestSuite.Fixture 13 * @since CakePHP(tm) v 1.2.0.4667 14 * @license http://www.opensource.org/licenses/mit-license.php MIT License 34/** 35 * CakePHP's DBO driver (e.g: DboMysql). 36 * 303 ) { 304 $db->resetSequence($this->table, $this->primaryKey); 305 }routes.php https://gitlab.com/melentev-av/perki.dev | PHP | 472 lines
1<?php 2 97 98 Route::any('/reset/{token}', array( 99 'as' => 'user/reset', 99 'as' => 'user/reset', 100 'uses' => 'UserController@resetAction' 101 ));HelperRegistryTest.php https://gitlab.com/18runt88/cakephp | PHP | 334 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @since 2.0.0 12 * @since 2.0.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 223 /** 224 * Test reset. 225 * 227 */ 228 public function testReset() 229 {trpage_pparse.cpp https://gitlab.com/smurmann/KDUProjects | C++ | 431 lines
91 */ 92trpgPrintGraphParser::trpgPrintGraphParser(trpgr_Archive *inArch,trpgrImageHelper *inImg,trpgPrintBuffer *inBuf):printBuf(inBuf), archive(inArch), imageHelp(inImg), childRefCB(0) 93{ 114 */ 115bool trpgPrintGraphParser::StartChildren(void *) 116{ 126 */ 127bool trpgPrintGraphParser::EndChildren(void *) 128{ 152 153void trpgPrintGraphParser::Reset() 154{ 158 159void trpgPrintGraphParser::ReadHelper::Reset() 160{jurnal_umum.js https://gitlab.com/zetrosoft/pos-ci | JavaScript | 384 lines
60 $('#process').click(function(){ 61 var path=$('#path').val().replace('index.php/',''); 62 var ajax="<tr><td class='kotak' colspan='8'>Data being processed, please wait...<img src='"+path+"asset/img/indicator.gif'></td></tr>"; 93 $('div#addcontent').hide(); 94 $(':reset').click(); 95 tglNow('#Tanggal'); 151 },function(result){ 152 $('#frm1 :reset').click(); 153 tglNow('#Tanggal') 275 case 'ID_KBR': 276 $('#frm3 input:reset').click(); 277 $('#ID_Jurnale') 288 case 'ID_USP': 289 $('#frm3 input:reset').click(); 290 $('#ID_Jurnale')MDB2Store.php https://github.com/DartmouthHackerClub/Monologue_Community.git | PHP | 413 lines
1<?php 2 5 * 6 * PHP versions 4 and 5 7 * 15 16require_once 'MDB2.php'; 17 20 */ 21require_once 'Auth/OpenID/Interface.php'; 22 25 */ 26require_once 'Auth/OpenID.php'; 27 30 */ 31require_once 'Auth/OpenID/Nonce.php'; 32DbSelectTest.php https://github.com/Exercise/zf2.git | PHP | 470 lines
1<?php 2/** 31 32require_once __DIR__ . '/../_files/TestTable.php'; 33 41 */ 42class DbSelectTest extends \PHPUnit_Framework_TestCase 43{ 150 $rowCount = clone $this->_query; 151 $rowCount->reset(Select::COLUMNS) 152 ->reset(Select::ORDER) // ZF-3740 152 ->reset(Select::ORDER) // ZF-3740 153 ->reset(Select::LIMIT_OFFSET) // ZF-3727 154 ->reset(Select::GROUP) // ZF-4001sm750_hw.c https://gitlab.com/kush/linux | C | 568 lines
130 val = peek32(SYSTEM_CTRL) & ~SYSTEM_CTRL_DPMS_MASK; 131 val |= SYSTEM_CTRL_DPMS_VPHP; 132 poke32(SYSTEM_CTRL, val); 436 pr_debug("flag = FB_BLANK_UNBLANK\n"); 437 dpms = SYSTEM_CTRL_DPMS_VPHP; 438 pps = PANEL_DISPLAY_CTRL_DATA; 441 pr_debug("flag = FB_BLANK_NORMAL\n"); 442 dpms = SYSTEM_CTRL_DPMS_VPHP; 443 crtdb = CRT_DISPLAY_CTRL_BLANK; 494 } else { 495 /* engine reset */ 496 reg = peek32(SYSTEM_CTRL);biblio_list.inc.php https://gitlab.com/mucill/majalengka | PHP | 294 lines
1<?php 2/** 85 $_sql_criteria .= " biblio.biblio_id IN(SELECT DISTINCT biblio_id FROM biblio WHERE MATCH (title, series_title) AGAINST ('$_title_buffer' IN BOOLEAN MODE)) "; 86 // reset title buffer 87 $_title_buffer = ''; 135 } 136 // reset title buffer 137 $_title_buffer = ''; 255 // checking custom frontpage fields file 256 $custom_frontpage_record_file = SB.$sysconf['template']['dir'].'/'.$sysconf['template']['theme'].'/custom_frontpage_record.inc.php'; 257 if (file_exists($custom_frontpage_record_file)) {File.html https://bitbucket.org/glebiuskv/extjs-overlay.git | HTML | 276 lines
59 * form.submit({ 60 * url: 'photo-upload.php', 61 * waitMsg: 'Uploading your photo...', 218 219<span id='Ext-form-field-File-method-reset'> reset : function(){ 220</span> var me = this, 222 if (me.rendered) { 223 me.button.reset(clear); 224 me.fileInputEl = me.button.fileInputEl; 254</span> var fileInput = this.button.fileInputEl.dom; 255 this.reset(); 256 return fileInput;model.php https://github.com/keiouu/Evelite.git | PHP | 398 lines
1<?php 2/* 9 10require_once(home_dir . "framework/database.php"); 11require_once(home_dir . "framework/model_query.php"); 11require_once(home_dir . "framework/model_query.php"); 12require_once(home_dir . "framework/model_fields/init.php"); 13 195 196 // Unsetting a field resets it to default value 197 public function __unset($name) { 200 if ($this->__isset($name)) 201 $this->fields[$name]->reset(); 202 }Heuristics.php https://gitlab.com/mrceperka/mi-paa | PHP | 598 lines
1<?php 2namespace MrCeperka\MIPAA\Heuristics; 3 4require_once 'Helpers.php'; 5 339 //before traveling back in up direction in decision tree 340 //reset it back to false 341 $this->bagItems[$level] = false; 398 399 /*echo 'maxPrice: ' . $maxPrice . PHP_EOL; 400 echo 'bits: ' . $b . PHP_EOL; 400 echo 'bits: ' . $b . PHP_EOL; 401 echo 'me:' . $maxError . PHP_EOL;*/ 402 } 503 * @link http://www.geeksforgeeks.org/branch-and-bound-set-2-implementation-of-01-knapsack/ 504 * Ported to PHP 505 */fetch.php https://github.com/mchurchward/moodle.git | PHP | 283 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 132 ), 133 'resetpreferences' => new external_value( 134 PARAM_BOOL, 134 PARAM_BOOL, 135 'Whether the table preferences should be reset', 136 VALUE_REQUIRED, 155 * @param string $jointype The join type. 156 * @param bool $resetpreferences Whether it is resetting table preferences or not. 157 * 187 'hiddencolumns' => $hiddencolumns, 188 'resetpreferences' => $resetpreferences, 189 ] = self::validate_parameters(self::execute_parameters(), [ 200 'hiddencolumns' => $hiddencolumns, 201 'resetpreferences' => $resetpreferences, 202 ]);Fuzzy.php https://bitbucket.org/acidel/buykoala.git | PHP | 287 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Fuzzy.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 24/** Zend_Search_Lucene_Search_Query_Processing */ 25#require_once 'Zend/Search/Lucene/Search/Query/Preprocessing.php'; 26 98 if ($this->_field === null) { 99 #require_once 'Zend/Search/Lucene/Search/Query/Boolean.php'; 100 $query = new Zend_Search_Lucene_Search_Query_Boolean(); 103 104 #require_once 'Zend/Search/Lucene.php'; 105 if (Zend_Search_Lucene::getDefaultSearchField() === null) { 110 111 #require_once 'Zend/Search/Lucene/Search/Query/Preprocessing/Fuzzy.php'; 112 foreach ($searchFields as $fieldName) {PaymentMethodManagementTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 332 lines
1<?php 2/** 24 /** 25 * @magentoApiDataFixture Magento/Checkout/_files/quote_with_payment_saved.php 26 */ 26 */ 27 public function testReSetPayment() 28 { 57 /** 58 * @magentoApiDataFixture Magento/Checkout/_files/quote_with_virtual_product_and_address.php 59 */ 89 /** 90 * @magentoApiDataFixture Magento/Checkout/_files/quote_with_address_saved.php 91 */ 122 /** 123 * @magentoApiDataFixture Magento/Checkout/_files/quote_with_simple_product_saved.php 124 * @expectedException \ExceptionAssetCompressHelperTest.php https://github.com/renan/asset_compress.git | PHP | 491 lines
1<?php 2App::uses('AssetConfig', 'AssetCompress.Lib'); 129 $this->Helper->addCss('base'); 130 $this->Helper->addCss('reset'); 131 131 132 $hash = md5('base_reset'); 133 138 'rel' => 'stylesheet', 139 'href' => '/cache_css/' . $hash . '.css?file%5B0%5D=base&file%5B1%5D=reset' 140 )WrapperRequest.java https://bitbucket.org/haris_peco/debrief.git | Java | 502 lines
12 * You can obtain a copy of the LGPL 2.1 license at 13 * http://www.opensource.org/licenses/lgpl-2.1.php 14 * 15 * You can obtain a copy of the CDDL 1.0 license at 16 * http://www.opensource.org/licenses/cddl1.php 17 * 18 * You can obtain a copy of the EPL 1.0 license at 19 * http://www.opensource.org/licenses/eclipse-1.0.php 20 * 462 * be resolved as an absolute reference. Also, the context's base reference 463 * will be reset. Finally, the reference will be normalized to ensure a 464 * consistent handling of the call.tour.php https://bitbucket.org/moodle/moodle.git | PHP | 333 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 113 /** 114 * Reset the specified tour for the current user. 115 * 117 * @param int $context The Context ID of the current page. 118 * @param string $pageurl The path of the current page requesting the reset. 119 * @return array As described in reset_tour_returns 120 */ 121 public static function reset_tour($tourid, $context, $pageurl) { 122 $params = self::validate_parameters(self::reset_tour_parameters(), [ 131 $tour = tourinstance::instance($params['tourid']); 132 $tour->request_user_reset(); 133 140 141 \tool_usertours\event\tour_reset::create([ 142 'contextid' => $context->id,tokenizer.php https://github.com/Yannix/zetacomponents.git | PHP | 277 lines
1<?php 2/** 209 210 // On a newline token reset the line position and increase the line value 211 if ( $newToken instanceof ezcDocumentWikiNewLineToken )Createdat.php https://bitbucket.org/sevenly/magento-ce.git | PHP | 260 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) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 238 239 $select->reset(); 240 $select->from($this->getMainTable(), $columns)Selection.js https://github.com/Wkasel/qooxdoo.git | JavaScript | 392 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 top-level directory for details. 320 } else { 321 cellRenderer.resetBackgroundColor(); 322 return cellRenderer.getCellProperties(row + " / " + column, states); 366 } else { 367 cellRenderer.resetBackgroundColor(); 368 return cellRenderer.getCellProperties(row + " / " + column, states);general.php https://github.com/libersoft/fengoffice-ls.git | PHP | 232 lines
1<?php 2/* 28 'submit' => 'ŠŃŠ“ŃŠ²ŠµŃŠ“ŠøŃŠø', 29 'reset' => 'Š”ŠŗŠøŠ½ŃŃŠø', 30 'change' => 'ŠŠ¼ŃŠ½ŠøŃŠø', 70 'permissions' => 'ŠŠ¾Š²Š½Š¾Š²Š°Š¶ŠµŠ½Š½Ń', 71 'reset' => 'Š”ŠŗŠøŠ“Š°Š½Š½Ń', 72 'owner' => 'ŠŠ»Š°ŃŠ½ŠøŠŗ',WindowCursor.java https://bitbucket.org/cofarrell/jgit.git | Java | 380 lines
8 * accompanies this distribution, is reproduced below, and is 9 * available at http://www.eclipse.org/org/documents/edl-v10.php 10 * 348 else 349 inf.reset(); 350 }EntityRevisionsTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 264 lines
1<?php 2 145 $french->setNewRevision(); 146 // Setting a new revision will reset the loaded Revision ID. 147 $this->assertEquals($first_revision_id, $french->getLoadedRevisionId()); 153 $french->save(); 154 // Saving the new revision will reset the origin revision ID again. 155 $this->assertEquals($french->getRevisionId(), $french->getLoadedRevisionId());es_mx.lang.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 456 lines
1<?php 2/*********************************************************** 29'LBL_SAVE'=>'Guardar', 30'LBL_RESET'=>'Cancelar', 31'LBL_LIST_USER_NAME'=>'Usuario', 307 308// Added vtiger_fields for Attachments in Activities/SubPanelView.php 309'LBL_ATTACHMENTS'=>'Adjuntos',