PageRenderTime 1606ms queryTime 609ms sortTime 55ms getByIdsTime 413ms findMatchingLines 199ms

100+ results results for 'php settype repo:synergylearning/campusconnect' (1606 ms)

Not the results you expected?
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
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.');
                    
                
Backup.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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())
                    
                
Advanced.php https://gitlab.com/yousafsyed/easternglamor | 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/yousafsyed/easternglamor | 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) {
                    
                
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');
                    
                
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');
                    
147
                    
                
class-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     */
                    
                
Item.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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;
                    
                
UserController.php https://gitlab.com/HugoGarrido/mondialator | PHP | 586 lines
                    
1<?php
                    
2
                    
157		 		$social->setUser($user);
                    
158		 		$social->setType($socialType[0]);
                    
159		 		
                    
                
SmartyBC.class.php https://gitlab.com/Elron_MacBong/ecms | 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 *
                    
                
95eeb7b25358280d311e60256eb3b5688b1d33ac.file.blockcms.tpl.cache.php https://gitlab.com/nghiep5890/prestashop | PHP | 210 lines
                    
1<?php /* Smarty version Smarty-3.1.19, created on 2016-11-24 23:58:43
                    
2         compiled from "C:\xampp\htdocs\prestashop\themes\default-bootstrap\modules\blockcms\blockcms.tpl" */ ?>
                    
2         compiled from "C:\xampp\htdocs\prestashop\themes\default-bootstrap\modules\blockcms\blockcms.tpl" */ ?>
                    
3<?php /*%%SmartyHeaderCode:659358371c43bfd283-45713654%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
                    
4$_valid = $_smarty_tpl->decodeProperties(array (
                    
42),false); /*/%%SmartyHeaderCode%%*/?>
                    
43<?php if ($_valid && !is_callable('content_58371c43cef5b2_29254358')) {function content_58371c43cef5b2_29254358($_smarty_tpl) {?>
                    
44
                    
44
                    
45<?php if ($_smarty_tpl->tpl_vars['block']->value==1) {?>
                    
46	<!-- Block CMS module -->
                    
58">
                    
59					<?php if (!empty($_smarty_tpl->tpl_vars['cms_title']->value['name'])) {?><?php echo $_smarty_tpl->tpl_vars['cms_title']->value['name'];?>
                    
60<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['cms_title']->value['category_name'];?>
                    
201		<div>
                    
202			<?php echo '/*%%SmartyNocache:659358371c43bfd283-45713654%%*/<?php echo smartyTranslate(array(\'s\'=>\'[1] %3$s %2$s - Ecommerce software by %1$s [/1]\',\'mod\'=>\'blockcms\',\'sprintf\'=>array(\'PrestaShop™\',date(\'Y\'),\'©\'),\'tags\'=>array(\'<a class="_blank" href="http://www.prestashop.com">\')),$_smarty_tpl);?>
                    
203/*/%%SmartyNocache:659358371c43bfd283-45713654%%*/';?>
                    
                
SendTransacSms.php https://gitlab.com/i-have-a-green/digitemis-v3 | 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    {
                    
                
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="&#xf0e0 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="&#xf084 <?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 }?>
                    
                
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 float
                    
                
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    {
                    
                
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"
                    
18
                    
                
jquery.noty.js https://gitlab.com/alidz1982/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;
                    
                
TypedDataManager.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)
                    
                
ConfigHandler.php https://gitlab.com/mohamed_hussein/prodt | PHP | 282 lines
                    
1<?php
                    
2
                    
21  public function __construct($type = NULL, $id = NULL) {
                    
22    $this->setType($type);
                    
23    $this->setID($id);
                    
36  public function getForm(ViewEntityInterface $view, $display_id, $js, $type = NULL, $id = NULL) {
                    
37    $this->setType($type);
                    
38    $this->setID($id);
                    
                
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);
                    
556
                    
                
Theme.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">&lt;?php</span><span class="hl-code"> </span><span class="hl-comment">//</span><span class="hl-comment"> content=&quot;text/plain; charset=utf-8&quot;</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">-&gt;</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">-&gt;</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">-&gt;</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">&lt;?php</span><span class="hl-code"> </span><span class="hl-comment">//</span><span class="hl-comment"> content=&quot;text/plain; charset=utf-8&quot; </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">-&gt;</span><span class="hl-identifier">mark</span><span class="hl-code">-&gt;</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">-&gt;</span><span class="hl-identifier">mark</span><span class="hl-code">-&gt;</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">&lt;?php</span><span class="hl-code"> </span><span class="hl-comment">//</span><span class="hl-comment"> content=&quot;text/plain; charset=utf-8&quot; </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">-&gt;</span><span class="hl-identifier">mark</span><span class="hl-code">-&gt;</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">-&gt;</span><span class="hl-identifier">mark</span><span class="hl-code">-&gt;</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>() {
                    
                
ColumnMap.php https://github.com/adatta02/comp190-code.git | PHP | 417 lines
                    
19 * and is licensed under the LGPL. For more information please see
                    
20 * <http://propel.phpdb.org>.
                    
21 */
                    
121	/**
                    
122	 * Set the php anme of this column.
                    
123	 *
                    
123	 *
                    
124	 * @param      string $phpName A string representing the PHP name.
                    
125	 * @return     void
                    
126	 */
                    
127	public function setPhpName($phpName)
                    
128	{
                    
128	{
                    
129		$this->phpName = $phpName;
                    
130	}
                    
                
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);
                    
147
                    
                
a3e2b1c5e8a48b547f40a9b538eb7d51519ba0ba.file.calendar.tpl.php https://gitlab.com/nghiep5890/prestashop | PHP | 220 lines
                    
80										<li><a<?php if (isset($_smarty_tpl->tpl_vars['action']->value['href'])) {?> href="<?php echo $_smarty_tpl->tpl_vars['action']->value['href'];?>
                    
81"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['action']->value['class'])) {?> class="<?php echo $_smarty_tpl->tpl_vars['action']->value['class'];?>
                    
82"<?php }?>><?php if (isset($_smarty_tpl->tpl_vars['action']->value['icon'])) {?><i class="<?php echo $_smarty_tpl->tpl_vars['action']->value['icon'];?>
                    
88									<a<?php if (isset($_smarty_tpl->tpl_vars['actions']->value[0]['href'])) {?> href="<?php echo $_smarty_tpl->tpl_vars['actions']->value[0]['href'];?>
                    
89"<?php }?> class="btn btn-default btn-xs pull-right<?php if (isset($_smarty_tpl->tpl_vars['actions']->value[0]['class'])) {?> <?php echo $_smarty_tpl->tpl_vars['actions']->value[0]['class'];?>
                    
90<?php }?>"><?php if (isset($_smarty_tpl->tpl_vars['actions']->value[0]['icon'])) {?><i class="<?php echo $_smarty_tpl->tpl_vars['actions']->value[0]['icon'];?>
                    
118								<select id="compare-options" class="form-control fixed-width-lg pull-right" name="compare_date_option"<?php if (is_null($_smarty_tpl->tpl_vars['compare_date_from']->value)||is_null($_smarty_tpl->tpl_vars['compare_date_to']->value)) {?> disabled="disabled"<?php }?>>
                    
119									<option value="1" <?php if ($_smarty_tpl->tpl_vars['compare_option']->value==1) {?>selected="selected"<?php }?> label="<?php echo smartyTranslate(array('s'=>'Previous period'),$_smarty_tpl);?>
                    
120"><?php echo smartyTranslate(array('s'=>'Previous period'),$_smarty_tpl);?>
                    
121</option>
                    
122									<option value="2" <?php if ($_smarty_tpl->tpl_vars['compare_option']->value==2) {?>selected="selected"<?php }?> label="<?php echo smartyTranslate(array('s'=>'Previous Year'),$_smarty_tpl);?>
                    
123"><?php echo smartyTranslate(array('s'=>'Previous year'),$_smarty_tpl);?>
                    
124</option>
                    
125									<option value="3" <?php if ($_smarty_tpl->tpl_vars['compare_option']->value==3) {?>selected="selected"<?php }?> label="<?php echo smartyTranslate(array('s'=>'Custom'),$_smarty_tpl);?>
                    
126"><?php echo smartyTranslate(array('s'=>'Custom'),$_smarty_tpl);?>
                    
                
Isbn.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);
                    
                
Table.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 542 lines
                    
1<?php
                    
2/*
                    
513   */
                    
514  public function setType($type)
                    
515  {
                    
                
Trigger.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 457 lines
                    
1<?php
                    
2/*
                    
342  }
                    
343  public function setType($type)
                    
344  {
                    
                
%%9C^9C0^9C06127D%%news.html.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 223 lines
                    
1<?php /* Smarty version 2.6.18, created on 2011-03-31 18:07:45
                    
2         compiled from /home/nhadatan/public_html//frontend/templates/news.html */ ?>
                    
2         compiled from /home/nhadatan/public_html//frontend/templates/news.html */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', '/home/nhadatan/public_html//frontend/templates/news.html', 58, false),)), $this); ?>
                    
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', '/home/nhadatan/public_html//frontend/templates/news.html', 58, false),)), $this); ?>
                    
5<?php $_smarty_tpl_vars = $this->_tpl_vars;
                    
6$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['include_header'], 'smarty_include_vars' => array()));
                    
39					                				<td align="left" id="menu1" dir="ltr" style="color: #CC0303;">
                    
40					                					<?php if ($this->_tpl_vars['genre'] == '1'): ?>TIN PHONG THỦY<?php elseif ($this->_tpl_vars['genre'] == '0'): ?>BẢN TIN NHÀ ĐẤT<?php elseif ($this->_tpl_vars['genre'] == '2'): ?>VĂN BẢN PHÁP LUẬT<?php else: ?>TIN TỨC<?php endif; ?>
                    
41					                				</td>
                    
105					                              				<table width="98%" border="0" cellpadding="0" cellspacing="0">
                    
106					                              				<?php $_from = $this->_tpl_vars['NewsList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
107    foreach ($_from as $this->_tpl_vars['keys'] => $this->_tpl_vars['items']):
                    
137					                            <?php else: ?>
                    
138												<?php $_from = $this->_tpl_vars['NewsList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
139    foreach ($_from as $this->_tpl_vars['keys'] => $this->_tpl_vars['items']):
                    
                
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  {
                    
                
Atom.php https://gitlab.com/koodersmiikka/operaatio-terveys | 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();
                    
                
GetInsurancePrices200Ok.php https://gitlab.com/mglinski/php-esi-lib | PHP | 276 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP version 5
                    
6 *
                    
98        'levels' => 'setLevels',
                    
99        'type_id' => 'setTypeId'
                    
100    );
                    
210     */
                    
211    public function setTypeId($type_id)
                    
212    {
                    
                
Editor.php https://bitbucket.org/mengqing/magento-mirror.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 */
                    
40        if($this->isEnabled()) {
                    
41            $this->setType('wysiwyg');
                    
42            $this->setExtType('wysiwyg');
                    
43        } else {
                    
44            $this->setType('textarea');
                    
45            $this->setExtType('textarea');
                    
                
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)
                    
                
File.php https://github.com/jorgenils/zend-framework.git | PHP | 371 lines
                    
1<?php
                    
2/**
                    
146    {
                    
147        settype($value, 'integer');
                    
148        $this->_fwrite( chr($value>>24 & 0xFF) .
                    
165        /**
                    
166         * PHP uses long as largest integer. fseek() uses long for offset.
                    
167         * long has 4 bytes in a lot of systems. 4 bytes are discarded to prevent
                    
188        /**
                    
189         * PHP uses long as largest integer. fseek() uses long for offset.
                    
190         * long has 4 bytes in a lot of systems. 4 bytes are discarded to prevent
                    
193         */
                    
194        settype($value, 'integer');
                    
195        $this->_fwrite( "\x00\x00\x00\x00"     .
                    
228    {
                    
229        settype($value, 'integer');
                    
230        while ($value > 0x7F) {
                    
                
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');
                    
                
JobConfigurationQuery.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 283 lines
                    
1<?php
                    
2/*
                    
24  public $createDisposition;
                    
25  protected $defaultDatasetType = 'Google_Service_Bigquery_DatasetReference';
                    
26  protected $defaultDatasetDataType = '';
                    
                
%%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                &nbsp;<?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 {
                    
                
%%63^637^63787B04%%interior.html.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 178 lines
                    
2         compiled from /home/nhadatan/public_html//frontend/templates/interior.html */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'indent', '/home/nhadatan/public_html//frontend/templates/interior.html', 49, false),)), $this); ?>
                    
60														<option value="">Tất cả</option>
                    
61													<?php $_from = $this->_tpl_vars['cat_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
62    foreach ($_from as $this->_tpl_vars['cat']):
                    
64														<option	value="<?php echo $this->_tpl_vars['cat']['category_id']; ?>
                    
65" <?php if ($this->_tpl_vars['cat_interior_id'] == $this->_tpl_vars['cat']['category_id']): ?> selected <?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['cat']['category_name'])) ? $this->_run_mod_handler('indent', true, $_tmp, $this->_tpl_vars['cat']['level'], "&#166;&nbsp;&nbsp;&nbsp;&nbsp;", "&#166;--&nbsp;&nbsp;") : smarty_modifier_indent($_tmp, $this->_tpl_vars['cat']['level'], "&#166;&nbsp;&nbsp;&nbsp;&nbsp;", "&#166;--&nbsp;&nbsp;")); ?>
                    
66</option>
                    
86				                            	<?php if (count ( $this->_tpl_vars['InteriorList'] ) > 0): ?>
                    
87				                            	<?php $_from = $this->_tpl_vars['InteriorList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
88    foreach ($_from as $this->_tpl_vars['keys'] => $this->_tpl_vars['items']):
                    
98																	<a id="thumb<?php echo $this->_tpl_vars['items']['album_id']; ?>
                    
99" href="<?php echo $this->_config[0]['vars']['IMG_INTERIOR_DIR']; ?>
                    
100<?php echo $this->_tpl_vars['items']['interior_image']; ?>
                    
                
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';
                    
43
                    
                
HeadTitle.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    {
                    
                
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,
                    
                
Kinematic.php https://github.com/bhaumik25/zend-framework.git | PHP | 258 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26require_once 'Zend/Measure/Exception.php';
                    
27require_once 'Zend/Measure/Abstract.php';
                    
27require_once 'Zend/Measure/Abstract.php';
                    
28require_once 'Zend/Locale.php';
                    
29
                    
172        parent::setValue($value, $type, $locale);
                    
173        parent::setType($type);
                    
174    }
                    
182     */
                    
183    public function setType($type)
                    
184    {
                    
222        parent::setValue($value, $type, $this->_Locale);
                    
223        parent::setType( $type );
                    
224    }
                    
                
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');
                    
                
CapacitanceTest.php https://github.com/bhaumik25/zend-framework.git | PHP | 398 lines
                    
1<?php
                    
2
                    
26 */
                    
27require_once 'Zend/Measure/Capacitance.php';
                    
28
                    
29/**
                    
30 * PHPUnit test case
                    
31 */
                    
31 */
                    
32require_once 'PHPUnit/Framework/TestCase.php';
                    
33
                    
38 */
                    
39class Zend_Measure_CapacitanceTest extends PHPUnit_Framework_TestCase
                    
40{
                    
341     */
                    
342    public function testCapacitanceSetType()
                    
343    {
                    
                
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);
                    
141
                    
                
board.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    {
                    
                
AssessmentController.php https://gitlab.com/besingamkb/rtwc | PHP | 300 lines
                    
1<?php
                    
2
                    
270                $export = $export->setAssessments($assessment->id)
                    
271                    ->setType($type)
                    
272                    ->build();
                    
                
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 }} ?>
                    
194
                    
                
ResellerHistory.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 -->
                    
                
%%54^540^540AE809%%estatehot.html.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 202 lines
                    
41					                					 <?php if ($this->_tpl_vars['informid'] != ''): ?>
                    
42					                					 <?php echo $this->_tpl_vars['InformDetail']['category_name']; ?>
                    
43<?php else: ?>
                    
65					                            </tr>
                    
66					                            <?php if ($this->_tpl_vars['informid'] != ''): ?>
                    
67	                            				<tr>
                    
97					                              				<table width="98%" border="0" cellpadding="0" cellspacing="0">
                    
98					                              				<?php $_from = $this->_tpl_vars['InformList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
99    foreach ($_from as $this->_tpl_vars['keys'] => $this->_tpl_vars['items']):
                    
112					                              				<tr>
                    
113					                              					<td align="center" colspan="2" style="padding-top: 5px;"><?php echo $this->_tpl_vars['paging']; ?>
                    
114</td>
                    
123					                            <?php else: ?>
                    
124				                            	<?php $_from = $this->_tpl_vars['EstateHot']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
125    foreach ($_from as $this->_tpl_vars['keys'] => $this->_tpl_vars['items']):
                    
                
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">&lt;?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">-&gt;</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">-&gt;</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     */
                    
                
TaxDetailsItemInterface.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 224 lines
                    
1<?php
                    
2/**
                    
42     */
                    
43    public function setType($type);
                    
44
                    
                
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) {?>&amp;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);
                    
211
                    
                
Form.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);
                    
                
Backup.php https://bitbucket.org/mengqing/magento-mirror.git | 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) 2012 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())
                    
                
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&amp;viewcustomer_thread&amp;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">&times;</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 &lt;?php
                    
33<a name="l00041"></a>00041 function smarty_function_html_checkboxes($params, &amp;$smarty)
                    
92<a name="l00100"></a>00100 
                    
93<a name="l00101"></a>00101     settype($selected, <span class="stringliteral">&#39;array&#39;</span>);
                    
94<a name="l00102"></a>00102     $_html_result = array();
                    
                
GDToolkit.php https://gitlab.com/mohamed_hussein/prodt | PHP | 473 lines
                    
52   * @see \Drupal\system\Plugin\ImageToolkit\GDToolkit::setResource()
                    
53   * @see http://php.net/manual/function.getimagesize.php
                    
54   */
                    
101   *
                    
102   * @todo Remove the method for PHP 8.0+ https://www.drupal.org/node/3173031
                    
103   */
                    
136    if (!(is_object($resource) && $resource instanceof \GdImage)) {
                    
137      // Since PHP 8.0 resource should be \GdImage, for previous versions it
                    
138      // should be resource.
                    
155  public function getResource() {
                    
156    // @TODO clean-up for PHP 8.0+ https://www.drupal.org/node/3173031
                    
157    if (!(is_resource($this->resource) || (is_object($this->resource) && $this->resource instanceof \GdImage))) {
                    
402      $requirements['version']['severity'] = REQUIREMENT_WARNING;
                    
403      $requirements['version']['description'] = t('The GD Library for PHP is enabled, but was compiled without support for functions used by the rotate and desaturate effects. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See <a href="http://php.net/manual/book.image.php">the PHP manual</a>.');
                    
404    }
                    
                
TrafficManagement.php https://gitlab.com/blueprintmrk/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)
                    
                
 

Source

Language