PageRenderTime 1880ms queryFilters 0ms Sphinxql 224ms GetByIds 1612ms meta 0ms repositoryFilters 6ms languageFilters 0ms sourceFilters 1ms

78,253 results for 'php settype' (1880 ms)

Source

Language

Repository

fORMValidation.php https://bitbucket.org/ZilIsiltk/flourish | PHP | 1,593 lines
1<?php
2/**
167		
168		settype($main_columns, 'array');
169		settype($conditional_columns, 'array');
170		if ($conditional_values !== NULL) {
171			settype($conditional_values, 'array');
172		}	
225		
226		settype($columns, 'array');
227		
281		
282		settype($columns, 'array');
283		
295	/**
296	 * Adds a call to [http://php.net/preg_replace `preg_replace()`] for each message
297	 * 
Smarty.class.php https://github.com/ntws/agilebill.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/JackSpratt/silk.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;
class.uiaccounts.inc.php https://github.com/muchael/expressolivre.git | PHP | 1,329 lines
57		{
58			return '<a href="'.$GLOBALS['phpgw']->link('/index.php',Array(
59				'menuaction' => 'admin.uiaccounts.'.$action.'_'.$type,
67			{
68				$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/admin/index.php'));
69			}
228			{
229				$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/admin/index.php'));
230			}
345				'group' => $uiaccountsel->selection('group_id','admin_uiaccount_listusers_group_id',$_REQUEST['group_id'],'groups',0,False,'','this.form.submit();',lang('all')),
346				'accounts_url' => $GLOBALS['phpgw']->link('/index.php',$link_data),
347			));
1292			{
1293				$GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript');
1294			}
mysql.php https://bitbucket.org/webop/webop-forum | PHP | 7,741 lines
1<?php
2
358 * - V = Value: the value of this field is used as is.
359 * - S = Serialized: the value of this field is a serialzed PHP variable,
360 *       which will be unserialized before storing it in $PHORUM
475
476    settype($page, 'int');
477
644
645    settype($length,    'int');
646    settype($offset,    'int');
7586         Please, copy include/db/config.php.sample to
7587         include/db/config.php and edit this new config.php. Read
7588         Phorum's install.txt for installation instructions."
7676// PHP has support for MySQL connections through multiple extensions.
7677// If the config.php specifies a PHP database extension, then this one is
7678// used for loading the specific PHP database extension code. Otherwise,
forms.php https://gitlab.com/dan7/moodle.git | PHP | 405 lines
1<?php
2
33
34require_once($CFG->libdir . '/formslib.php');
35require_once($CFG->dirroot . "/" . $CFG->admin . "/registration/lib.php");
35require_once($CFG->dirroot . "/" . $CFG->admin . "/registration/lib.php");
36require_once($CFG->dirroot . "/course/publish/lib.php");
37
61            $mform->addElement('hidden', clean_param($hub->huburl, PARAM_ALPHANUMEXT), $hubname);
62            $mform->setType(clean_param($hub->huburl, PARAM_ALPHANUMEXT), PARAM_ALPHANUMEXT);
63            if (empty($hubname)) {
72        $mform->addElement('hidden', 'id', $this->_customdata['id']);
73        $mform->setType('id', PARAM_INT);
74
77            $mform->addElement('hidden', 'share', true);
78            $mform->setType('share', PARAM_BOOL);
79        } else {
forms.php https://github.com/7HM/moodle.git | PHP | 508 lines
1<?php
2
33
34require_once($CFG->libdir . '/formslib.php');
35require_once($CFG->dirroot . '/' . $CFG->admin . '/registration/lib.php');
51                ' ' . get_string('unpublishalladvertisedcourses', 'hub'));
52        $mform->setType('unpublishalladvertisedcourses', PARAM_INT);
53        $mform->addElement('checkbox', 'unpublishalluploadedcourses', '',
54                ' ' . get_string('unpublishalluploadedcourses', 'hub'));
55        $mform->setType('unpublishalluploadedcourses', PARAM_INT);
56
57        $mform->addElement('hidden', 'confirm', 1);
58        $mform->setType('confirm', PARAM_INT);
59        $mform->addElement('hidden', 'unregistration', 1);
59        $mform->addElement('hidden', 'unregistration', 1);
60        $mform->setType('unregistration', PARAM_INT);
61        $mform->addElement('hidden', 'huburl', $huburl);
forms.php https://github.com/alfunkso/moodle.git | PHP | 510 lines
1<?php
2
33
34require_once($CFG->libdir . '/formslib.php');
35require_once($CFG->dirroot . '/' . $CFG->admin . '/registration/lib.php');
51                ' ' . get_string('unpublishalladvertisedcourses', 'hub'));
52        $mform->setType('unpublishalladvertisedcourses', PARAM_INT);
53        $mform->addElement('checkbox', 'unpublishalluploadedcourses', '',
54                ' ' . get_string('unpublishalluploadedcourses', 'hub'));
55        $mform->setType('unpublishalluploadedcourses', PARAM_INT);
56
57        $mform->addElement('hidden', 'confirm', 1);
58        $mform->setType('confirm', PARAM_INT);
59        $mform->addElement('hidden', 'unregistration', 1);
59        $mform->addElement('hidden', 'unregistration', 1);
60        $mform->setType('unregistration', PARAM_INT);
61        $mform->addElement('hidden', 'huburl', $huburl);
formslib_test.php https://github.com/alfunkso/moodle.git | PHP | 820 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');
126
127        require_once('HTML/QuickForm/Rule/Range.php'); // Requires this pear stuff.
128
Photos.php http://yurishop.googlecode.com/svn/trunk/ | PHP | 577 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: Photos.php 20096 2010-01-06 02:05:09Z bkarwin $
22 */
26 */
27#require_once 'Zend/Gdata.php';
28
31 */
32#require_once 'Zend/Gdata/Photos/UserFeed.php';
33
36 */
37#require_once 'Zend/Gdata/Photos/AlbumFeed.php';
38
41 */
42#require_once 'Zend/Gdata/Photos/PhotoFeed.php';
43
apiPlusService.php http://google-api-php-client.googlecode.com/svn/trunk/ | PHP | 1,526 lines
1<?php
2/*
17
18require_once 'service/apiModel.php';
19require_once 'service/apiService.php';
19require_once 'service/apiService.php';
20require_once 'service/apiServiceRequest.php';
21
758  }
759  public function setType($type) {
760    $this->type = $type;
783  }
784  public function setType($type) {
785    $this->type = $type;
814  }
815  public function setType($type) {
816    $this->type = $type;
OPFItalia.php http://vlc-shares.googlecode.com/svn/trunk/ | PHP | 606 lines
1<?php
2
2
3require_once 'Zend/Http/CookieJar.php';
4require_once 'Zend/Http/Cookie.php';
4require_once 'Zend/Http/Cookie.php';
5require_once 'X/VlcShares/Plugins/Abstract.php';
6require_once 'Zend/Dom/Query.php';
56			->setDescription(X_Env::_('p_opfitalia_collectionindex_desc'))
57			->setType(X_Page_Item_PItem::TYPE_CONTAINER)
58			->setLink(
81		
82		$baseUrl = $this->config('base.url', 'http://www.opfitalia.net/mediacenter/index.php?page=ajax_show_folder&id=');
83		
102			$item->setIcon('/images/msg_error.png')
103				->setType(X_Page_Item_PItem::TYPE_ELEMENT)
104				->setDescription($e->getMessage())
jpgraph.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 6,392 lines
1<?php
2//=======================================================================
12require_once('jpgraph_gradient.php');
13require_once('jpgraph_errhandler.inc.php');
14require_once('jpgraph_ttf.inc.php');
207//
208if( !CheckPHPVersion(MIN_PHPVERSION) ) {
209    JpGraphError::RaiseL(13,PHP_VERSION,MIN_PHPVERSION);
218    JpGraphError::RaiseL(25001);
219//("This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist)");
220}
239//
240if( isset($GLOBALS['php_errormsg']) && CATCH_PHPERRMSG && 
241    !preg_match('/|Deprecated|/i', $GLOBALS['php_errormsg']) ) {
264	JpGraphError::RaiseL(25005);
265//(" Can't access PHP_SELF, PHP global variable. You can't run PHP from command line if you want to use the 'auto' naming of cache or image files.");
266    $fname = basename($_SERVER['PHP_SELF']);
jpgraph.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 6,392 lines
1<?php
2//=======================================================================
12require_once('jpgraph_gradient.php');
13require_once('jpgraph_errhandler.inc.php');
14require_once('jpgraph_ttf.inc.php');
207//
208if( !CheckPHPVersion(MIN_PHPVERSION) ) {
209    JpGraphError::RaiseL(13,PHP_VERSION,MIN_PHPVERSION);
218    JpGraphError::RaiseL(25001);
219//("This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist)");
220}
239//
240if( isset($GLOBALS['php_errormsg']) && CATCH_PHPERRMSG && 
241    !preg_match('/|Deprecated|/i', $GLOBALS['php_errormsg']) ) {
264	JpGraphError::RaiseL(25005);
265//(" Can't access PHP_SELF, PHP global variable. You can't run PHP from command line if you want to use the 'auto' naming of cache or image files.");
266    $fname = basename($_SERVER['PHP_SELF']);
fRequest.php https://bitbucket.org/wbond/flourish/ | PHP | 957 lines
1<?php
2/**
8 * Please also note that using this class in a PUT or DELETE request will
9 * cause the php://input stream to be consumed, and thus no longer available.
10 * 
21 * @changes    1.0.0b18  Backwards Compatibility Break - ::getBestAcceptType() and ::getBestAcceptLanguage() now return either `NULL`, `FALSE` or a string instead of `NULL` or a string, both methods are more robust in handling edge cases [wb, 2011-02-06]
22 * @changes    1.0.0b17  Fixed support for 3+ dimensional input arrays, added a fixed for the PHP DoS float bug #53632, added support for type-casted arrays in ::get() [wb, 2011-01-09]
23 * @changes    1.0.0b16  Backwards Compatibility Break - changed ::get() to remove binary characters when casting to a `string`, changed `int` and `integer` to cast to a real integer when possible, added new types of `binary` and `integer!` [wb, 2010-11-30]
122			} else {
123				settype($value, 'array');
124			}
183			// Only explicitly cast integers than can be represented by a real
184			// PHP integer to prevent truncation due to 32 bit integer limits
185			if (strval(intval($value)) == $value) {
188			
189		// This patches PHP bug #53632 for vulnerable versions of PHP - http://bugs.php.net/bug.php?id=53632
190		} elseif ($cast_to == 'float' && $value === "2.2250738585072011e-308") {
Photos.php git://github.com/frapi/frapi.git | PHP | 576 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: Photos.php 20096 2010-01-06 02:05:09Z bkarwin $
22 */
26 */
27// require_once 'Zend/Gdata.php';
28
31 */
32// require_once 'Zend/Gdata/Photos/UserFeed.php';
33
36 */
37// require_once 'Zend/Gdata/Photos/AlbumFeed.php';
38
41 */
42// require_once 'Zend/Gdata/Photos/PhotoFeed.php';
43
Photos.php http://grupal.googlecode.com/svn/trunk/ | PHP | 577 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: Photos.php 24593 2012-01-05 20:35:02Z matthew $
22 */
26 */
27require_once 'Zend/Gdata.php';
28
31 */
32require_once 'Zend/Gdata/Photos/UserFeed.php';
33
36 */
37require_once 'Zend/Gdata/Photos/AlbumFeed.php';
38
41 */
42require_once 'Zend/Gdata/Photos/PhotoFeed.php';
43
Photos.php http://firephp.googlecode.com/svn/trunk/ | text | 0 lines
1<?php
2
24 */
25require_once 'Zend/Gdata.php';
26
29 */
30require_once 'Zend/Gdata/Photos/UserFeed.php';
31
34 */
35require_once 'Zend/Gdata/Photos/AlbumFeed.php';
36
39 */
40require_once 'Zend/Gdata/Photos/PhotoFeed.php';
41
151        } else if ($location instanceof Zend_Gdata_Photos_UserQuery) {
152            $location->setType('feed');
153            $uri = $location->getQueryUrl();
NumberTest.php http://firephp.googlecode.com/svn/trunk/ | text | 0 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: NumberTest.php 7047 2007-12-06 07:46:26Z thomas $
22 */
27 */
28require_once 'Zend/Measure/Number.php';
29
30/**
31 * PHPUnit test case
32 */
32 */
33require_once 'PHPUnit/Framework/TestCase.php';
34
39 */
40class Zend_Measure_NumberTest extends PHPUnit_Framework_TestCase
41{
Photos.php http://firephp.googlecode.com/svn/trunk/ | text | 0 lines
1<?php
2
25 */
26require_once 'Zend/Gdata.php';
27
30 */
31require_once 'Zend/Gdata/Photos/UserFeed.php';
32
35 */
36require_once 'Zend/Gdata/Photos/AlbumFeed.php';
37
40 */
41require_once 'Zend/Gdata/Photos/PhotoFeed.php';
42
151        if ($location instanceof Zend_Gdata_Photos_UserQuery) {
152            $location->setType('feed');
153            if ($userName !== null) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21