PageRenderTime 1525ms queryFilters 0ms Sphinxql 220ms GetByIds 1259ms meta 0ms repositoryFilters 8ms languageFilters 1ms sourceFilters 1ms

78,253 results for 'php settype repo:synergylearning/campusconnect' (1525 ms)

Source

Language

Repository

goods.dwt.php https://bitbucket.org/luxi78/fengyu | PHP | 428 lines
53			<div class="Gaction clearfix">
54		  <a href="user.php"><?php echo $this->_var['lang']['label_login']; ?></a><a href="user.php?act=register"><?php echo $this->_var['lang']['label_regist']; ?></a>
55			<a href="user.php?act=profile"><?php echo $this->_var['lang']['label_profile']; ?></a><a href="user.php?act=collection_list"><?php echo $this->_var['lang']['label_collection']; ?></a>
120						<?php endif; ?>
121						<a href="<?php echo $this->_var['item']['url']; ?>" title="<?php echo $this->_var['lang'][$this->_var['item']['type']]; ?> <?php echo $this->_var['item']['act_name']; ?><?php echo $this->_var['item']['time']; ?>" style="font-weight:100; color:#006bcd;"><?php echo $this->_var['item']['act_name']; ?></a><br />
122						<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
213					<input type="radio" name="spec_<?php echo $this->_var['spec_key']; ?>" value="<?php echo $this->_var['value']['id']; ?>" id="spec_value_<?php echo $this->_var['value']['id']; ?>" <?php if ($this->_var['key'] == 0): ?>checked<?php endif; ?> onClick="changePrice()" />
214					<?php echo $this->_var['value']['label']; ?> [<?php if ($this->_var['value']['price'] > 0): ?><?php echo $this->_var['lang']['plus']; ?><?php elseif ($this->_var['value']['price'] < 0): ?><?php echo $this->_var['lang']['minus']; ?><?php endif; ?> <?php echo $this->_var['value']['format_price']; ?>] </label>
215					<br />
222?>
223						<option label="<?php echo $this->_var['value']['label']; ?>" value="<?php echo $this->_var['value']['id']; ?>"><?php echo $this->_var['value']['label']; ?> <?php if ($this->_var['value']['price'] > 0): ?><?php echo $this->_var['lang']['plus']; ?><?php elseif ($this->_var['value']['price'] < 0): ?><?php echo $this->_var['lang']['minus']; ?><?php endif; ?><?php if ($this->_var['value']['price'] != 0): ?><?php echo $this->_var['value']['format_price']; ?><?php endif; ?></option>
224						<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
233					<input type="checkbox" name="spec_<?php echo $this->_var['spec_key']; ?>" value="<?php echo $this->_var['value']['id']; ?>" id="spec_value_<?php echo $this->_var['value']['id']; ?>" onClick="changePrice()" />
234					<?php echo $this->_var['value']['label']; ?> [<?php if ($this->_var['value']['price'] > 0): ?><?php echo $this->_var['lang']['plus']; ?><?php elseif ($this->_var['value']['price'] < 0): ?><?php echo $this->_var['lang']['minus']; ?><?php endif; ?> <?php echo $this->_var['value']['format_price']; ?>] </label>
235					<br />
forms.php https://github.com/mylescarrick/moodle.git | PHP | 468 lines
1<?php
2
33
34require_once($CFG->libdir . '/formslib.php');
35require_once($CFG->dirroot . '/' . $CFG->admin . '/registration/lib.php');
55        $mform->addElement('hidden', 'confirm', 1);
56        $mform->setType('confirm', PARAM_INT);
57        $mform->addElement('hidden', 'unregistration', 1);
57        $mform->addElement('hidden', 'unregistration', 1);
58        $mform->setType('unregistration', PARAM_INT);
59        $mform->addElement('hidden', 'huburl', $huburl);
59        $mform->addElement('hidden', 'huburl', $huburl);
60        $mform->setType('huburl', PARAM_URL);
61        $mform->addElement('hidden', 'hubname', $hubname);
61        $mform->addElement('hidden', 'hubname', $hubname);
62        $mform->setType('hubname', PARAM_TEXT);
63
formslib_test.php git://github.com/moodle/moodle.git | PHP | 1,000 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
17/**
18 * Unit tests for /lib/formslib.php.
19 *
20 * @package   core_form
21 * @category  phpunit
22 * @copyright 2011 Sam Hemelryk
28global $CFG;
29require_once($CFG->libdir . '/formslib.php');
30require_once($CFG->libdir . '/form/radio.php');
30require_once($CFG->libdir . '/form/radio.php');
31require_once($CFG->libdir . '/form/select.php');
32require_once($CFG->libdir . '/form/text.php');
130
131        require_once('HTML/QuickForm/Rule/Range.php'); // Requires this pear stuff.
132
Smarty.class.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 1,961 lines
55
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1464        $smarty_compiler->caching           = $this->caching;
1465        $smarty_compiler->php_handling      = $this->php_handling;
1466        $smarty_compiler->left_delimiter    = $this->left_delimiter;
ClassMetadataTest.php git://github.com/doctrine/doctrine2.git | PHP | 1,094 lines
1<?php
2
38
39require_once __DIR__ . '/../../Models/Global/GlobalNamespaceModel.php';
40
66        $discrColumn->setColumnName('disc');
67        $discrColumn->setType(Type::getType('integer'));
68
126
127        $fieldMetadata->setType(Type::getType('string'));
128        $fieldMetadata->setLength(50);
139
140        $fieldMetadata->setType(Type::getType('string'));
141        $fieldMetadata->setLength(50);
152
153        $fieldMetadata->setType(Type::getType('string'));
154        $fieldMetadata->setLength(50);
MarcheService.php http://zeybux.googlecode.com/svn/trunk/ | PHP | 889 lines
1<?php
2//****************************************************************
5// Date de creation : 13/07/2011
6// Fichier : MarcheService.php
7//
12// Inclusion des classes
13include_once(CHEMIN_CLASSES_MANAGERS . "CommandeManager.php");
14include_once(CHEMIN_CLASSES_VO . "MarcheVO.php");
14include_once(CHEMIN_CLASSES_VO . "MarcheVO.php");
15include_once(CHEMIN_CLASSES_VIEW_MANAGER . "DetailMarcheViewManager.php");
16include_once(CHEMIN_CLASSES_VIEW_MANAGER . "GestionCommandeReservationProducteurViewManager.php");
16include_once(CHEMIN_CLASSES_VIEW_MANAGER . "GestionCommandeReservationProducteurViewManager.php");
17include_once(CHEMIN_CLASSES_VIEW_MANAGER . "CompteNomProduitViewManager.php");
18include_once(CHEMIN_CLASSES_UTILS . "TestFonction.php");
19
20//include_once(CHEMIN_CLASSES_MANAGERS . "NomProduitManager.php");
21include_once(CHEMIN_CLASSES_MANAGERS . "ProduitManager.php");
Smarty.class.php git://github.com/vanillaforums/Garden.git | PHP | 1,982 lines
55
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1485        $smarty_compiler->caching           = $this->caching;
1486        $smarty_compiler->php_handling      = $this->php_handling;
1487        $smarty_compiler->left_delimiter    = $this->left_delimiter;
assignment.class.php git://github.com/moodle/moodle.git | text | 0 lines
1<?php
2
25require_once(dirname(__FILE__).'/upload_form.php');
26require_once($CFG->libdir . '/portfoliolib.php');
27require_once($CFG->dirroot . '/mod/assignment/lib.php');
48
49        add_to_log($this->course->id, 'assignment', 'view', "view.php?id={$this->cm->id}", $this->assignment->id, $this->cm->id);
50
105        global $USER, $CFG, $DB, $OUTPUT;
106        require_once($CFG->libdir.'/gradelib.php');
107
204            }
205            echo $OUTPUT->single_button(new moodle_url('/mod/assignment/type/upload/upload.php', array('contextid'=>$this->context->id, 'userid'=>$USER->id)), $str, 'get');
206        }
653                echo $OUTPUT->heading(get_string('submitformarking', 'assignment'));
654                echo $OUTPUT->confirm(get_string('onceassignmentsent', 'assignment'), new moodle_url('upload.php', $optionsyes),new moodle_url( 'view.php', $optionsno));
655                $this->view_footer();
Smarty.class.php http://asplite.googlecode.com/svn/trunk/ | PHP | 1,954 lines
1<?php
2/**
99     * </ul>
100     * @link http://www.foo.dom/index.php?SMARTY_DEBUG
101     * @var string
162    /**
163     * This determines how Smarty handles "<?php ... ?>" tags in templates.
164     * possible values:
167     *  <li>SMARTY_PHP_QUOTE    -> escape tags as entities</li>
168     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
169     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
173     */
174    var $php_handling    =  SMARTY_PHP_PASSTHRU;
175
1457        $smarty_compiler->caching           = $this->caching;
1458        $smarty_compiler->php_handling      = $this->php_handling;
1459        $smarty_compiler->left_delimiter    = $this->left_delimiter;
QType.class.php http://logisticsouth.googlecode.com/svn/trunk/ | PHP | 423 lines
1<?php
2	/**
17	 *
18	 * PHP does not support strongly named types.  The QCubed type library
19	 * and QCubed typing in general attempts to bring some structure to types
23	 * The Type library attempts to allow as much flexibility as possible to
24	 * set and cast variables to other types, similar to how PHP does it natively,
25	 * but simply adds a big more structure to it.
41	 * For values, specifically int to string conversion, one different between
42	 * QType::Cast and PHP (in order to add structure) is that if an integer contains
43	 * alpha characters, PHP would normally allow that through w/o complaint, simply
48	 * In theory, the type library should maintain the same level of flexibility
49	 * PHP developers are accostomed to, while providing a mechanism to limit
50	 * careless coding errors and tough to figure out mistakes due to PHP's sometimes
120						return false;
121					settype($mixItem, $strNewType);
122					return $mixItem;
formslib.php https://moodleazure.svn.codeplex.com/svn | PHP | 1,937 lines
1<?php // $Id: formslib.php,v 1.129.2.24 2010/05/13 01:40:36 moodler Exp $
2/**
2/**
3 * formslib.php - library of classes for creating forms in Moodle, based on PEAR QuickForms.
4 *
4 *
5 * To use formslib then you will want to create a new file purpose_form.php eg. edit_form.php
6 * and you want to name your class something like {modulename}_{purpose}_form. Your class will
9 *
10 * See examples of use of this library in course/edit.php and course/edit_form.php
11 *
14 *              for both or you may lose some submitted data which won't be let through.
15 *      you should be using setType for every form element except select, radio or checkbox
16 *              elements, these elements clean themselves.
28//setup.php icludes our hacked pear libs first
29require_once 'HTML/QuickForm.php';
30require_once 'HTML/QuickForm/DHTMLRulesTableless.php';
Smarty.class.php git://github.com/exflickr/flamework.git | PHP | 1,993 lines
55
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1496        $smarty_compiler->caching           = $this->caching;
1497        $smarty_compiler->php_handling      = $this->php_handling;
1498        $smarty_compiler->left_delimiter    = $this->left_delimiter;
Smarty.class.php git://github.com/cosmocode/contagged.git | PHP | 1,968 lines
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
60
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1472        $smarty_compiler->caching           = $this->caching;
1473        $smarty_compiler->php_handling      = $this->php_handling;
1474        $smarty_compiler->left_delimiter    = $this->left_delimiter;
Smarty.class.php git://github.com/MrAnchovy/kohana-module-smarty.git | PHP | 1,961 lines
55
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1465        $smarty_compiler->caching           = $this->caching;
1466        $smarty_compiler->php_handling      = $this->php_handling;
1467        $smarty_compiler->left_delimiter    = $this->left_delimiter;
Smarty.class.php git://github.com/Upliner/gitphp-glip.git | PHP | 1,961 lines
55
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1465        $smarty_compiler->caching           = $this->caching;
1466        $smarty_compiler->php_handling      = $this->php_handling;
1467        $smarty_compiler->left_delimiter    = $this->left_delimiter;
Smarty.class.php git://github.com/shupp/VegaDNS.git | PHP | 1,962 lines
55
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1466        $smarty_compiler->caching           = $this->caching;
1467        $smarty_compiler->php_handling      = $this->php_handling;
1468        $smarty_compiler->left_delimiter    = $this->left_delimiter;
function.settype.html git://pkgs.fedoraproject.org/kdewebdev | HTML | 298 lines
3><TITLE
4>settype</TITLE
5><META
40ALIGN="center"
41>PHP Manual</TH
42></TR
73><A
74NAME="function.settype"
75></A
75></A
76>settype</H1
77><DIV
82><P
83>    (PHP 3, PHP 4 )</P
84>settype&nbsp;--&nbsp;Set the type of a variable</DIV
Smarty.class.php https://github.com/isold/longyu.git | PHP | 1,960 lines
55
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1464        $smarty_compiler->caching           = $this->caching;
1465        $smarty_compiler->php_handling      = $this->php_handling;
1466        $smarty_compiler->left_delimiter    = $this->left_delimiter;
Smarty.class.php https://github.com/isold/longyu.git | PHP | 1,960 lines
55
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1464        $smarty_compiler->caching           = $this->caching;
1465        $smarty_compiler->php_handling      = $this->php_handling;
1466        $smarty_compiler->left_delimiter    = $this->left_delimiter;
Smarty.class.php https://github.com/isold/longyu.git | PHP | 1,960 lines
55
56define('SMARTY_PHP_PASSTHRU',   0);
57define('SMARTY_PHP_QUOTE',      1);
57define('SMARTY_PHP_QUOTE',      1);
58define('SMARTY_PHP_REMOVE',     2);
59define('SMARTY_PHP_ALLOW',      3);
196     *  <li>SMARTY_PHP_REMOVE   -> remove php tags</li>
197     *  <li>SMARTY_PHP_ALLOW    -> execute php tags</li>
198     * </ul>
201     */
202    var $php_handling    =  SMARTY_PHP_PASSTHRU;
203
1464        $smarty_compiler->caching           = $this->caching;
1465        $smarty_compiler->php_handling      = $this->php_handling;
1466        $smarty_compiler->left_delimiter    = $this->left_delimiter;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21