100+ results results for 'php settype repo:synergylearning/campusconnect' (938 ms)
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 21 */ 169 { 170 settype($value, 'integer'); 171 $this->_fwrite( chr($value>>24 & 0xFF) . 190 */ 191 if (PHP_INT_SIZE > 4) { 192 $str = $this->_fread(8); 218 */ 219 if (PHP_INT_SIZE > 4) { 220 settype($value, 'integer'); 251 } else { 252 require_once 'Zend/Search/Lucene/Exception.php'; 253 throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');SmartyBC.class.php https://gitlab.com/team_fsn/fsn-php | PHP | 455 lines
1<?php 2/** 2/** 3 * Project: Smarty: the PHP compiling template engine 4 * File: SmartyBC.class.php 30 */ 31require_once(dirname(__FILE__) . '/Smarty.class.php'); 32 47 /** 48 * This is an array of directories where trusted php scripts reside. 49 * 100 * @param string $function the name of the template function 101 * @param string $function_impl the name of the PHP function to register 102 * @param bool $cacheable 123 * @param string $object name of template object 124 * @param object $object_impl the referenced PHP object to register 125 * @param array $allowed list of allowed methods (empty = all)Column.php https://gitlab.com/techniconline/kmc | PHP | 494 lines
1<?php 2/* 108 $this->_setName($columnName); 109 $this->setType($type); 110 $this->setOptions($options); 134 */ 135 public function setType(Type $type) 136 {CreditCard.php https://gitlab.com/devtoannh/cafe | PHP | 317 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: CreditCard.php 23775 2011-03-01 17:25:24Z ralph $ 20 */ 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 158 159 $this->setType($options['type']); 160 if (array_key_exists('service', $options)) { 180 */ 181 public function setType($type) 182 { 229 if (!is_callable($service)) { 230 require_once 'Zend/Validate/Exception.php'; 231 throw new Zend_Validate_Exception('Invalid callback given');Advanced.php https://gitlab.com/svillegas/magento2 | PHP | 388 lines
1<?php 2/** 30 * @method string getTypeId() 31 * @method \Magento\CatalogSearch\Model\Advanced setTypeId(string $value) 32 * @method string getSku() 43 * @author Magento Core Team <core@magentocommerce.com> 44 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 45 */ 125 * 126 * @SuppressWarnings(PHPMD.ExcessiveParameterList) 127 */ 162 * @throws LocalizedException 163 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 164 * @SuppressWarnings(PHPMD.NPathComplexity) 316 * @return string|bool 317 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 318 * @SuppressWarnings(PHPMD.NPathComplexity)Abstract.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 418 lines
1<?php 2/** 24 */ 25#require_once 'Zend/Locale.php'; 26 29 */ 30#require_once 'Zend/Locale/Math.php'; 31 34 */ 35#require_once 'Zend/Locale/Format.php'; 36 94 if (isset($this->_units[$type]) === false) { 95 #require_once 'Zend/Measure/Exception.php'; 96 throw new Zend_Measure_Exception("Type ($type) is unknown"); 121 if (empty($locale)) { 122 #require_once 'Zend/Registry.php'; 123 if (Zend_Registry::isRegistered('Zend_Locale') === true) {Backup.php https://gitlab.com/blingbang2016/shop | PHP | 402 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 */ 73 74 $this->setType($backupData->getType()); 75 return $this; 112 */ 113 public function setType($value='db') 114 { 391 if ($backup->getId() == $backupId) { 392 $this->setType($backup->getType()) 393 ->setTime($backup->getTime())ExternalVideoEntryConverterTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 237 lines
1<?php 2/** 10 11class ExternalVideoEntryConverterTest extends \PHPUnit_Framework_TestCase 12{ 13 /** 14 * @var \PHPUnit_Framework_MockObject_MockObject 15 * |\Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterfaceFactory 19 /** 20 * @var \PHPUnit_Framework_MockObject_MockObject 21 * |\Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface 24 25 /** @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Framework\Api\DataObjectHelper */ 26 protected $dataObjectHelperMock; 27 28 /** @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Framework\Api\Data\VideoContentInterfaceFactory */ 29 protected $videoEntryFactoryMock;ParameterTest.php https://gitlab.com/x33n/respond | PHP | 416 lines
1<?php 2 145 ->setDefault('h') 146 ->setType('i'); 147class-wp-filesystem-ftpsockets.php https://gitlab.com/Gashler/sg | PHP | 469 lines
1<?php 2/** 31 // Check if possible to use ftp functions. 32 if ( ! @include_once( ABSPATH . 'wp-admin/includes/class-ftp.php' ) ) { 33 return; 83 84 $this->ftp->SetType( FTP_BINARY ); 85 $this->ftp->Passive( true );Event.php https://gitlab.com/aredhel-bazaar/la-taverne-du-hasard | PHP | 466 lines
1<?php 2/** 2/** 3 * Created by PhpStorm. 4 * User: Silvesius 254 */ 255 public function setType(string $type): Event 256 {smarty_internal_data.php https://gitlab.com/mike_tm555/batiste | PHP | 404 lines
1<?php 2/** 136 if (!(is_array($this->tpl_vars[$_key]->value) || $this->tpl_vars[$_key]->value instanceof ArrayAccess)) { 137 settype($this->tpl_vars[$_key]->value, 'array'); 138 } 158 if (!(is_array($this->tpl_vars[$tpl_var]->value) || $this->tpl_vars[$tpl_var]->value instanceof ArrayAccess)) { 159 settype($this->tpl_vars[$tpl_var]->value, 'array'); 160 } 189 if (!is_array($this->tpl_vars[$tpl_var]->value)) { 190 settype($this->tpl_vars[$tpl_var]->value, 'array'); 191 }ThemeTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 489 lines
1<?php 2/** 16/** 17 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 18 */ 18 */ 19class ThemeTest extends \PHPUnit_Framework_TestCase 20{ 21 /** 22 * @var \Magento\Theme\Model\Theme|\PHPUnit_Framework_MockObject_MockObject 23 */ 26 /** 27 * @var \PHPUnit_Framework_MockObject_MockObject 28 */ 31 /** 32 * @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Framework\View\Design\Theme\FlyweightFactory 33 */UserController.php https://gitlab.com/HugoGarrido/mondialator | PHP | 586 lines
1<?php 2 157 $social->setUser($user); 158 $social->setType($socialType[0]); 159SmartyBC.class.php https://gitlab.com/billyprice1/status2 | PHP | 460 lines
3 * Project: Smarty: the PHP compiling template engine 4 * File: SmartyBC.class.php 5 * SVN: $Id: $ 34 */ 35require(dirname(__FILE__) . '/Smarty.class.php'); 36 58 // register {php} tag 59 $this->registerPlugin('block', 'php', 'smarty_php_tag'); 60 } 98 * @param string $function the name of the template function 99 * @param string $function_impl the name of the PHP function to register 100 * @param bool $cacheable 445/** 446 * Smarty {php}{/php} block function 447 *8492d846a6229befff18f42ea57aebc956ccf3ea.file.content.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 208 lines
1<?php /* Smarty version Smarty-3.1.19, created on 2016-08-29 22:20:21 2 compiled from "C:\xampp\htdocs\prestashop\prestashop\_\admin2200io4fc\themes\default\template\controllers\login\content.tpl" */ ?> 2 compiled from "C:\xampp\htdocs\prestashop\prestashop\_\admin2200io4fc\themes\default\template\controllers\login\content.tpl" */ ?> 3<?php /*%%SmartyHeaderCode:2196757c499052e7dd8-97025757%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); 4$_valid = $_smarty_tpl->decodeProperties(array ( 38),false); /*/%%SmartyHeaderCode%%*/?> 39<?php if ($_valid && !is_callable('content_57c49905405f73_36057746')) {function content_57c49905405f73_36057746($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'C:\\xampp\\htdocs\\prestashop\\prestashop\\_\\tools\\smarty\\plugins\\modifier.date_format.php'; 40?> 43 <h1 class="text-center"> 44 <img id="logo" src="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?> 45prestashop@2x.png" width="123px" height="24px" alt="PrestaShop" /> 92</label> 93 <input name="email" type="email" id="email" class="form-control" value="<?php if (isset($_smarty_tpl->tpl_vars['email']->value)) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['email']->value, ENT_QUOTES, 'UTF-8', true);?> 94<?php }?>" autofocus="autofocus" tabindex="1" placeholder=" test@example.com" /> 100 </label> 101 <input name="passwd" type="password" id="passwd" class="form-control" value="<?php if (isset($_smarty_tpl->tpl_vars['password']->value)) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['password']->value, ENT_QUOTES, 'UTF-8', true);?> 102<?php }?>" tabindex="2" placeholder=" <?php echo smartyTranslate(array('s'=>'Password'),$_smarty_tpl);?>00630ab01a40d7318a4f29fb0352ba887f780efb.file.simple.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 192 lines
57 58 <?php if (isset($_smarty_tpl->tpl_vars['file']->value['size'])) {?><p><?php echo smartyTranslate(array('s'=>'File size'),$_smarty_tpl);?> 59 <?php echo $_smarty_tpl->tpl_vars['file']->value['size'];?> 84 <div class="col-sm-6"> 85 <input id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?> 86" type="file" name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?> 86" type="file" name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?> 87<?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?>[]<?php }?>"<?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?> multiple="multiple"<?php }?> class="hide" /> 88 <div class="dummyfile input-group"> 95 <i class="icon-folder-open"></i> <?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?><?php echo smartyTranslate(array('s'=>'Add files'),$_smarty_tpl);?> 96<?php } else { ?><?php echo smartyTranslate(array('s'=>'Add file'),$_smarty_tpl);?> 97<?php }?> 103 <?php if (isset($_smarty_tpl->tpl_vars['size']->value)) {?><?php echo smartyTranslate(array('s'=>'Download current file (%skb)','sprintf'=>$_smarty_tpl->tpl_vars['size']->value),$_smarty_tpl);?> 104<?php } else { ?><?php echo smartyTranslate(array('s'=>'Download current file'),$_smarty_tpl);?> 105<?php }?>jquery.noty.js https://gitlab.com/Mirros/cdnjs | JavaScript | 475 lines
7* Licensed under the MIT licenses: 8* http://www.opensource.org/licenses/mit-license.php 9* 192 193 setType: function(type) { 194 if (!this.closed) { 311 312 $.noty.setType = function(id, type) { 313 return $.noty.get(id) ? $.noty.get(id).setType(type) : false;Item.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 386 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 */ 32 * @method int getTypeId() 33 * @method Mage_GoogleBase_Model_Item setTypeId(int $value) 34 * @method int getProductId() 105 ->insert(); 106 $this->setTypeId($typeModel->getTypeId()); 107 return $this;ext_reflection.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 282 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com) | 6 | Copyright (c) 1997-2010 The PHP Group | 7 +----------------------------------------------------------------------+ 7 +----------------------------------------------------------------------+ 8 | This source file is subject to version 3.01 of the PHP license, | 9 | that is bundled with this package in the file LICENSE, and is | 10 | available through the world-wide-web at the following url: | 11 | http://www.php.net/license/3_01.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 +----------------------------------------------------------------------+mutation.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 329 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/runtime/vm/jit/mutation.h" 18TypedDataManager.php https://gitlab.com/geeta7/drupal | PHP | 294 lines
1<?php 2 96 $typed_data = $class::createInstance($data_definition, $configuration['name'], $configuration['parent']); 97 $typed_data->setTypedDataManager($this); 98 return $typed_data;AttributeController.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 352 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 */ 42 parent::preDispatch(); 43 $this->_entityTypeId = Mage::getModel('eav/entity')->setType(Mage_Catalog_Model_Product::ENTITY)->getTypeId(); 44 }PluginTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 314 lines
1<?php 2/** 7 8class PluginTest extends \PHPUnit_Framework_TestCase 9{ 15 /** 16 * @var \PHPUnit_Framework_MockObject_MockObject 17 */ 20 /** 21 * @var \PHPUnit_Framework_MockObject_MockObject 22 */ 25 /** 26 * @var \PHPUnit_Framework_MockObject_MockObject 27 */ 30 /** 31 * @var \PHPUnit_Framework_MockObject_MockObject 32 */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 */ 31 * @method Mage_Index_Model_Resource_Event getResource() 32 * @method Mage_Index_Model_Event setType(string $value) 33 * @method Mage_Index_Model_Event setEntity(string $value)Ftp.php https://gitlab.com/ricoru21/py_incidencia | 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 * 255 $ext = $this->_getext($locpath); 256 $mode = $this->_settype($ext); 257 } 303 $ext = $this->_getext($rempath); 304 $mode = $this->_settype($ext); 305 } 467 468 // Permissions can only be set when running PHP 5 469 if ( ! function_exists('ftp_chmod')) 554 $ext = $this->_getext($file); 555 $mode = $this->_settype($ext); 556Theme.php https://gitlab.com/yousafsyed/easternglamor | PHP | 378 lines
1<?php 2/** 29 * @method ThemeInterface setThemeTitle(string $themeTitle) 30 * @method ThemeInterface setType(int $type) 31 * @method ThemeInterface setCode(string $code) 32 * 33 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 34 */ 99 * 100 * @SuppressWarnings(PHPMD.ExcessiveParameterList) 101 */ 328 $messages = $this->_validator->getErrorMessages(); 329 throw new \Magento\Framework\Exception\LocalizedException(__(implode(PHP_EOL, reset($messages)))); 330 }ClassType.php https://gitlab.com/paveltizek/shop | PHP | 501 lines
1<?php 2 7 8namespace Nette\PhpGenerator; 9 24 25 /** @var PhpNamespace|NULL */ 26 private $namespace; 68 $from = new \ReflectionClass($from instanceof \ReflectionClass ? $from->getName() : $from); 69 if (PHP_VERSION_ID >= 70000 && $from->isAnonymous()) { 70 $class = new static('anonymous'); 71 } else { 72 $class = new static($from->getShortName(), new PhpNamespace($from->getNamespaceName())); 73 } 73 } 74 $class->type = $from->isInterface() ? 'interface' : (PHP_VERSION_ID >= 50400 && $from->isTrait() ? 'trait' : 'class'); 75 $class->final = $from->isFinal() && $class->type === 'class';addinstanceform.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 147 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 28 29require_once($CFG->dirroot.'/cache/forms.php'); 30require_once($CFG->dirroot.'/cache/stores/memcached/lib.php'); 46 $form = $this->_form; 47 $version = phpversion('memcached'); 48 $hasrequiredversion = ($version || version_compare($version, cachestore_memcached::REQUIRED_VERSION, '>=')); 58 $form->addRule('servers', get_string('required'), 'required'); 59 $form->setType('servers', PARAM_RAW); 60 63 $form->setDefault('compression', 1); 64 $form->setType('compression', PARAM_BOOL); 65 68 $form->addHelpButton('serialiser', 'useserialiser', 'cachestore_memcached'); 69 $form->setDefault('serialiser', Memcached::SERIALIZER_PHP); 70 $form->setType('serialiser', PARAM_INT);polarclockex2.html https://gitlab.com/GLORIA04/conception-site-web | HTML | 106 lines
1<div style="font-weight: bold;margin-left:15px;">polarclockex2.php</div><link rel="stylesheet" href="../phphl.css" type="text/css"><div class="hl-main"><table class="hl-table" width="100%"><tr><td class="hl-gutter" align="right" valign="top"><pre>1 22 5353 54</pre></td><td class="hl-main" valign="top"><pre><span class="hl-inlinetags"><?php</span><span class="hl-code"> </span><span class="hl-comment">//</span><span class="hl-comment"> content="text/plain; charset=utf-8"</span><span class="hl-comment"></span><span class="hl-code"> 55</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 55</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 56</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_polar.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 57 74</span><span class="hl-var">$graph</span><span class="hl-code">-></span><span class="hl-identifier">SetMarginColor</span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">#FFE6C0</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 75</span><span class="hl-var">$graph</span><span class="hl-code">-></span><span class="hl-identifier">SetType</span><span class="hl-brackets">(</span><span class="hl-identifier">POLAR_360</span><span class="hl-brackets">)</span><span class="hl-code">; 76</span><span class="hl-var">$graph</span><span class="hl-code">-></span><span class="hl-identifier">SetClockwise</span><span class="hl-brackets">(</span><span class="hl-reserved">true</span><span class="hl-brackets">)</span><span class="hl-code">;Backup.php https://gitlab.com/axeltizon/magentoV1.9-demopoweraccess | PHP | 402 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) 2014 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 73 74 $this->setType($backupData->getType()); 75 return $this; 112 */ 113 public function setType($value='db') 114 { 391 if ($backup->getId() == $backupId) { 392 $this->setType($backup->getType()) 393 ->setTime($backup->getTime())ccbp_ex2.html https://gitlab.com/GLORIA04/conception-site-web | HTML | 72 lines
1<div style="font-weight: bold;margin-left:15px;">ccbp_ex2.php</div><link rel="stylesheet" href="../phphl.css" type="text/css"><div class="hl-main"><table class="hl-table" width="100%"><tr><td class="hl-gutter" align="right" valign="top"><pre>1 22 3636 37</pre></td><td class="hl-main" valign="top"><pre><span class="hl-inlinetags"><?php</span><span class="hl-code"> </span><span class="hl-comment">//</span><span class="hl-comment"> content="text/plain; charset=utf-8" </span><span class="hl-comment"></span><span class="hl-code"> 38</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-code">; 38</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-code">; 39</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_line.php</span><span class="hl-quotes">'</span><span class="hl-code">; 40</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_plotmark.inc.php</span><span class="hl-quotes">'</span><span class="hl-code">; 40</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_plotmark.inc.php</span><span class="hl-quotes">'</span><span class="hl-code">; 41</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_scatter.php</span><span class="hl-quotes">'</span><span class="hl-code">; 42</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">ccbpgraph.class.php</span><span class="hl-quotes">'</span><span class="hl-code">; 53</span><span class="hl-var">$sp</span><span class="hl-code"> = </span><span class="hl-reserved">new</span><span class="hl-code"> </span><span class="hl-identifier">ScatterPlot</span><span class="hl-brackets">(</span><span class="hl-var">$datay</span><span class="hl-code">,</span><span class="hl-var">$datax</span><span class="hl-brackets">)</span><span class="hl-code">; 54</span><span class="hl-var">$sp</span><span class="hl-code">-></span><span class="hl-identifier">mark</span><span class="hl-code">-></span><span class="hl-identifier">SetType</span><span class="hl-brackets">(</span><span class="hl-identifier">MARK_DIAMOND</span><span class="hl-brackets">)</span><span class="hl-code">; 55</span><span class="hl-var">$sp</span><span class="hl-code">-></span><span class="hl-identifier">mark</span><span class="hl-code">-></span><span class="hl-identifier">SetFillColor</span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">white</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">;ccbp_ex1.html https://gitlab.com/GLORIA04/conception-site-web | HTML | 72 lines
1<div style="font-weight: bold;margin-left:15px;">ccbp_ex1.php</div><link rel="stylesheet" href="../phphl.css" type="text/css"><div class="hl-main"><table class="hl-table" width="100%"><tr><td class="hl-gutter" align="right" valign="top"><pre>1 22 3636 37</pre></td><td class="hl-main" valign="top"><pre><span class="hl-inlinetags"><?php</span><span class="hl-code"> </span><span class="hl-comment">//</span><span class="hl-comment"> content="text/plain; charset=utf-8" </span><span class="hl-comment"></span><span class="hl-code"> 38</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-code">; 38</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-code">; 39</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_line.php</span><span class="hl-quotes">'</span><span class="hl-code">; 40</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_plotmark.inc.php</span><span class="hl-quotes">'</span><span class="hl-code">; 40</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_plotmark.inc.php</span><span class="hl-quotes">'</span><span class="hl-code">; 41</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_scatter.php</span><span class="hl-quotes">'</span><span class="hl-code">; 42</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">ccbpgraph.class.php</span><span class="hl-quotes">'</span><span class="hl-code">; 53</span><span class="hl-var">$sp</span><span class="hl-code"> = </span><span class="hl-reserved">new</span><span class="hl-code"> </span><span class="hl-identifier">ScatterPlot</span><span class="hl-brackets">(</span><span class="hl-var">$datay</span><span class="hl-code">,</span><span class="hl-var">$datax</span><span class="hl-brackets">)</span><span class="hl-code">; 54</span><span class="hl-var">$sp</span><span class="hl-code">-></span><span class="hl-identifier">mark</span><span class="hl-code">-></span><span class="hl-identifier">SetType</span><span class="hl-brackets">(</span><span class="hl-identifier">MARK_DIAMOND</span><span class="hl-brackets">)</span><span class="hl-code">; 55</span><span class="hl-var">$sp</span><span class="hl-code">-></span><span class="hl-identifier">mark</span><span class="hl-code">-></span><span class="hl-identifier">SetFillColor</span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">white</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">;__CG__TunisiamalltunisiamallBundleEntityCorrespondanceProduit.php https://gitlab.com/Snizer/PI-DEV-TUNISIAMALL3A6-WEB | PHP | 433 lines
1<?php 2 259 */ 260 public function setType($type) 261 { 262 263 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', array($type)); 264 264 265 return parent::setType($type); 266 }text.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 194 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26require_once($CFG->dirroot.'/user/filters/lib.php'); 27 49 /** 50 * Old syntax of class constructor. Deprecated in PHP7. 51 * 82 $grp =& $mform->addElement('group', $this->_name.'_grp', $this->_label, $objs, '', false); 83 $mform->setType($this->_name, PARAM_RAW); 84 $mform->disabledIf($this->_name, $this->_name.'_op', 'eq', 5);SessionSelectionActivity.java https://gitlab.com/jaadchacra/Linc | Java | 266 lines
104 Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/montserrat_regular_0.ttf"); 105 toolbarTextView.setTypeface(tf); 106 setSupportActionBar(offerDetailsToolbar); 128 //JsonArrayRequest of volley 129 StringRequest postRequest = new StringRequest(Request.Method.GET, "http://kcapplications.com/Linc/sessions.php?user_id="+userID, 130 new Response.Listener<String>() { 222 //Displaying Progressbar 223 StringRequest stringRequest = new StringRequest(Request.Method.POST, "http://kcapplications.com/Linc/session/offer.php", 224 new Response.Listener<String>() {class-lp-question-fill-in-blank.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 252 lines
1<?php 2if ( class_exists( 'LP_Abstract_Question' ) ) { 54 if( $question_id == $this->id) { 55 settype( $checked, 'array' ); 56 $content = reset( $checked ); 76 if ( !empty( $this->user_answered ) ) { 77 settype( $this->user_answered, 'array' ); 78 $input_name = $this->get_input_name( $a[2] ); 79 if ( !empty( $this->user_answered[$input_name] ) ) { 80 settype( $this->user_answered[$input_name], 'array' ); 81 $user_fill = array_shift( $this->user_answered[$input_name] ); 179 180 settype( $args, 'array' ); 181 $answered = !empty( $args['answered'] ) ? $args['answered'] : array(); 182 183 $view = LP_Addon_Question_Fill_In_Blank::locate_template( 'fill-in-blank.php' ); 184 include $view;Ftp.php https://gitlab.com/MichelZuniga/neoinvoice | PHP | 618 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 255 $ext = $this->_getext($locpath); 256 $mode = $this->_settype($ext); 257 } 425 426 // Permissions can only be set when running PHP 5 427 if ( ! function_exists('ftp_chmod')) 512 $ext = $this->_getext($file); 513 $mode = $this->_settype($ext); 514 554 */ 555 function _settype($ext) 556 {WrapInWizard.java https://gitlab.com/Codeaurora/platform_sdk | Java | 267 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 145 refactoring.setId(id); 146 refactoring.setType(type); 147Isbn.php https://gitlab.com/rsilveira1987/Expresso | PHP | 278 lines
1<?php 2/** 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 80 */ 81 require_once 'Zend/Validate/Exception.php'; 82 throw new Zend_Validate_Exception('Invalid options provided.'); 86 if (array_key_exists('type', $options)) { 87 $this->setType($options['type']); 88 } 228 */ 229 require_once 'Zend/Validate/Exception.php'; 230 throw new Zend_Validate_Exception('Invalid ISBN separator.'); 253 */ 254 public function setType($type) 255 {Isbn.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 278 lines
1<?php 2/** 24 */ 25#require_once 'Zend/Validate/Abstract.php'; 26 80 */ 81 #require_once 'Zend/Validate/Exception.php'; 82 throw new Zend_Validate_Exception('Invalid options provided.'); 86 if (array_key_exists('type', $options)) { 87 $this->setType($options['type']); 88 } 228 */ 229 #require_once 'Zend/Validate/Exception.php'; 230 throw new Zend_Validate_Exception('Invalid ISBN separator.'); 253 */ 254 public function setType($type) 255 {PwImageWatermark.php https://gitlab.com/wuhang2003/phpwind | PHP | 244 lines
1<?php 2defined('WEKIT_VERSION') || exit('Forbidden'); 8 * @author Jianmin Chen <sky_hold@163.com> 9 * @version $Id: PwImageWatermark.php 24724 2013-02-17 10:05:52Z jieyin $ 10 * @package lib.image 67 */ 68 public function setType($type) { 69 $this->type = $type;pix.c https://gitlab.com/jiapei100/ImageMagick | C | 306 lines
25% % 26% http://www.imagemagick.org/script/license.php % 27% % 200 { 201 status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, 202 image->rows);MonitoredResourceDescriptor.php https://gitlab.com/remyvianne/krowkaramel | PHP | 262 lines
1<?php 2# Generated by the protocol buffer compiler. DO NOT EDIT! 162 */ 163 public function setType($var) 164 {addressbook.php https://gitlab.com/billyprice1/app-download.org | PHP | 456 lines
1<?php 2// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin @package_version@ 126 */ 127 public function setType( $value){ 128 return $this->_set(2, $value);Categories.php git://github.com/imagecms/ImageCMS.git | PHP | 302 lines
1<?php 2 264 ->setUrl(translit_url($this->categoriesXml[$categoryData['external_id']]['name'])) 265 ->setType(Route::TYPE_SHOP_CATEGORY) 266 ->setEntityId($categoryData['id'])NumberTextBox.php https://gitlab.com/rsilveira1987/Expresso | PHP | 173 lines
1<?php 2/** 22/** Zend_Dojo_Form_Element_ValidationTextBox */ 23require_once 'Zend/Dojo/Form/Element/ValidationTextBox.php'; 24 32 * @license http://framework.zend.com/license/new-bsd New BSD License 33 * @version $Id: NumberTextBox.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 34 */ 104 */ 105 public function setType($type) 106 { 108 if (!in_array($type, $this->_allowedTypes)) { 109 require_once 'Zend/Form/Element/Exception.php'; 110 throw new Zend_Form_Element_Exception(sprintf('Invalid numeric type "%s" specified', $type));Multiline.php https://gitlab.com/yousafsyed/easternglamor | PHP | 152 lines
1<?php 2/** 30 parent::__construct($factoryElement, $factoryCollection, $escaper, $data); 31 $this->setType('text'); 32 $this->setLineCount(2); 105 * @return mixed 106 * @SuppressWarnings(PHPMD.NPathComplexity) 107 */Subselect.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 125 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 */ 33 parent::__construct(); 34 $this->setType('salesrule/rule_condition_product_subselect') 35 ->setValue(null);Appsactivity.php https://gitlab.com/mattswann/launch-housing | PHP | 588 lines
1<?php 2/* 425 426 public function setType($type) 427 {jnx.c https://gitlab.com/jiapei100/ImageMagick | C | 388 lines
24% % 25% http://www.imagemagick.org/script/license.php % 26% % 225 { 226 MagickOffsetType 227 offset; 231 232 offset=SeekBlob(image,(MagickOffsetType) jnx_level_info[i].offset,SEEK_SET); 233 if (offset != (MagickOffsetType) jnx_level_info[i].offset) 245 246 MagickOffsetType 247 restore_offset; 274 continue; 275 offset=SeekBlob(image,(MagickOffsetType) tile_offset,SEEK_SET); 276 if (offset != (MagickOffsetType) tile_offset)8985856b1386f230a5c69cc67e20af8dcaf788c1.file.view-currency.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 225 lines
1<?php /* Smarty version Smarty-3.0.7, created on 2015-10-05 16:56:06 2 compiled from "/home/www/cargosharing1/cargoadmin/templates/utility/view-currency.tpl" */ ?> 2 compiled from "/home/www/cargosharing1/cargoadmin/templates/utility/view-currency.tpl" */ ?> 3<?php /*%%SmartyHeaderCode:127252012856125e4e7820e2-15975802%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); 4$_smarty_tpl->decodeProperties(array ( 19)); /*/%%SmartyHeaderCode%%*/?> 20<script language="JavaScript" src="<?php echo $_smarty_tpl->getVariable('tconfig')->value['tcp_javascript'];?> 21jlist.js"></script> 29 <div class="contentbox"> 30 <?php if ($_smarty_tpl->getVariable('var_msg_new')->value!=''){?> 31 <div class="status success" id="errormsgdiv"> 105" class="inputbox" lang="*" style="width:100px;"> 106 <option value='Yes' <?php if ($_smarty_tpl->getVariable('db_curr')->value[$_smarty_tpl->tpl_vars['k1']->value]['eFrontStatus']=='Yes'){?> selected<?php }?> >Yes</option> 107 <option value='No' <?php if ($_smarty_tpl->getVariable('db_curr')->value[$_smarty_tpl->tpl_vars['k1']->value]['eFrontStatus']=='No'){?> selected<?php }?>>No</option> 127[]" class="inputbox" value="<?php echo $_smarty_tpl->getVariable('db_curr')->value[$_smarty_tpl->tpl_vars['k1']->value][$_smarty_tpl->getVariable('v2')->value];?> 128" lang="*{N}" style="width:100px;" onkeyup="numericFilter(this)" <?php if ($_smarty_tpl->getVariable('db_curr')->value[$_smarty_tpl->tpl_vars['k2']->value]['vName']==$_smarty_tpl->getVariable('db_curr')->value[$_smarty_tpl->tpl_vars['k1']->value]['vName']){?> readonly <?php }?> onChange="validzero(this);" /> --> 129 <?php if ($_smarty_tpl->getVariable('db_curr')->value[$_smarty_tpl->tpl_vars['k2']->value]['vName']==$_smarty_tpl->getVariable('db_curr')->value[$_smarty_tpl->tpl_vars['k1']->value]['vName']){?>2c1ecb8d00c58f3238e3376d08d8a7940de2b5de.file.discount.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 176 lines
32),false); /*/%%SmartyHeaderCode%%*/?> 33<?php if ($_valid && !is_callable('content_57c495c9f01660_93661634')) {function content_57c495c9f01660_93661634($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_regex_replace')) include 'C:\\xampp\\htdocs\\prestashop\\prestashop\\_\\tools\\smarty\\plugins\\modifier.regex_replace.php'; 34?> 87?> 88 <tr class="<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['first']) {?>first_item<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['last']) {?>last_item<?php } else { ?>item<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['index']%2) {?>alternate_item<?php }?>"> 89 <td class="discount_code"><?php echo $_smarty_tpl->tpl_vars['discountDetail']->value['code'];?> 119 </td> 120 <td class="discount_minimum" data-value="<?php if ($_smarty_tpl->tpl_vars['discountDetail']->value['minimal']==0) {?>0<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['discountDetail']->value['minimal'];?> 121<?php }?>"> 126 <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price'=>$_smarty_tpl->tpl_vars['discountDetail']->value['minimal']),$_smarty_tpl);?> 127 (<?php if ($_smarty_tpl->tpl_vars['discountDetail']->value['minimum_amount_tax']==1) {?><?php echo smartyTranslate(array('s'=>'Tax included'),$_smarty_tpl);?> 128<?php } else { ?><?php echo smartyTranslate(array('s'=>'Tax excluded'),$_smarty_tpl);?> 165 <li> 166 <a class="btn btn-default button button-small" href="<?php if (isset($_smarty_tpl->tpl_vars['force_ssl']->value)&&$_smarty_tpl->tpl_vars['force_ssl']->value) {?><?php echo $_smarty_tpl->tpl_vars['base_dir_ssl']->value;?> 167<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['base_dir']->value;?>post_form.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 300 lines
1<?php 2 26defined('MOODLE_INTERNAL') || die(); 27require_once($CFG->libdir . '/formslib.php'); 28require_once($CFG->dirroot . '/repository/lib.php'); 108 $mform->addElement('text', 'subject', get_string('subject', 'forum'), 'size="48"'); 109 $mform->setType('subject', PARAM_TEXT); 110 $mform->addRule('subject', get_string('required'), 'required', null, 'client'); 113 $mform->addElement('editor', 'message', get_string('message', 'forum'), null, self::editor_options($modcontext, (empty($post->id) ? null : $post->id))); 114 $mform->setType('message', PARAM_RAW); 115 $mform->addRule('message', get_string('required'), 'required', null, 'client'); 212 $mform->setDefault('groupinfo', $post->groupid); 213 $mform->setType('groupinfo', PARAM_INT); 214 } else { 234 $mform->addElement('hidden', 'timestart'); 235 $mform->setType('timestart', PARAM_INT); 236 $mform->addElement('hidden', 'timeend');%%F8^F8C^F8CB83D4%%now_role_list.html.php https://gitlab.com/xusasuke6/Slg_php | PHP | 132 lines
2 compiled from module/online/now_role_list.html */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'module/online/now_role_list.html', 51, false),array('function', 'math', 'module/online/now_role_list.html', 76, false),)), $this); ?> 37 <form method="get" action=""> 38 <?php $_from = $this->_tpl_vars['pageHTML']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): 39 foreach ($_from as $this->_tpl_vars['page_name'] => $this->_tpl_vars['page_id']): 47 <?php endforeach; endif; unset($_from); ?> 48 <td><?php if ($this->_tpl_vars['page_count'] > 0): ?><?php echo $this->_tpl_vars['_lang']['conmon']['all_page']; ?> 49(<?php echo $this->_tpl_vars['page_count']; ?> 57'/> 58 <?php echo $this->_tpl_vars['_lang']['conmon']['user_account']; ?> 59:<input type='text' id="acname" name='acname' size='10' value='<?php echo $this->_tpl_vars['acname']; ?> 98 </tr> 99 <?php $_from = $this->_tpl_vars['onlines']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): 100 foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['online']):ServiceMetadata.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 292 lines
1<?php 2/** 145 $this->services = unserialize($servicesConfig); 146 $this->typeProcessor->setTypesData(unserialize($typesData)); 147 } else { 185 * @throws \InvalidArgumentException 186 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 187 */ 259 $this->routes = unserialize($routesConfig); 260 $this->typeProcessor->setTypesData(unserialize($typesData)); 261 } else {Atom.php https://gitlab.com/jalon/doadoronline | PHP | 427 lines
1<?php 2/** 56 foreach ($this->extensions as $ext) { 57 $ext->setType($this->getType()); 58 $ext->setRootElement($this->getRootElement()); 421 $renderer = new Renderer\Feed\AtomSource($source); 422 $renderer->setType($this->getType()); 423 $element = $renderer->render()->getElement();Abstract.php https://gitlab.com/rsilveira1987/Expresso | PHP | 242 lines
1<?php 2/** 21/** Zend_Server_Interface */ 22require_once 'Zend/Server/Interface.php'; 23 26 */ 27require_once 'Zend/Server/Definition.php'; 28 31 */ 32require_once 'Zend/Server/Method/Definition.php'; 33 36 */ 37require_once 'Zend/Server/Method/Callback.php'; 38 41 */ 42require_once 'Zend/Server/Method/Prototype.php'; 43HeadTitle.php https://gitlab.com/yousafsyed/easternglamor | PHP | 263 lines
1<?php 2/** 60 * @param string $title 61 * @param string $setType 62 * @return HeadTitle 63 */ 64 public function __invoke($title = null, $setType = null) 65 { 65 { 66 if (null === $setType) { 67 $setType = (null === $this->getDefaultAttachOrder()) 73 if ($title !== '') { 74 if ($setType == Placeholder\Container\AbstractContainer::SET) { 75 $this->set($title); 75 $this->set($title); 76 } elseif ($setType == Placeholder\Container\AbstractContainer::PREPEND) { 77 $this->prepend($title);Option.php https://gitlab.com/yousafsyed/easternglamor | PHP | 297 lines
1<?php 2/** 237 */ 238 public function setType($type) 239 {SendTransacSms.php https://gitlab.com/VTTE/sitios-vtte | PHP | 500 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 125 'content' => 'setContent', 126 'type' => 'setType', 127 'tag' => 'setTag', 365 */ 366 public function setType($type) 367 {Ftp.php https://gitlab.com/vincetang/csc309 | PHP | 659 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 * 255 $ext = $this->_getext($locpath); 256 $mode = $this->_settype($ext); 257 } 303 $ext = $this->_getext($rempath); 304 $mode = $this->_settype($ext); 305 } 553 $ext = $this->_getext($file); 554 $mode = $this->_settype($ext); 555 595 */ 596 function _settype($ext) 597 {615f320f9cfc7fa3f8e9968a9f71e39ea1665b79.file.blockwishlist.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 138 lines
59?> 60 <dt class="<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['i']['first']) {?>first_item<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['i']['last']) {?>last_item<?php } else { ?>item<?php }?>"> 61 <span class="quantity-formated"> 61 <span class="quantity-formated"> 62 <span class="quantity"><?php echo intval($_smarty_tpl->tpl_vars['product']->value['quantity']);?> 63</span>x 73', <?php echo $_smarty_tpl->tpl_vars['product']->value['id_product_attribute'];?> 74, '0', '<?php if (isset($_smarty_tpl->tpl_vars['token']->value)) {?><?php echo $_smarty_tpl->tpl_vars['token']->value;?> 75<?php }?>');"> 79 <?php if (isset($_smarty_tpl->tpl_vars['product']->value['attributes_small'])) {?> 80 <dd class="<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['i']['first']) {?>first_item<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['i']['last']) {?>last_item<?php } else { ?>item<?php }?>"> 81 <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getProductLink($_smarty_tpl->tpl_vars['product']->value['id_product'],$_smarty_tpl->tpl_vars['product']->value['link_rewrite'],$_smarty_tpl->tpl_vars['product']->value['category_rewrite']), ENT_QUOTES, 'UTF-8', true);?> 118 <option value="<?php echo $_smarty_tpl->tpl_vars['wishlist']->value['id_wishlist'];?> 119"<?php if ($_smarty_tpl->tpl_vars['id_wishlist']->value==$_smarty_tpl->tpl_vars['wishlist']->value['id_wishlist']||($_smarty_tpl->tpl_vars['id_wishlist']->value==false&&$_smarty_tpl->getVariable('smarty')->value['foreach']['i']['first'])) {?> selected="selected"<?php }?>> 120 <?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate($_smarty_tpl->tpl_vars['wishlist']->value['name'],22,'...'), ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>Editor.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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) 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 */ 40 if($this->isEnabled()) { 41 $this->setType('wysiwyg'); 42 $this->setExtType('wysiwyg'); 43 } else { 44 $this->setType('textarea'); 45 $this->setExtType('textarea');Bundle.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 334 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 */ 75 76 $this->setTypesOfDisplay(array( 77 Mage_XmlConnect_Helper_Customer_Order::PRICE_DISPLAY_TYPE_1 => $typeOfDisplay1, 209 210 $this->setTypesOfDisplay(array( 211 Mage_XmlConnect_Helper_Customer_Order::PRICE_DISPLAY_TYPE_1 => $typeOfDisplay1,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 floatConfigHandler.php https://gitlab.com/reasonat/test8 | PHP | 280 lines
1<?php 2 19 public function __construct($type = NULL, $id = NULL) { 20 $this->setType($type); 21 $this->setID($id); 34 public function getForm(ViewEntityInterface $view, $display_id, $js, $type = NULL, $id = NULL) { 35 $this->setType($type); 36 $this->setID($id);eventtype.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 131 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 78 $mform->addElement('hidden', 'eventtype'); 79 $mform->setType('eventtype', PARAM_TEXT); 80 $mform->setDefault('eventtype', 'user');dynamodbsessionhandler.class.php https://gitlab.com/mattswann/launch-housing | PHP | 518 lines
38 /** 39 * @var string The session name (see <php:session_name()>). 40 */ 122 { 123 settype($value, self::$_option_types[$key]); 124 $this->{'_' . $key} = $value; 141 * 142 * @see http://php.net/manual/en/function.session-set-save-handler.php#refsect1-function.session-set-save-handler-notes 143 */ 218 * 219 * Part of the standard PHP session handler interface. 220 * 220 * 221 * @param string $save_path (Required) The session save path (see <php:session_save_path()>). 222 * @param string $session_name (Required) The session name (see <php:session_name()>).endofbranch.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 201 lines
1<?php 2 97 if ($redirect) { 98 redirect(new moodle_url('/mod/lesson/view.php', array('id' => $PAGE->cm->id, 'pageid' => $jumpto))); 99 die; 109 if ($previd != 0) { 110 $addurl = new moodle_url('/mod/lesson/editpage.php', array('id'=>$PAGE->cm->id, 'pageid'=>$previd, 'sesskey'=>sesskey(), 'qtype'=>LESSON_PAGE_ENDOFBRANCH)); 111 return array('addurl'=>$addurl, 'type'=>LESSON_PAGE_ENDOFBRANCH, 'name'=>get_string('addanendofbranch', 'lesson')); 133 $mform->addElement('hidden', 'firstpage'); 134 $mform->setType('firstpage', PARAM_BOOL); 135 136 $mform->addElement('hidden', 'qtype'); 137 $mform->setType('qtype', PARAM_TEXT); 138 139 $mform->addElement('text', 'title', get_string("pagetitle", "lesson"), array('size'=>70)); 140 $mform->setType('title', PARAM_TEXT); 141board.controller.php http://xe-board.googlecode.com/svn/trunk/ | PHP | 354 lines
1<?php 2 /** 30 31 settype($obj->title, "string"); 32 if($obj->title == '') $obj->title = cut_str(strip_tags($obj->content),20,'...');lib.php https://gitlab.com/JrLucena/moodle | PHP | 256 lines
1<?php 2 26 27require_once($CFG->libdir.'/portfolio/plugin.php'); 28require_once($CFG->libdir.'/filelib.php'); 28require_once($CFG->libdir.'/filelib.php'); 29require_once($CFG->libdir.'/flickrlib.php'); 30 104 $mform->addRule('apikey', $strrequired, 'required', null, 'client'); 105 $mform->setType('apikey', PARAM_RAW_TRIMMED); 106 $mform->addElement('text', 'sharedsecret', get_string('sharedsecret', 'portfolio_flickr')); 107 $mform->addRule('sharedsecret', $strrequired, 'required', null, 'client'); 108 $mform->setType('sharedsecret', PARAM_RAW_TRIMMED); 109 $a = new stdClass(); 111 $a->keysurl = 'http://www.flickr.com/services/api/keys/'; 112 $a->callbackurl = $CFG->wwwroot . '/portfolio/add.php?postcontrol=1&type=flickr'; 113 $mform->addElement('static', 'setupinfo', get_string('setupinfo', 'portfolio_flickr'),Attribute.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 277 lines
1<?php 2 10 * It is also available through the world-wide-web at this URL: 11 * http://opensource.org/licenses/osl-3.0.php 12 * 16 * @copyright Copyright CedCommerce (http://cedcommerce.com/) 17 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 18 */ 45 parent::__construct(); 46 $this->setEntityTypeId(Mage::getModel('eav/entity')->setType('csmarketplace_vendor')->getTypeId()); 47 $setIds=Mage::getResourceModel('eav/entity_attribute_set_collection')->setEntityTypeFilter($this->getEntityTypeId())->getAllIds();Chart.php https://gitlab.com/jslee1/PrestaShop | PHP | 194 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 176 177 public function setType($type) 178 {edit_form.php https://gitlab.com/JrLucena/moodle | PHP | 141 lines
1<?php 2if (!defined('MOODLE_INTERNAL')) { 5 6require_once ($CFG->dirroot.'/lib/formslib.php'); 7 29 $mform->addElement('text', 'concept', get_string('concept', 'glossary')); 30 $mform->setType('concept', PARAM_TEXT); 31 $mform->addRule('concept', null, 'required', null, 'client'); 33 $mform->addElement('editor', 'definition_editor', get_string('definition', 'glossary'), null, $definitionoptions); 34 $mform->setType('definition_editor', PARAM_RAW); 35 $mform->addRule('definition_editor', get_string('required'), 'required', null, 'client'); 47 $mform->addElement('textarea', 'aliases', get_string('aliases', 'glossary'), 'rows="2" cols="40"'); 48 $mform->setType('aliases', PARAM_TEXT); 49 $mform->addHelpButton('aliases', 'aliases', 'glossary'); 55 $mform->addElement('hidden', 'usedynalink', $CFG->glossary_linkentries); 56 $mform->setType('usedynalink', PARAM_INT); 57 $mform->addElement('hidden', 'casesensitive', $CFG->glossary_casesensitive);d54c7a514770455520533750c438a66f80468226.file.favoriteproducts-account.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 105 lines
1<?php /* Smarty version Smarty-3.1.19, created on 2016-08-29 22:06:53 2 compiled from "C:\xampp\htdocs\prestashop\prestashop\_\themes\default-bootstrap\modules\favoriteproducts\views\templates\front\favoriteproducts-account.tpl" */ ?> 2 compiled from "C:\xampp\htdocs\prestashop\prestashop\_\themes\default-bootstrap\modules\favoriteproducts\views\templates\front\favoriteproducts-account.tpl" */ ?> 3<?php /*%%SmartyHeaderCode:273757c495ddaab520-57423355%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); 4$_valid = $_smarty_tpl->decodeProperties(array ( 28),false); /*/%%SmartyHeaderCode%%*/?> 29<?php if ($_valid && !is_callable('content_57c495ddc474f1_76527115')) {function content_57c495ddc474f1_76527115($_smarty_tpl) {?> 30<?php $_smarty_tpl->_capture_stack[0][] = array('path', null, null); ob_start(); ?> 30<?php $_smarty_tpl->_capture_stack[0][] = array('path', null, null); ob_start(); ?> 31 <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('my-account',true), ENT_QUOTES, 'UTF-8', true);?> 32"> 32"> 33 <?php echo smartyTranslate(array('s'=>'My account','mod'=>'favoriteproducts'),$_smarty_tpl);?> 34 35 </a> 36 <span class="navigation-pipe"><?php echo $_smarty_tpl->tpl_vars['navigationPipe']->value;?> 37</span>fa19aa05df5f920e458c9f88a596a2173a4715d9.file.virtual_product.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 193 lines
57</p> 58 <?php if (isset($_smarty_tpl->tpl_vars['file']->value['size'])) {?><p><?php echo smartyTranslate(array('s'=>'File size'),$_smarty_tpl);?> 59 <?php echo $_smarty_tpl->tpl_vars['file']->value['size'];?> 86" type="file" name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?> 87"<?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?> multiple="multiple"<?php }?> class="hide"/> 88 <div class="dummyfile input-group"> 95 <i class="icon-folder-open"></i> <?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?><?php echo smartyTranslate(array('s'=>'Add files'),$_smarty_tpl);?> 96<?php } else { ?><?php echo smartyTranslate(array('s'=>'Add file'),$_smarty_tpl);?> 97<?php }?> 103 <?php if (isset($_smarty_tpl->tpl_vars['size']->value)) {?><?php echo smartyTranslate(array('s'=>'Download current file (%skb)','sprintf'=>$_smarty_tpl->tpl_vars['size']->value),$_smarty_tpl);?> 104<?php } else { ?><?php echo smartyTranslate(array('s'=>'Download current file'),$_smarty_tpl);?> 105<?php }?> 192</script> 193<?php }?><?php }} ?> 194TaxDetailsItemInterface.php https://gitlab.com/yousafsyed/easternglamor | PHP | 224 lines
1<?php 2/** 42 */ 43 public function setType($type); 44ResellerHistory.php https://gitlab.com/StarsoftDevelopers/migrate | PHP | 283 lines
1<?php 2 98 */ 99 public function setType($type) 100 {_form.php https://gitlab.com/aintenebris/memoria | PHP | 275 lines
1<?php 2 34 <div ng-controller="CatalogItemTypeCtrl"> 35 <a ng-href="#/other/{{modelId}}" ng-click="setType('other')" class="btn btn-default" ng-class="(modelType == 'other') ? 'btn-primary' : 'btn-default'"><?= Yii::t('app', 'Other') ?></a> 36 <a ng-href="#/segment/{{modelId}}" ng-click="setType('segment')" class="btn btn-default" ng-class="(modelType == 'segment') ? 'btn-primary' : 'btn-default'"><?= Yii::t('app', 'Segment') ?></a> 74 75<?php if(1 > 2): ?> 76<script> 81 82 <?php $form = ActiveForm::begin(['id' => 'dynamic-form']); ?> 83 146 147 <?php DynamicFormWidget::begin([ 148 'widgetContainer' => 'dynamicform_wrapper', // required: only alphanumeric characters plus "_" [A-Za-z0-9_] 177 <div class="container-items"><!-- widgetBody --> 178 <?php foreach ($modelsCatalogItemSize as $i => $modelsCatalogItemSize): ?> 179 <div class="item panel panel-default"><!-- widgetItem -->windrose_bgimg_ex1.html https://gitlab.com/GLORIA04/conception-site-web | HTML | 98 lines
1<div style="font-weight: bold;margin-left:15px;">windrose_bgimg_ex1.php</div><link rel="stylesheet" href="../phphl.css" type="text/css"><div class="hl-main"><table class="hl-table" width="100%"><tr><td class="hl-gutter" align="right" valign="top"><pre>1 22 4949 50</pre></td><td class="hl-main" valign="top"><pre><span class="hl-inlinetags"><?php</span><span class="hl-code"> 51</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 51</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 52</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_windrose.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 53</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_flags.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 78</span><span class="hl-var">$wp2</span><span class="hl-code"> = </span><span class="hl-reserved">new</span><span class="hl-code"> </span><span class="hl-identifier">WindrosePlot</span><span class="hl-brackets">(</span><span class="hl-var">$data2</span><span class="hl-brackets">)</span><span class="hl-code">; 79</span><span class="hl-var">$wp2</span><span class="hl-code">-></span><span class="hl-identifier">SetType</span><span class="hl-brackets">(</span><span class="hl-identifier">WINDROSE_TYPE16</span><span class="hl-brackets">)</span><span class="hl-code">; 80</span><span class="hl-var">$wp2</span><span class="hl-code">-></span><span class="hl-identifier">SetSize</span><span class="hl-brackets">(</span><span class="hl-number">0</span><span class="hl-number">.55</span><span class="hl-brackets">)</span><span class="hl-code">;PaymentToken.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 217 lines
1<?php 2/** 75 */ 76 public function setType($type) 77 { 153 * @return bool Is active. 154 * @SuppressWarnings(PHPMD.BooleanGetMethodName) 155 */ 198 * @return bool Is visible. 199 * @SuppressWarnings(PHPMD.BooleanGetMethodName) 200 */Trigger.php https://gitlab.com/efabian/maya | PHP | 457 lines
1<?php 2/* 342 } 343 public function setType($type) 344 {208cd338324b113be4926ab03214a9f49905065e.file.features.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 283 lines
84 <option value="<?php echo $_smarty_tpl->tpl_vars['value']->value['id_feature_value'];?> 85"<?php if ($_smarty_tpl->tpl_vars['available_feature']->value['current_item']==$_smarty_tpl->tpl_vars['value']->value['id_feature_value']) {?>selected="selected"<?php }?> > 86 <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate($_smarty_tpl->tpl_vars['value']->value['value'],40);?> 91 <?php } else { ?> 92 <input type="hidden" name="feature_<?php echo $_smarty_tpl->tpl_vars['available_feature']->value['id_feature'];?> 93_value" value="0" /> 118_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?> 119').val($(this).val());<?php } ?>" ><?php echo (($tmp = @htmlspecialchars($_smarty_tpl->tpl_vars['available_feature']->value['val'][1]['value'], ENT_QUOTES, 'UTF-8', true))===null||$tmp==='' ? '' : $tmp);?> 120</textarea> 153?> 154 <?php if (count($_smarty_tpl->tpl_vars['languages']->value)>1) {?> 155 <div class="row translatable-field lang-<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?> 220<?php if (isset($_REQUEST['page'])&&$_REQUEST['page']>1) {?>&submitFilterproduct=<?php echo intval($_REQUEST['page']);?> 221<?php }?>" class="btn btn-default"><i class="process-icon-cancel"></i> <?php echo smartyTranslate(array('s'=>'Cancel'),$_smarty_tpl);?> 222</a>FormConfigBuilderInterface.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 288 lines
1<?php 2 209 */ 210 public function setType(ResolvedFormTypeInterface $type); 211Form.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 412 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 */ 69 parent::__construct($attributes); 70 $this->setType('form'); 71 $this->_allElements = Mage::getModel('xmlconnect/simplexml_form_element_collection', $this);828f1fbf18cf566c64d169e200329fa0391b2142.file.modal.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 99 lines
1<?php /* Smarty version Smarty-3.1.19, created on 2016-08-29 22:06:36 2 compiled from "C:\xampp\htdocs\prestashop\prestashop\_\admin\themes\default\template\controllers\customer_threads\helpers\view\modal.tpl" */ ?> 2 compiled from "C:\xampp\htdocs\prestashop\prestashop\_\admin\themes\default\template\controllers\customer_threads\helpers\view\modal.tpl" */ ?> 3<?php /*%%SmartyHeaderCode:255957c495cc1e0a67-50873136%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); 4$_valid = $_smarty_tpl->decodeProperties(array ( 28),false); /*/%%SmartyHeaderCode%%*/?> 29<?php if ($_valid && !is_callable('content_57c495cc2c5882_02856769')) {function content_57c495cc2c5882_02856769($_smarty_tpl) {?> 30<form action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminCustomerThreads'), ENT_QUOTES, 'UTF-8', true);?> 30<form action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminCustomerThreads'), ENT_QUOTES, 'UTF-8', true);?> 31&viewcustomer_thread&id_customer_thread=<?php echo intval($_smarty_tpl->tpl_vars['id_customer_thread']->value);?> 32" method="post" enctype="multipart/form-data" class="form-horizontal"> 37 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> 38 <h4 class="modal-title"><?php echo smartyTranslate(array('s'=>"Forward this discussion"),$_smarty_tpl);?> 39</h4> 42 <div class="row row-margin-bottom"> 43 <label class="control-label col-lg-6"><?php echo smartyTranslate(array('s'=>'Forward this discussion to an employee:'),$_smarty_tpl);?> 44</label>ListBuilder.php https://gitlab.com/cuza/Clinic_Recods | PHP | 193 lines
1<?php 2 57 $guessType = $this->guesser->guessType($admin->getClass(), $fieldDescription->getName(), $admin->getModelManager()); 58 $fieldDescription->setType($guessType->getType()); 59 } else { 59 } else { 60 $fieldDescription->setType($type); 61 } 168 if (null === $fieldDescription->getType()) { 169 $fieldDescription->setType('action'); 170 }Parameter.php https://gitlab.com/luisrepo/ClienteWS | PHP | 214 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Parameter.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 182 */ 183 public function setType($type) 184 {function_8html__checkboxes_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 143 lines
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<title>openbiz: E:/E/GEAMP/www/openbiz/openbiz/others/Smarty/libs/plugins/function.html_checkboxes.php Source File</title> 6<link href="tabs.css" rel="stylesheet" type="text/css"/> 28 <div class="headertitle"> 29<h1>E:/E/GEAMP/www/openbiz/openbiz/others/Smarty/libs/plugins/function.html_checkboxes.php</h1> </div> 30</div> 31<div class="contents"> 32<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <?php 33<a name="l00041"></a>00041 function smarty_function_html_checkboxes($params, &$smarty) 92<a name="l00100"></a>00100 93<a name="l00101"></a>00101 settype($selected, <span class="stringliteral">'array'</span>); 94<a name="l00102"></a>00102 $_html_result = array();TrafficManagement.php https://gitlab.com/Blueprint-Marketing/dyn-php | PHP | 271 lines
1<?php 2 174 $zone->setName($result->data->zone) 175 ->setType($result->data->zone_type) 176 ->setSerialStyle($result->data->serial_style) 201 $zone->setName($zoneData->zone) 202 ->setType($zoneData->zone_type) 203 ->setSerialStyle($zoneData->serial_style)config.php https://gitlab.com/mautic-master/mautic | PHP | 255 lines
1<?php 2/** 144 'mautic.form.type.passwordreset' => array( 145 'class' => 'Mautic\UserBundle\Form\Type\PasswordResetType', 146 'alias' => 'passwordreset'override_form.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 279 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 27 28require_once($CFG->libdir . '/formslib.php'); 29require_once($CFG->dirroot . '/mod/lesson/mod_form.php'); 104 // Generate an error. 105 $link = new moodle_url('/mod/lesson/overrides.php', array('cmid' => $cm->id)); 106 print_error('groupsnone', 'lesson', $link); 143 // Generate an error. 144 $link = new moodle_url('/mod/lesson/overrides.php', array('cmid' => $cm->id)); 145 print_error('usersnone', 'lesson', $link); 174 $mform->addElement('passwordunmask', 'password', get_string('usepassword', 'lesson')); 175 $mform->setType('password', PARAM_TEXT); 176 $mform->addHelpButton('password', 'usepassword', 'lesson');edit_form.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 251 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 28 29require_once($CFG->libdir . '/formslib.php'); 30require_once($CFG->libdir . '/badgeslib.php'); 30require_once($CFG->libdir . '/badgeslib.php'); 31require_once($CFG->libdir . '/filelib.php'); 32 51 // When downloading badge, it will be necessary to clean the name as PARAM_FILE. 52 $mform->setType('name', PARAM_TEXT); 53 $mform->addRule('name', null, 'required'); 56 $mform->addElement('textarea', 'description', get_string('description', 'badges'), 'wrap="virtual" rows="8" cols="70"'); 57 $mform->setType('description', PARAM_NOTAGS); 58 $mform->addRule('description', null, 'required'); 74 $mform->addElement('text', 'issuername', get_string('name'), array('size' => '70')); 75 $mform->setType('issuername', PARAM_NOTAGS); 76 $mform->addRule('issuername', null, 'required');outcomeitem_form.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 275 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 28 29require_once $CFG->libdir.'/formslib.php'; 30 41 $mform->addRule('itemname', get_string('required'), 'required', null, 'client'); 42 $mform->setType('itemname', PARAM_TEXT); 43 45 $mform->addHelpButton('iteminfo', 'iteminfo', 'grades'); 46 $mform->setType('iteminfo', PARAM_TEXT); 47 49 $mform->addHelpButton('idnumber', 'idnumbermod'); 50 $mform->setType('idnumber', PARAM_RAW); 51 59 $mform->addElement('selectwithlink', 'outcomeid', get_string('outcome', 'grades'), $options, null, 60 array('link' => $CFG->wwwroot.'/grade/edit/outcome/course.php?id='.$COURSE->id, 'label' => get_string('outcomeassigntocourse', 'grades'))); 61 $mform->addHelpButton('outcomeid', 'outcome', 'grades');SiteVerification.php https://gitlab.com/oytunistrator/google-api-php-client | PHP | 404 lines
1<?php 2/* 287 } 288 public function setType($type) 289 { 395 } 396 public function setType($type) 397 {forms.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 385 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 29 30require_once($CFG->dirroot.'/lib/formslib.php'); 31 51 $form->addElement('hidden', 'plugin', $plugin); 52 $form->setType('plugin', PARAM_PLUGIN); 53 $form->addElement('hidden', 'editing', !empty($this->_customdata['store'])); 53 $form->addElement('hidden', 'editing', !empty($this->_customdata['store'])); 54 $form->setType('editing', PARAM_BOOL); 55 59 $form->addRule('name', get_string('required'), 'required'); 60 $form->setType('name', PARAM_NOTAGS); 61 } else { 63 $form->addElement('static', 'name-value', get_string('storename', 'cache'), $store); 64 $form->setType('name', PARAM_NOTAGS); 65 }Query.php https://gitlab.com/habracoder/advertising | PHP | 381 lines
1<?php 2 353 */ 354 public function setType($type){ } 355BrokerController.php https://gitlab.com/svinesh3691/symfony_curd | PHP | 217 lines
1<?php 2 12use Symfony\Component\Form\Extension\Core\Type\SubmitType; 13use Symfony\Component\Form\Extension\Core\Type\ResetType; 14windrose_ex2.html https://gitlab.com/GLORIA04/conception-site-web | HTML | 96 lines
1<div style="font-weight: bold;margin-left:15px;">windrose_ex2.php</div><link rel="stylesheet" href="../phphl.css" type="text/css"><div class="hl-main"><table class="hl-table" width="100%"><tr><td class="hl-gutter" align="right" valign="top"><pre>1 22 4848 49</pre></td><td class="hl-main" valign="top"><pre><span class="hl-inlinetags"><?php</span><span class="hl-code"> 50</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 50</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 51</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_windrose.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 52 72</span><span class="hl-comment">//</span><span class="hl-comment"> Make it have 8 compass direction</span><span class="hl-comment"></span><span class="hl-code"> 73</span><span class="hl-var">$wp</span><span class="hl-code">-></span><span class="hl-identifier">SetType</span><span class="hl-brackets">(</span><span class="hl-identifier">WINDROSE_TYPE8</span><span class="hl-brackets">)</span><span class="hl-code">; 74ScriptTest.php https://gitlab.com/rsilveira1987/Expresso | PHP | 251 lines
1<?php 2/** 13 */ 14require_once dirname(dirname(dirname(dirname(__FILE__)))) . DIRECTORY_SEPARATOR . 'TestHelper.php'; 15 18 */ 19class Expressomail_Sieve_Backend_ScriptTest extends PHPUnit_Framework_TestCase 20{ 56 { 57 $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 Expressomail Sieve Script Tests'); 58 PHPUnit_TextUI_TestRunner::run($suite); 77 78 $action->setType(Expressomail_Sieve_Rule_Action::FILEINTO) 79 ->setArgument('INBOX/UNITTEST'); 113 114 $action->setType(Expressomail_Sieve_Rule_Action::FILEINTO) 115 ->setArgument('INBOX/UNITTEST');Callback.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 205 lines
1<?php 2/** 122 $this->_function = (string) $function; 123 $this->setType('function'); 124 return $this; 165 */ 166 public function setType($type) 167 { 168 if (!in_array($type, $this->_types)) { 169 #require_once 'Zend/Server/Exception.php'; 170 throw new Zend_Server_Exception('Invalid method callback type passed to ' . __CLASS__ . '::' . __METHOD__);filledlineex01.1.html https://gitlab.com/GLORIA04/conception-site-web | HTML | 48 lines
1<div style="font-weight: bold;margin-left:15px;">filledlineex01.1.php</div><link rel="stylesheet" href="../phphl.css" type="text/css"><div class="hl-main"><table class="hl-table" width="100%"><tr><td class="hl-gutter" align="right" valign="top"><pre>1 22 2424 25</pre></td><td class="hl-main" valign="top"><pre><span class="hl-inlinetags"><?php</span><span class="hl-code"> </span><span class="hl-comment">//</span><span class="hl-comment"> content="text/plain; charset=utf-8"</span><span class="hl-comment"></span><span class="hl-code"> 26</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 26</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 27</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_line.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">; 28 41</span><span class="hl-var">$p1</span><span class="hl-code">-></span><span class="hl-identifier">SetFillColor</span><span class="hl-brackets">(</span><span class="hl-quotes">"</span><span class="hl-string">orange</span><span class="hl-quotes">"</span><span class="hl-brackets">)</span><span class="hl-code">; 42</span><span class="hl-var">$p1</span><span class="hl-code">-></span><span class="hl-identifier">mark</span><span class="hl-code">-></span><span class="hl-identifier">SetType</span><span class="hl-brackets">(</span><span class="hl-identifier">MARK_FILLEDCIRCLE</span><span class="hl-brackets">)</span><span class="hl-code">; 43</span><span class="hl-var">$p1</span><span class="hl-code">-></span><span class="hl-identifier">mark</span><span class="hl-code">-></span><span class="hl-identifier">SetFillColor</span><span class="hl-brackets">(</span><span class="hl-quotes">"</span><span class="hl-string">red</span><span class="hl-quotes">"</span><span class="hl-brackets">)</span><span class="hl-code">;4f75513d0ac3ea4d2b93ca969cc7790630043fd3.file.suppliers.tpl.php https://gitlab.com/ivandevp/petshop | PHP | 229 lines
79 <td><input type="checkbox" class="supplierCheckBox" name="check_supplier_<?php echo $_smarty_tpl->tpl_vars['supplier']->value['id_supplier'];?> 80" <?php if ($_smarty_tpl->tpl_vars['supplier']->value['is_selected']==true) {?>checked="checked"<?php }?> value="<?php echo $_smarty_tpl->tpl_vars['supplier']->value['id_supplier'];?> 81" /></td> 85" name="default_supplier" value="<?php echo $_smarty_tpl->tpl_vars['supplier']->value['id_supplier'];?> 86" <?php if ($_smarty_tpl->tpl_vars['supplier']->value['is_selected']==false) {?>disabled="disabled"<?php }?> <?php if ($_smarty_tpl->tpl_vars['supplier']->value['is_default']==true) {?>checked="checked"<?php }?> /></td> 87 </tr> 97 <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminProducts'), ENT_QUOTES, 'UTF-8', true);?> 98<?php if (isset($_REQUEST['page'])&&$_REQUEST['page']>1) {?>&submitFilterproduct=<?php echo intval($_REQUEST['page']);?> 99<?php }?>" class="btn btn-default"><i class="process-icon-cancel"></i> <?php echo smartyTranslate(array('s'=>'Cancel'),$_smarty_tpl);?> 129 <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion-supplier" href="#supplier-<?php echo $_smarty_tpl->tpl_vars['supplier']->value->id;?> 130"><?php if (isset($_smarty_tpl->tpl_vars['supplier']->value->name)) {?><?php echo $_smarty_tpl->tpl_vars['supplier']->value->name;?> 131<?php }?></a> 219<?php if (isset($_REQUEST['page'])&&$_REQUEST['page']>1) {?>&submitFilterproduct=<?php echo intval($_REQUEST['page']);?> 220<?php }?>" class="btn btn-default"><i class="process-icon-cancel"></i> <?php echo smartyTranslate(array('s'=>'Cancel'),$_smarty_tpl);?> 221</a>