PageRenderTime 469ms queryFilters 0ms Sphinxql 187ms GetByIds 249ms meta 0ms repositoryFilters 14ms languageFilters 0ms sourceFilters 1ms

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

Source

Language

Repository

Photos.php https://bitbucket.org/netroby/fastem.git | PHP | 576 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: Photos.php 23805 2011-03-16 00:55:40Z tjohns $
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 https://bitbucket.org/svenax/zendframework.git | PHP | 576 lines
1<?php
2
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
152        if ($location instanceof Zend_Gdata_Photos_UserQuery) {
153            $location->setType('feed');
154            if ($userName !== null) {
Abstract.php https://bitbucket.org/svenax/zendframework.git | PHP | 418 lines
1<?php
2/**
24 */
25require_once 'Zend/Locale.php';
26
29 */
30require_once 'Zend/Locale/Math.php';
31
34 */
35require_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) {
Photos.php https://bitbucket.org/netroby/tracker.git | PHP | 576 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: Photos.php 23805 2011-03-16 00:55:40Z tjohns $
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 https://bitbucket.org/babanesma/mysimpleadmin.git | PHP | 576 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: Photos.php 23805 2011-03-16 00:55:40Z tjohns $
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 https://bitbucket.org/Sinfin/pawtucket.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 */
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
mod_form.php https://bitbucket.org/denbro42/languagelesson.git | PHP | 341 lines
1<?php  // $Id: mod_form.php 673 2011-09-01 20:40:12Z griffisd $
2/**
5 *
6 * @version $Id: mod_form.php 673 2011-09-01 20:40:12Z griffisd $
7 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
10
11require_once($CFG->dirroot.'/course/moodleform_mod.php');
12require_once('locallib.php');
25        if (!empty($CFG->formatstringstriptags)) {
26            $mform->setType('name', PARAM_TEXT);
27        } else {
27        } else {
28            $mform->setType('name', PARAM_CLEAN);
29        }
46        $mform->setDefault('maxtime', 20);
47        $mform->setType('maxtime', PARAM_INT);
48        $mform->setHelpButton('timedgrp', array('timed', get_string('timed', 'languagelesson'), 'languagelesson'));
Photos.php https://bitbucket.org/shrikeh/aeronauticaimperialis.git | PHP | 576 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: Photos.php 23805 2011-03-16 00:55:40Z tjohns $
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 https://bitbucket.org/Flightan/phpic.git | 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 */
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
mod_form.php https://bitbucket.org/ciceidev/cicei_moodle_conditional_activities.git | PHP | 345 lines
1<?php  // $Id$
2/**
3 * Form to define a new instance of lesson or edit an instance.
4 * It is used from /course/modedit.php.
5 *
10
11require_once($CFG->dirroot.'/course/moodleform_mod.php');
12require_once('locallib.php');
25        if (!empty($CFG->formatstringstriptags)) {
26            $mform->setType('name', PARAM_TEXT);
27        } else {
27        } else {
28            $mform->setType('name', PARAM_CLEAN);
29        }
46        $mform->setDefault('maxtime', 20);
47        $mform->setType('maxtime', PARAM_INT);
48        $mform->setHelpButton('timedgrp', array('timed', get_string('timed', 'lesson'), 'lesson'));
Photos.php https://bitbucket.org/brunoMaurice/youfood.git | PHP | 576 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: Photos.php 16971 2009-07-22 18:05:45Z mikaelkael $
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 https://bitbucket.org/thehuey/zendframework.git | PHP | 576 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: Photos.php 23805 2011-03-16 00:55:40Z tjohns $
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
moodleform_mod.php https://bitbucket.org/bmbrands/swets.git | PHP | 722 lines
1<?php
2require_once ($CFG->libdir.'/formslib.php');
2require_once ($CFG->libdir.'/formslib.php');
3require_once($CFG->libdir.'/completionlib.php');
4
6 * This class adds extra methods to form wrapper specific to be used for module
7 * add / update forms mod/{modname}/mod_form.php replaced deprecated mod/{modname}/mod.html
8 */
70        $this->init_features();
71        parent::moodleform('modedit.php');
72    }
352        if ($this->_features->rating) {
353            require_once($CFG->dirroot.'/rating/lib.php');
354            $rm = new rating_manager();
458            $grouparray[] =& $mform->createElement('static', '', '','%');
459            $mform->setType('conditiongrademin',PARAM_FLOAT);
460            $mform->setType('conditiongrademax',PARAM_FLOAT);
Extended.php https://bitbucket.org/kucing2k/ediassoc.git | PHP | 714 lines
1<?php
2// +----------------------------------------------------------------------+
2// +----------------------------------------------------------------------+
3// | PHP versions 4 and 5                                                 |
4// +----------------------------------------------------------------------+
9// | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB  |
10// | API as well as database abstraction for PHP applications.            |
11// | This LICENSE is in the BSD license style.                            |
44//
45// $Id: Extended.php,v 1.58 2007/01/06 21:40:52 quipo Exp $
46
303
304        settype($params, 'array');
305        if (empty($params)) {
347
348        settype($params, 'array');
349        settype($type, 'array');
moodleform_mod.php https://bitbucket.org/andrewdavidson/sl-clone.git | PHP | 863 lines
1<?php
2require_once ($CFG->libdir.'/formslib.php');
2require_once ($CFG->libdir.'/formslib.php');
3require_once($CFG->libdir.'/completionlib.php');
4
6 * This class adds extra methods to form wrapper specific to be used for module
7 * add / update forms mod/{modname}/mod_form.php replaced deprecated mod/{modname}/mod.html
8 */
70        $this->init_features();
71        parent::moodleform('modedit.php');
72    }
418        if ($this->_features->rating) {
419            require_once($CFG->dirroot.'/rating/lib.php');
420            $rm = new rating_manager();
574            $grouparray[] =& $mform->createElement('text', 'conditionfieldvalue');
575            $mform->setType('conditionfieldvalue', PARAM_RAW);
576            $group = $mform->createElement('group', 'conditionfieldgroup', get_string('userfield', 'condition'), $grouparray);
assignment.class.php https://bitbucket.org/moodle/moodle.git | PHP | 1,214 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
146            }
147            echo $OUTPUT->single_button(new moodle_url('/mod/assignment/type/upload/upload.php', array('contextid'=>$this->context->id, 'userid'=>$USER->id)), $str, 'get');
148        }
162            echo '<div style="text-align:center">';
163            echo $OUTPUT->single_button(new moodle_url('upload.php', $options), get_string('edit'));
164            echo '</div>';
625                echo $OUTPUT->heading(get_string('submitformarking', 'assignment'));
626                echo $OUTPUT->confirm(get_string('onceassignmentsent', 'assignment'), new moodle_url('upload.php', $optionsyes),new moodle_url( 'view.php', $optionsno));
627                $this->view_footer();
Extended.php https://bitbucket.org/alisher/itworks.git | PHP | 721 lines
1<?php
2// +----------------------------------------------------------------------+
2// +----------------------------------------------------------------------+
3// | PHP versions 4 and 5                                                 |
4// +----------------------------------------------------------------------+
9// | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB  |
10// | API as well as database abstraction for PHP applications.            |
11// | This LICENSE is in the BSD license style.                            |
44//
45// $Id: Extended.php 292715 2009-12-28 14:06:34Z quipo $
46
309
310        settype($params, 'array');
311        if (empty($params)) {
353
354        settype($params, 'array');
355        settype($type, 'array');
assignment.class.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 1,214 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
146            }
147            echo $OUTPUT->single_button(new moodle_url('/mod/assignment/type/upload/upload.php', array('contextid'=>$this->context->id, 'userid'=>$USER->id)), $str, 'get');
148        }
162            echo '<div style="text-align:center">';
163            echo $OUTPUT->single_button(new moodle_url('upload.php', $options), get_string('edit'));
164            echo '</div>';
625                echo $OUTPUT->heading(get_string('submitformarking', 'assignment'));
626                echo $OUTPUT->confirm(get_string('onceassignmentsent', 'assignment'), new moodle_url('upload.php', $optionsyes),new moodle_url( 'view.php', $optionsno));
627                $this->view_footer();
formslib.php https://bitbucket.org/systime/screening2.git | PHP | 1,937 lines
1<?php // $Id: formslib.php,v 1.129.2.25 2010/09/17 22:29:37 mudrd8mz 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';
%%1D^1D0^1D061265%%rolesEdit.tpl.php https://bitbucket.org/pfernandez/testlink1.9.6 | PHP | 304 lines
2         compiled from usermanagement/rolesEdit.tpl */ ?>
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'usermanagement/rolesEdit.tpl', 28, false),array('function', 'config_load', 'usermanagement/rolesEdit.tpl', 65, false),array('modifier', 'basename', 'usermanagement/rolesEdit.tpl', 64, false),array('modifier', 'replace', 'usermanagement/rolesEdit.tpl', 64, false),array('modifier', 'escape', 'usermanagement/rolesEdit.tpl', 98, false),)), $this); ?>
136</legend>
137							<?php $_from = $this->_tpl_vars['gui']->rightsCfg->tplan_mgmt; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
138    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['id']):
225</legend>
226							<?php $_from = $this->_tpl_vars['gui']->rightsCfg->system_mgmt; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
227    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['id']):
276"
277                       <?php if ($this->_tpl_vars['gui']->role != null && $this->_tpl_vars['gui']->affectedUsers != null): ?> onClick="return modifyRoles_warning()"<?php endif; ?>
278		/>
288</caption>
289		<?php $_from = $this->_tpl_vars['gui']->affectedUsers; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
290    foreach ($_from as $this->_tpl_vars['user']):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21