PageRenderTime 389ms queryTime 37ms sortTime 7ms getByIdsTime 148ms findMatchingLines 94ms

100+ results results for 'php settype repo:dbaltas/zend-framework-1.x-on-git' (389 ms)

Not the results you expected?
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,'...');
                    
                
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();
                    
                
css_optimiser.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 506 lines
                    
1<?php
                    
2header('Content-Type:text/html; charset=utf-8');
                    
2header('Content-Type:text/html; charset=utf-8');
                    
3require ('class.csstidy.php');
                    
4require ('lang.inc.php');
                    
49    
                    
50    settype($selected, 'array');
                    
51    settype($options, 'array');
                    
119<title>
                    
120      <?php
                    
121    echo $lang[$l][0];
                    
146<h1 style="display: inline">
                    
147      <?php
                    
148    echo $lang[$l][1];
                    
150    </h1>
                    
151    <?php
                    
152    echo $lang[$l][2];
                    
                
ftp.class.php http://jqbird.googlecode.com/svn/trunk/ | PHP | 716 lines
                    
1<?php
                    
2@set_time_limit(1000);
                    
276			$ext = $this->_getext($locpath);
                    
277			$mode = $this->_settype($ext);
                    
278		}
                    
445
                    
446		// ?PHP5????
                    
447		if ( ! function_exists('ftp_chmod'))
                    
575					$ext = $this->_getext($file);
                    
576					$mode = $this->_settype($ext);
                    
577
                    
617	 */
                    
618	function _settype($ext)
                    
619	{
                    
622							'text',
                    
623							'php',
                    
624							'phps',
                    
                
MzGraphPanel.java http://pride-toolsuite.googlecode.com/svn/ | Java | 417 lines
                    
40 */
                    
41public abstract class MzGraphPanel extends JPanel implements ChartMouseListener, ActionListener {
                    
42    private static final Logger logger = LoggerFactory.getLogger(MzGraphPanel.class);
                    
68
                    
69    public MzGraphPanel(String title,
                    
70                        String xAxisLabel,
                    
96    /**
                    
97     * Reset the MzGraphPanel
                    
98     */
                    
118
                    
119    public void setType(String type) {
                    
120        this.type = type;
                    
                
TemperatureTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: TemperatureTest.php 23772 2011-02-28 21:35:29Z ralph $
                    
21 */
                    
22
                    
23if (!defined('PHPUnit_MAIN_METHOD')) {
                    
24    define('PHPUnit_MAIN_METHOD', 'Zend_Measure_TemperatureTest::main');
                    
29 */
                    
30require_once 'Zend/Measure/Temperature.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Registry.php';
                    
36
                    
44 */
                    
45class Zend_Measure_TemperatureTest extends PHPUnit_Framework_TestCase
                    
46{
                    
                
TemperatureTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 448 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: TemperatureTest.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
22
                    
23if (!defined('PHPUnit_MAIN_METHOD')) {
                    
24    define('PHPUnit_MAIN_METHOD', 'Zend_Measure_TemperatureTest::main');
                    
29 */
                    
30require_once 'Zend/Measure/Temperature.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Registry.php';
                    
36
                    
44 */
                    
45class Zend_Measure_TemperatureTest extends PHPUnit_Framework_TestCase
                    
46{
                    
                
Domain.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 397 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 *  $Id: Domain.php 989 2008-03-11 14:29:30Z heltem $
                    
4 *
                    
18 * and is licensed under the LGPL. For more information please see
                    
19 * <http://propel.phpdb.org>.
                    
20 */
                    
21
                    
22require_once 'propel/engine/database/model/XMLElement.php';
                    
23
                    
247	 */
                    
248	public function setType($propelType)
                    
249	{
                    
274	/**
                    
275	 * Gets the default value, type-casted for use in PHP OM.
                    
276	 * @return     mixed
                    
                
residents.php http://ltw-axis.googlecode.com/svn/trunk/ | PHP | 168 lines
                    
16<div class = "center">
                    
17    <form name = "optionForm" method = "POST" action = "<?php echo $_SERVER['PHP_SELF']; ?>">
                    
18    <table class = "content">
                    
35                        ?>
                    
36                                <option value = "<?php echo $building['ID']; ?>" <?php if(isset($_POST['buildings']) && $_POST['buildings'] == $building['ID']) echo $selected; ?>>
                    
37                                        <?php echo $building['bldg_name']; ?>
                    
70                        ?>
                    
71                                <option value = "<?php echo $type['ID']; ?>" <?php if(isset($_POST['residenttype']) && $_POST['residenttype'] == $type['ID']) echo $selected; ?>>
                    
72                                        <?php echo $type['resident_type']; ?>
                    
145                                                <span id = "title<?php echo $id; ?>">RESIDENTIAL INFORMATION</span> - <?php echo $residentInfo['first_name'] . " " . $residentInfo['last_name']; ?>
                    
146                                                <input type = "button" id = "next<?php echo $id; ?>" name = "next" value = ">>" onClick = "move(<?php echo $id; ?>,'next')">
                    
147                                                <input onClick = "showDetails('<?php echo $tdID; ?>');" style = "float: right;" type = "button" name = "close" value = "CLOSE">			
                    
149                                        <div class = "infoArea" >			
                    
150                                                <iframe id = "profile<?php echo $id; ?>" src = "show_profile.php?id=<?php echo $id; ?>&info=1" >
                    
151                                                </iframe>
                    
167</div>
                    
168<?php include_once('footer.php');?>
                    
                
ResultSet.php git://github.com/spadefoot/kohana-orm-leap.git | PHP | 362 lines
                    
1<?php defined('SYSPATH') OR die('No direct script access.');
                    
2
                    
177	public function fetch($index = -1) {
                    
178		settype($index, 'integer');
                    
179		if ($index < 0) {
                    
                
TorqueTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: TorqueTest.php 23772 2011-02-28 21:35:29Z ralph $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Measure/Torque.php';
                    
28
                    
36 */
                    
37class Zend_Measure_TorqueTest extends PHPUnit_Framework_TestCase
                    
38{
                    
308     */
                    
309    public function testTorqueSetType()
                    
310    {
                    
311        $value = new Zend_Measure_Torque('-100',Zend_Measure_Torque::STANDARD,'de');
                    
312        $value->setType(Zend_Measure_Torque::NEWTON_CENTIMETER);
                    
313        $this->assertEquals(Zend_Measure_Torque::NEWTON_CENTIMETER, $value->getType(), 'Zend_Measure_Torque type expected');
                    
                
member_status.admin.front.php http://php-ppcms.googlecode.com/svn/trunk/ | PHP | 480 lines
                    
1<?php
                    
2/***************************************************************
                    
14		//
                    
15		'class_file' => 'module/member/member.class.php',
                    
16		'class_name' => 'MemberBase',
                    
29//
                    
30include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'control/item.control.class.php');
                    
31include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'control/item.content.control.class.php');
                    
33//
                    
34include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'module/member/member.status.class.php');
                    
35
                    
89		$msObj->setOwner($this->feObj->_request['id']);
                    
90		$msObj->setType($this->feObj->_post['type']);
                    
91		//
                    
335			$msObj->setOwner($this->feObj->_request['id']);
                    
336			$msObj->setType($this->feObj->_request['type']);
                    
337			$item = $msObj->getItem();
                    
                
TorqueTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 390 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: TorqueTest.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Measure/Torque.php';
                    
28
                    
36 */
                    
37class Zend_Measure_TorqueTest extends PHPUnit_Framework_TestCase
                    
38{
                    
308     */
                    
309    public function testTorqueSetType()
                    
310    {
                    
311        $value = new Zend_Measure_Torque('-100',Zend_Measure_Torque::STANDARD,'de');
                    
312        $value->setType(Zend_Measure_Torque::NEWTON_CENTIMETER);
                    
313        $this->assertEquals(Zend_Measure_Torque::NEWTON_CENTIMETER, $value->getType(), 'Zend_Measure_Torque type expected');
                    
                
MassTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: MassTest.php 23772 2011-02-28 21:35:29Z ralph $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Measure/Flow/Mass.php';
                    
27
                    
35 */
                    
36class Zend_Measure_Flow_MassTest extends PHPUnit_Framework_TestCase
                    
37{
                    
307     */
                    
308    public function testFlow_MassSetType()
                    
309    {
                    
310        $value = new Zend_Measure_Flow_Mass('-100',Zend_Measure_Flow_Mass::STANDARD,'de');
                    
311        $value->setType(Zend_Measure_Flow_Mass::GRAM_PER_DAY);
                    
312        $this->assertEquals(Zend_Measure_Flow_Mass::GRAM_PER_DAY, $value->getType(), 'Zend_Measure_Flow_Mass type expected');
                    
                
MassTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 389 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: MassTest.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Measure/Flow/Mass.php';
                    
27
                    
35 */
                    
36class Zend_Measure_Flow_MassTest extends PHPUnit_Framework_TestCase
                    
37{
                    
307     */
                    
308    public function testFlow_MassSetType()
                    
309    {
                    
310        $value = new Zend_Measure_Flow_Mass('-100',Zend_Measure_Flow_Mass::STANDARD,'de');
                    
311        $value->setType(Zend_Measure_Flow_Mass::GRAM_PER_DAY);
                    
312        $this->assertEquals(Zend_Measure_Flow_Mass::GRAM_PER_DAY, $value->getType(), 'Zend_Measure_Flow_Mass type expected');
                    
                
FrequencyTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 390 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: FrequencyTest.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Measure/Frequency.php';
                    
28
                    
36 */
                    
37class Zend_Measure_FrequencyTest extends PHPUnit_Framework_TestCase
                    
38{
                    
308     */
                    
309    public function testFrequencySetType()
                    
310    {
                    
311        $value = new Zend_Measure_Frequency('-100',Zend_Measure_Frequency::STANDARD,'de');
                    
312        $value->setType(Zend_Measure_Frequency::KILOHERTZ);
                    
313        $this->assertEquals(Zend_Measure_Frequency::KILOHERTZ, $value->getType(), 'Zend_Measure_Frequency type expected');
                    
                
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;
                    
                
Element.php http://mvh-source.googlecode.com/svn/trunk/ | PHP | 251 lines
                    
1<?php
                    
2class Nano_Element{
                    
17             ->setContent( $content )
                    
18             ->setType( $type );
                    
19    }
                    
29
                    
30    public function setType( $type ){
                    
31        $this->type = $type;
                    
36        if( null == $this->type ){
                    
37            $this->setType( self::DEFAULT_TYPE );
                    
38        }
                    
                
DataValidation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 501 lines
                    
22 * @package    PHPExcel_Cell
                    
23 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package    PHPExcel_Cell
                    
34 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
88     */
                    
89    private $_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP;
                    
90    
                    
161    /**
                    
162     * Create a new PHPExcel_Cell_DataValidation
                    
163     *
                    
237	 */
                    
238	public function setType($value = PHPExcel_Cell_DataValidation::TYPE_NONE) {
                    
239		$this->_type = $value;
                    
                
DataValidation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 501 lines
                    
22 * @package    PHPExcel_Cell
                    
23 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package    PHPExcel_Cell
                    
34 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
88     */
                    
89    private $_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP;
                    
90    
                    
161    /**
                    
162     * Create a new PHPExcel_Cell_DataValidation
                    
163     *
                    
237	 */
                    
238	public function setType($value = PHPExcel_Cell_DataValidation::TYPE_NONE) {
                    
239		$this->_type = $value;
                    
                
Literal.php git://github.com/njh/easyrdf.git | PHP | 307 lines
                    
1<?php
                    
2
                    
34 * @copyright  Copyright (c) 2009-2011 Nicholas J Humfrey
                    
35 * @license    http://www.opensource.org/licenses/bsd-license.php
                    
36 * @version    $Id$
                    
43 * @copyright  Copyright (c) 2009-2011 Nicholas J Humfrey
                    
44 * @license    http://www.opensource.org/licenses/bsd-license.php
                    
45 */
                    
65     *
                    
66     * PHP values of type bool, int or float, will automatically be converted
                    
67     * to the corresponding datatype and PHP sub-class.
                    
112
                    
113    /** Register an RDF datatype with a PHP class name
                    
114     *
                    
124     * @param  string  $datatype   The RDF datatype (e.g. xsd:dateTime)
                    
125     * @param  string  $class      The PHP class name (e.g. My_DateTime_Class)
                    
126     */
                    
                
PresenterComponent.php https://code.google.com/p/celebrio/ | PHP | 410 lines
                    
1<?php
                    
2
                    
134					} else {
                    
135						settype($params[$nm], gettype($meta['def']));
                    
136					}
                    
174				if (isset($meta['def'])) {
                    
175					settype($val, gettype($meta['def']));
                    
176					if ($val === $meta['def']) $val = NULL;
                    
                
fx_data_column.php http://comet.googlecode.com/svn/trunk/ | PHP | 414 lines
                    
1<?php
                    
2	// L?p Fx_Data_Column chuyęn důng ?? h? tr? cho Fx_Data_Row
                    
163			{
                    
164				require_once APP_LIBRARY_PATH . 'doc/fx_data_column_filter.php';
                    
165				$filter = new Fx_Data_Column_Filter('text', $this);	
                    
295		{
                    
296			$this->_renderer->setType($type);
                    
297			$gridView = & $this->getDataRow()->getDataGrid();
                    
300				$column = & $row->getColumn($this->getId());
                    
301				$column->_renderer->setType($type);
                    
302			}
                    
403			}
                    
404			$this->_renderer->setType($_type);
                    
405			$this->setId($_field);
                    
                
%%EE^EE6^EE6906A7%%product-list.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 81 lines
                    
13?>
                    
14		<li class="ajax_block_product <?php if (($this->_foreach['products']['iteration'] <= 1)): ?>first_item<?php elseif (($this->_foreach['products']['iteration'] == $this->_foreach['products']['total'])): ?>last_item<?php endif; ?> <?php if (($this->_foreach['products']['iteration']-1) % 2): ?>alternate_item<?php else: ?>item<?php endif; ?> clearfix">
                    
15			<div class="center_block">
                    
41				<div>
                    
42					<?php if (isset ( $this->_tpl_vars['product']['show_price'] ) && $this->_tpl_vars['product']['show_price'] && ! isset ( $this->_tpl_vars['restricted_country_mode'] )): ?><span class="price" style="display: inline;"><?php if (! $this->_tpl_vars['priceDisplay']): ?><?php echo Product::convertPrice(array('price' => $this->_tpl_vars['product']['price']), $this);?>
                    
43<?php else: ?><?php echo Product::convertPrice(array('price' => $this->_tpl_vars['product']['price_tax_exc']), $this);?>
                    
44<?php endif; ?></span><br /><?php endif; ?>
                    
45					<?php if (isset ( $this->_tpl_vars['product']['available_for_order'] ) && $this->_tpl_vars['product']['available_for_order'] && ! isset ( $this->_tpl_vars['restricted_country_mode'] )): ?><span class="availability"><?php if (( $this->_tpl_vars['product']['allow_oosp'] || $this->_tpl_vars['product']['quantity'] > 0 )): ?><?php echo smartyTranslate(array('s' => 'Available'), $this);?>
                    
46<?php elseif (( isset ( $this->_tpl_vars['product']['quantity_all_versions'] ) && $this->_tpl_vars['product']['quantity_all_versions'] > 0 )): ?><?php echo smartyTranslate(array('s' => 'Product available with different options'), $this);?>
                    
46<?php elseif (( isset ( $this->_tpl_vars['product']['quantity_all_versions'] ) && $this->_tpl_vars['product']['quantity_all_versions'] > 0 )): ?><?php echo smartyTranslate(array('s' => 'Product available with different options'), $this);?>
                    
47<?php else: ?><?php echo smartyTranslate(array('s' => 'Out of stock'), $this);?>
                    
48<?php endif; ?></span><?php endif; ?>
                    
71" value="comparator_item_<?php echo $this->_tpl_vars['product']['id_product']; ?>
                    
72" <?php if (isset ( $this->_tpl_vars['compareProducts'] ) && in_array ( $this->_tpl_vars['product']['id_product'] , $this->_tpl_vars['compareProducts'] )): ?>checked<?php endif; ?>/> <label for="comparator_item_<?php echo $this->_tpl_vars['product']['id_product']; ?>
                    
73"><?php echo smartyTranslate(array('s' => 'Select to compare'), $this);?>
                    
                
Migrate.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 581 lines
                    
1<?php
                    
2
                    
18 * @license 	New BSD License
                    
19 * @version 	$Id: Migrate.php 131 2010-03-24 23:55:50Z gutierrezandresfelipe $
                    
20 */
                    
95		'set_caption' => 'setCaption',
                    
96		'set_type_image' => 'setTypeImage',
                    
97		'set_text_upper' => 'setTextUpper',
                    
544				if($token[0]==T_OPEN_TAG){
                    
545					$migratedSource.='<?php ';
                    
546				} else {
                    
547					if($token[0]==T_OPEN_TAG_WITH_ECHO){
                    
548						$migratedSource.='<?php echo ';
                    
549					} else {
                    
                
class.LoggerAppenderScalr.php http://scalr.googlecode.com/svn/ | PHP | 316 lines
                    
1<?php
                    
2
                    
2
                    
3require_once(LOG4PHP_DIR . '/LoggerAppenderSkeleton.php');
                    
4require_once(LOG4PHP_DIR . '/helpers/LoggerOptionConverter.php');
                    
4require_once(LOG4PHP_DIR . '/helpers/LoggerOptionConverter.php');
                    
5require_once(LOG4PHP_DIR . '/LoggerLog.php');
                    
6
                    
112            {
                    
113	        	// Reopen new mysql connection (need for php threads)
                    
114	        	$this->activateOptions();
                    
279    
                    
280    function setType($newType)
                    
281    {
                    
                
Ftp.php git://github.com/prashants/webzash.git | 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	{
                    
                
domGles_sampler_state.cpp git://github.com/sbarthelemy/collada-dom.git | C++ | 361 lines
                    
4* Licensed under the MIT Open Source License, for details please see license.txt or the website
                    
5* http://www.opensource.org/licenses/mit-license.php
                    
6*
                    
96		ma->setName( "sid" );
                    
97		ma->setType( dae.getAtomicTypes().get("xsNCName"));
                    
98		ma->setOffset( daeOffsetOf( domGles_sampler_state , attrSid ));
                    
133		ma->setName( "_value" );
                    
134		ma->setType( dae.getAtomicTypes().get("Gles_sampler_wrap"));
                    
135		ma->setOffset( daeOffsetOf( domGles_sampler_state::domWrap_s , _value ));
                    
169		ma->setName( "_value" );
                    
170		ma->setType( dae.getAtomicTypes().get("Gles_sampler_wrap"));
                    
171		ma->setOffset( daeOffsetOf( domGles_sampler_state::domWrap_t , _value ));
                    
205		ma->setName( "_value" );
                    
206		ma->setType( dae.getAtomicTypes().get("Fx_sampler_filter_common"));
                    
207		ma->setOffset( daeOffsetOf( domGles_sampler_state::domMinfilter , _value ));
                    
                
base_sound_manager.cpp git://github.com/scummvm/scummvm.git | C++ | 298 lines
                    
24 * This file is based on WME Lite.
                    
25 * http://dead-code.org/redir.php?target=wmelite
                    
26 * Copyright (c) 2011 Jan Nedoma
                    
124	sound->setStreaming(streamed);
                    
125	sound->setType(type);
                    
126
                    
                
mysql.php http://webprojecthelper.googlecode.com/svn/trunk/ | PHP | 212 lines
                    
1<?php
                    
2
                    
135			$scalar = clone $scalar;
                    
136			$scalar->setType(Scalar::T_INT);
                    
137		}
                    
                
ResetCommandTest.java git://pkgs.fedoraproject.org/eclipse-jgit | Java | 421 lines
                    
7 * accompanies this distribution, is reproduced below, and is
                    
8 * available at http://www.eclipse.org/org/documents/edl-v10.php
                    
9 *
                    
44
                    
45import static org.eclipse.jgit.api.ResetCommand.ResetType.HARD;
                    
46import static org.junit.Assert.assertEquals;
                    
55
                    
56import org.eclipse.jgit.api.ResetCommand.ResetType;
                    
57import org.eclipse.jgit.api.errors.GitAPIException;
                    
138		ObjectId prevHead = db.resolve(Constants.HEAD);
                    
139		git.reset().setMode(ResetType.HARD).setRef(initialCommit.getName())
                    
140				.call();
                    
175		ObjectId prevHead = db.resolve(Constants.HEAD);
                    
176		git.reset().setMode(ResetType.SOFT).setRef(initialCommit.getName())
                    
177				.call();
                    
                
example16.6.html http://flaimo-php.googlecode.com/svn/trunk/ | HTML | 3 lines
                    
1<code><font color="#000000">
                    
2<font color="#0000CC">&lt;?php<br /></font><font color="#006600">include&nbsp;(</font><font color="#CC0000">"../jpgraph.php"</font><font color="#006600">);<br />include&nbsp;(</font><font color="#CC0000">"../jpgraph_scatter.php"</font><font color="#006600">);<br />include&nbsp;(</font><font color="#CC0000">"../jpgraph_line.php"</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Create some "fake" regression data<br /></font><font color="#0000CC">$datay&nbsp;</font><font color="#006600">=&nbsp;array();<br /></font><font color="#0000CC">$datay2&nbsp;</font><font color="#006600">=&nbsp;array();<br /></font><font color="#0000CC">$datax&nbsp;</font><font color="#006600">=&nbsp;array();<br /></font><font color="#0000CC">$a</font><font color="#006600">=</font><font color="#0000CC">rand</font><font color="#006600">(-</font><font color="#0000CC">3</font><font color="#006600">,</font><font color="#0000CC">3</font><font color="#006600">);<br /></font><font color="#0000CC">$b</font><font color="#006600">=</font><font color="#0000CC">rand</font><font color="#006600">(-</font><font color="#0000CC">5</font><font color="#006600">,</font><font color="#0000CC">5</font><font color="#006600">);<br />for(</font><font color="#0000CC">$x</font><font color="#006600">=</font><font color="#0000CC">0</font><font color="#006600">;&nbsp;</font><font color="#0000CC">$x</font><font color="#006600">&lt;</font><font color="#0000CC">20</font><font color="#006600">;&nbsp;++</font><font color="#0000CC">$x</font><font color="#006600">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000CC">$datay</font><font color="#006600">[]&nbsp;=&nbsp;</font><font color="#0000CC">$a</font><font color="#006600">*</font><font color="#0000CC">$x&nbsp;</font><font color="#006600">+&nbsp;</font><font color="#0000CC">$b</font><font color="#006600">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000CC">$datay2</font><font color="#006600">[]&nbsp;=&nbsp;</font><font color="#0000CC">$a</font><font color="#006600">*</font><font color="#0000CC">$x&nbsp;</font><font color="#006600">+&nbsp;</font><font color="#0000CC">$b&nbsp;</font><font color="#006600">+&nbsp;</font><font color="#0000CC">rand</font><font color="#006600">(-</font><font color="#0000CC">30</font><font color="#006600">,</font><font color="#0000CC">30</font><font color="#006600">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000CC">$datax</font><font color="#006600">[]&nbsp;=&nbsp;</font><font color="#0000CC">$x</font><font color="#006600">;<br />}<br /> <br /></font><font color="#FF9900">// Create the graph<br /></font><font color="#0000CC">$graph&nbsp;</font><font color="#006600">=&nbsp;new&nbsp;</font><font color="#0000CC">Graph</font><font color="#006600">(</font><font color="#0000CC">300</font><font color="#006600">,</font><font color="#0000CC">200</font><font color="#006600">,</font><font color="#CC0000">'auto'</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">SetScale</font><font color="#006600">(</font><font color="#CC0000">"linlin"</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Setup title<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">Set</font><font color="#006600">(</font><font color="#CC0000">"Example of linear regression"</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">SetFont</font><font color="#006600">(</font><font color="#0000CC">FF_FONT1</font><font color="#006600">,</font><font color="#0000CC">FS_BOLD</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// make sure that the X-axis is always at the<br />// bottom at the plot and not just at Y=0 which is<br />// the default position<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">xaxis</font><font color="#006600">-&gt;</font><font color="#0000CC">SetPos</font><font color="#006600">(</font><font color="#CC0000">'min'</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Create the scatter plot with some nice colors<br /></font><font color="#0000CC">$sp1&nbsp;</font><font color="#006600">=&nbsp;new&nbsp;</font><font color="#0000CC">ScatterPlot</font><font color="#006600">(</font><font color="#0000CC">$datay2</font><font color="#006600">,</font><font color="#0000CC">$datax</font><font color="#006600">);<br /></font><font color="#0000CC">$sp1</font><font color="#006600">-&gt;</font><font color="#0000CC">mark</font><font color="#006600">-&gt;</font><font color="#0000CC">SetType</font><font color="#006600">(</font><font color="#0000CC">MARK_FILLEDCIRCLE</font><font color="#006600">);<br /></font><font color="#0000CC">$sp1</font><font color="#006600">-&gt;</font><font color="#0000CC">mark</font><font color="#006600">-&gt;</font><font color="#0000CC">SetFillColor</font><font color="#006600">(</font><font color="#CC0000">"red"</font><font color="#006600">);<br /></font><font color="#0000CC">$sp1</font><font color="#006600">-&gt;</font><font color="#0000CC">SetColor</font><font color="#006600">(</font><font color="#CC0000">"blue"</font><font color="#006600">);<br /></font><font color="#0000CC">$sp1</font><font color="#006600">-&gt;</font><font color="#0000CC">SetWeight</font><font color="#006600">(</font><font color="#0000CC">3</font><font color="#006600">);<br /></font><font color="#0000CC">$sp1</font><font color="#006600">-&gt;</font><font color="#0000CC">mark</font><font color="#006600">-&gt;</font><font color="#0000CC">SetWidth</font><font color="#006600">(</font><font color="#0000CC">4</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Create the regression line<br /></font><font color="#0000CC">$lplot&nbsp;</font><font color="#006600">=&nbsp;new&nbsp;</font><font color="#0000CC">LinePlot</font><font color="#006600">(</font><font color="#0000CC">$datay</font><font color="#006600">);<br /></font><font color="#0000CC">$lplot</font><font color="#006600">-&gt;</font><font color="#0000CC">SetWeight</font><font color="#006600">(</font><font color="#0000CC">2</font><font color="#006600">);<br /></font><font color="#0000CC">$lplot</font><font color="#006600">-&gt;</font><font color="#0000CC">SetColor</font><font color="#006600">(</font><font color="#CC0000">'navy'</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Add the pltos to the line<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">Add</font><font color="#006600">(</font><font color="#0000CC">$sp1</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">Add</font><font color="#006600">(</font><font color="#0000CC">$lplot</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// ... and stroke<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">Stroke</font><font color="#006600">();<br /><br /></font><font color="#0000CC">?&gt;<br /></font><br /><br /></font>
                    
3</code>
                    
                
NullTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26require_once 'Zend/Filter/Null.php';
                    
27
                    
35 */
                    
36class Zend_Filter_NullTest extends PHPUnit_Framework_TestCase
                    
37{
                    
77    {
                    
78        $this->_filter->setType(Zend_Filter_Null::BOOLEAN);
                    
79        $this->assertEquals('0', $this->_filter->filter('0'));
                    
94    {
                    
95        $this->_filter->setType(Zend_Filter_Null::INTEGER);
                    
96        $this->assertEquals('0', $this->_filter->filter('0'));
                    
111    {
                    
112        $this->_filter->setType(Zend_Filter_Null::EMPTY_ARRAY);
                    
113        $this->assertEquals('0', $this->_filter->filter('0'));
                    
                
GeoffTest.php git://github.com/jadell/neo4jphp.git | PHP | 351 lines
                    
1<?php
                    
2namespace Everyman\Neo4j;
                    
3
                    
4class GeoffTest extends \PHPUnit_Framework_TestCase
                    
5{
                    
43	{
                    
44		$geoffString = '(Liz)	{"name": "Elizabeth", "title": "Queen of the Commonwealth Realms", "birth.date": "1926-04-21"}'.PHP_EOL
                    
45					 . '(Phil)	{"name": "Philip", "title": "Duke of Edinburgh", "birth.date": "1921-06-21"}'.PHP_EOL
                    
73	{
                    
74		$geoffString = '(Liz)	{"name": "Elizabeth", "title": "Queen of the Commonwealth Realms", "birth.date": "1926-04-21"}'.PHP_EOL
                    
75					 . '(Liz)	{"name": "Elizabeth", "title": "Queen of the Commonwealth Realms", "birth.date": "1926-04-21"}'.PHP_EOL;
                    
82	{
                    
83		$geoffString = '(Liz)	{"name": "Elizabeth", "title": "Queen of the Commonwealth Realms", "birth.date": "1926-04-21"}'.PHP_EOL
                    
84					 . '(Phil)	{"name": "Philip", "title": "Duke of Edinburgh", "birth.date": "1921-06-21"}'.PHP_EOL
                    
84					 . '(Phil)	{"name": "Philip", "title": "Duke of Edinburgh", "birth.date": "1921-06-21"}'.PHP_EOL
                    
85					 . '(Chaz)	{"name": "Charles", "title": "Prince of Wales", "birth.date": "1948-11-14"}'.PHP_EOL
                    
86					 . '(Liz)-[:MARRIED]->(Phil)    {"marriage.place": "Westminster Abbey", "marriage.date": "1947-11-20"}'.PHP_EOL
                    
                
attachment.php git://github.com/tute/Thumbnail-component-for-CakePHP.git | PHP | 412 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3* File: /app/controllers/components/attachment.php
                    
4* A file uploader and image crop/thumbnailer component for CakePHP
                    
5*
                    
6* @link         https://github.com/tute/Thumbnail-component-for-CakePHP
                    
7* @author       TuteC (Eugenio Costa)
                    
93		$filename = String::uuid();
                    
94		settype($filename, 'string');
                    
95		$filename .= '.' . $filetype;
                    
98		if (!is_uploaded_file($data[$column_prefix]['tmp_name'])) {
                    
99			return $this->log_cakephp_error_and_return('Error uploading file (sure it was a POST request?).');
                    
100		}
                    
112			if (!$this->config['allow_non_image_files']) {
                    
113				return $this->log_cakephp_error_and_return('File type not allowed (only images files).');
                    
114			} else {
                    
                
ServiceTester.js http://linb.googlecode.com/svn/trunk/ | JavaScript | 251 lines
                    
147                .setType("popbox")
                    
148                .setValue("http://www.linb.net/backend/PHP/demo.php")
                    
149                .onClick("_ctl_uri_onclick")
                    
165            if(force){
                    
166                ns.ctl_uri.setValue("http://www.linb.net/backend/PHP/demo.php", true);
                    
167                ns.ctl_query.setValue("{a:1,b:2}", true);
                    
                
Boolean.php git://github.com/eryx/php-framework-benchmark.git | PHP | 374 lines
                    
1<?php
                    
2/**
                    
44    const NULL         = 64;
                    
45    const PHP          = 127;
                    
46    const FALSE_STRING = 128;
                    
57        self::NULL         => 'null',
                    
58        self::PHP          => 'php',
                    
59        self::FALSE_STRING => 'false',
                    
68     */
                    
69    protected $_type = self::PHP;
                    
70
                    
112        if (array_key_exists('type', $options)) {
                    
113            $this->setType($options['type']);
                    
114        }
                    
141     */
                    
142    public function setType($type = null)
                    
143    {
                    
                
NullTest.php git://github.com/zendframework/zf2.git | PHP | 330 lines
                    
1<?php
                    
2/**
                    
33 */
                    
34class NullTest extends \PHPUnit_Framework_TestCase
                    
35{
                    
78        $filter = $this->_filter;
                    
79        $filter->setType(NullFilter::BOOLEAN);
                    
80        $this->assertEquals(0.0, $filter(0.0));
                    
97        $filter = $this->_filter;
                    
98        $filter->setType(NullFilter::INTEGER);
                    
99        $this->assertEquals(0.0, $filter(0.0));
                    
116        $filter = $this->_filter;
                    
117        $filter->setType(NullFilter::EMPTY_ARRAY);
                    
118        $this->assertEquals(0.0, $filter(0.0));
                    
135        $filter = $this->_filter;
                    
136        $filter->setType(NullFilter::STRING);
                    
137        $this->assertEquals(0.0, $filter(0.0));
                    
                
%%94^94D^94D1ADE1%%scenes.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 133 lines
                    
2         compiled from C:%5CD%5CMarocMall/themes/prestashop/./scenes.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('function', 'l', 'C:\\D\\MarocMall/themes/prestashop/./scenes.tpl', 32, false),array('function', 'math', 'C:\\D\\MarocMall/themes/prestashop/./scenes.tpl', 45, false),array('function', 'convertPrice', 'C:\\D\\MarocMall/themes/prestashop/./scenes.tpl', 51, false),array('modifier', 'escape', 'C:\\D\\MarocMall/themes/prestashop/./scenes.tpl', 44, false),array('modifier', 'strip_tags', 'C:\\D\\MarocMall/themes/prestashop/./scenes.tpl', 63, false),array('modifier', 'truncate', 'C:\\D\\MarocMall/themes/prestashop/./scenes.tpl', 63, false),array('modifier', 'count', 'C:\\D\\MarocMall/themes/prestashop/./scenes.tpl', 76, false),)), $this); ?>
                    
24	<div>
                    
25		<?php $_from = $this->_tpl_vars['scenes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['scenes'] = array('total' => count($_from), 'iteration' => 0);
                    
26if ($this->_foreach['scenes']['total'] > 0):
                    
62						<p class="price"><?php if ($this->_tpl_vars['priceDisplay']): ?><?php echo Product::convertPrice(array('price' => $this->_tpl_vars['product']['details']->getPrice(false,$this->_tpl_vars['product']['details']->getDefaultAttribute($this->_tpl_vars['product']['id_product']))), $this);?>
                    
63<?php else: ?><?php echo Product::convertPrice(array('price' => $this->_tpl_vars['product']['details']->getPrice(true,$this->_tpl_vars['product']['details']->getDefaultAttribute($this->_tpl_vars['product']['id_product']))), $this);?>
                    
64<?php endif; ?></p>
                    
101px;">
                    
102			<?php $_from = $this->_tpl_vars['scenes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['scenes_list'] = array('total' => count($_from), 'iteration' => 0);
                    
103if ($this->_foreach['scenes_list']['total'] > 0):
                    
107				<li id="scene_thumb_<?php echo $this->_tpl_vars['scene']->id; ?>
                    
108" style="<?php if (! ($this->_foreach['scenes_list']['iteration'] == $this->_foreach['scenes_list']['total'])): ?> padding-right:10px;<?php endif; ?>">
                    
109					<a style="width:<?php echo $this->_tpl_vars['thumbSceneImageType']['width']; ?>
                    
                
15datavalidation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 108 lines
                    
37/** PHPExcel_Writer_Excel2007 */
                    
38include 'PHPExcel/Writer/Excel2007.php';
                    
39
                    
51$objPHPExcel->getProperties()->setDescription("Test document for Office 2007 XLSX, generated using PHP classes.");
                    
52$objPHPExcel->getProperties()->setKeywords("office 2007 openxml php");
                    
53$objPHPExcel->getProperties()->setCategory("Test result file");
                    
68$objValidation = $objPHPExcel->getActiveSheet()->getCell('B3')->getDataValidation();
                    
69$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_WHOLE );
                    
70$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_STOP );
                    
82$objValidation = $objPHPExcel->getActiveSheet()->getCell('B5')->getDataValidation();
                    
83$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST );
                    
84$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION );
                    
102echo date('H:i:s') . " Write to Excel2007 format\n";
                    
103$objWriter = new PHPExcel_Writer_Excel2007($objPHPExcel);
                    
104$objWriter->save(str_replace('.php', '.xlsx', __FILE__));
                    
                
PagSeguroTransactionParser.class.php http://oraculum-php.googlecode.com/svn/trunk/ | PHP | 373 lines
                    
1<?php if (!defined('PAGSEGURO_LIBRARY')) { die('No direct script access allowed'); }
                    
2/*
                    
92		if (isset($data["type"])) {
                    
93			$transaction->setType(new PagSeguroTransactionType($data["type"]));
                    
94		}
                    
107			if (isset($data["paymentMethod"]['type'])) {
                    
108				$paymentMethod->setType(new PagSeguroPaymentMethodType($data["paymentMethod"]['type']));
                    
109			}
                    
214			if (isset($data["shipping"]["type"])) {
                    
215				$shipping->setType(new PagSeguroShippingType($data["shipping"]["type"]));
                    
216			}
                    
319		if (isset($data['type'])){
                    
320			$transactionSummary->setType(new PagSeguroTransactionType($data['type']));
                    
321		}
                    
357			if (isset($data['paymentMethod']['type'])){
                    
358				$paymentMethod->setType(new PagSeguroPaymentMethodType($data['paymentMethod']['type']));
                    
359			}
                    
                
client_roles_add.php http://scalr.googlecode.com/svn/ | PHP | 172 lines
                    
1<? 
                    
2	require("src/prepend.inc.php"); 
                    
3	
                    
8		$errmsg = "Requested page cannot be viewed from admin account";
                    
9		UI::Redirect("index.php");
                    
10	}
                    
88	                        $group_rules = $db->GetAll("SELECT * FROM security_rules WHERE roleid='{$ami_info['id']}'");	                        
                    
89	                        $IpPermissionSet = new IpPermissionSetType();
                    
90	                        foreach ($group_rules as $rule)
                    
115                	$okmsg = "An image for new role {$post_name} is being bundled. It can take up to 10 minutes.";
                    
116	            	UI::Redirect("client_roles_view.php");
                    
117                }
                    
158		$errmsg = "You must have at least one running instance";
                    
159		UI::Redirect("client_roles_view.php");
                    
160	}
                    
                
register.php http://ds-pro-chat.googlecode.com/svn/trunk/ | PHP | 434 lines
                    
1<?php
                    
2
                    
6
                    
7Include('./vars.php');
                    
8
                    
10{
                    
11	//phpinfo();exit;
                    
12	ForEach(Array('pf_nigol', 'pf_ssap', 'pf_dname', 'pf_email') AS $K)
                    
13	{
                    
14		SetType($_REQUEST[$K],	'string');
                    
15		$_REQUEST[$K] = Trim($_REQUEST[$K]);
                    
60	{
                    
61		Include(PrivateFolder . 'scripts/SQLiteDB.php');
                    
62		
                    
113	
                    
114	SetType($File['size'],		'integer');
                    
115	SetType($File['error'],		'integer');
                    
                
receipt_edit.tpl.php http://tracmor.googlecode.com/svn/trunk/ | PHP | 191 lines
                    
51
                    
52	<div class="title">Receipts: <?php $this->lblHeaderReceipt->Render(); ?></div>
                    
53	<table class="datagrid" cellpadding="5" cellspacing="0" border="0" >
                    
55			<td class="record_header">
                    
56				<?php
                    
57					$this->btnEdit->Render();
                    
134										</tr>
                    
135										<?php
                    
136									}
                    
154		<tr>
                    
155			<td colspan="3"><?php $this->rblAssetType->RenderDesigned('DisplayName=false'); ?></td>
                    
156		</tr>
                    
189	<?php $this->RenderEnd() ?>
                    
190	<?php require_once('../includes/footer.inc.php'); ?>
                    
191
                    
                
%%DB^DB7^DB761BB2%%header.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 103 lines
                    
2         compiled from C:%5CD%5CMarocMall/themes/prestashop/header.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'C:\\D\\MarocMall/themes/prestashop/header.tpl', 5, false),array('function', 'l', 'C:\\D\\MarocMall/themes/prestashop/header.tpl', 42, false),)), $this); ?>
                    
21		<meta name="generator" content="PrestaShop" />
                    
22		<meta name="robots" content="<?php if (isset ( $this->_tpl_vars['nobots'] )): ?>no<?php endif; ?>index,follow" />
                    
23		<link rel="icon" type="image/vnd.microsoft.icon" href="<?php echo $this->_tpl_vars['img_ps_dir']; ?>
                    
43<?php if (isset ( $this->_tpl_vars['css_files'] )): ?>
                    
44	<?php $_from = $this->_tpl_vars['css_files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
45    foreach ($_from as $this->_tpl_vars['css_uri'] => $this->_tpl_vars['media']):
                    
52<?php if (isset ( $this->_tpl_vars['js_files'] )): ?>
                    
53	<?php $_from = $this->_tpl_vars['js_files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
54    foreach ($_from as $this->_tpl_vars['js_uri']):
                    
84" <?php if ($this->_tpl_vars['logo_image_width']): ?>width="<?php echo $this->_tpl_vars['logo_image_width']; ?>
                    
85"<?php endif; ?> <?php if ($this->_tpl_vars['logo_image_height']): ?>height="<?php echo $this->_tpl_vars['logo_image_height']; ?>
                    
86" <?php endif; ?> />
                    
                
%%11^114^11414E95%%header.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 103 lines
                    
2         compiled from C:%5CD%5Cprestashop/themes/prestashop/header.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'C:\\D\\prestashop/themes/prestashop/header.tpl', 5, false),array('function', 'l', 'C:\\D\\prestashop/themes/prestashop/header.tpl', 42, false),)), $this); ?>
                    
21		<meta name="generator" content="PrestaShop" />
                    
22		<meta name="robots" content="<?php if (isset ( $this->_tpl_vars['nobots'] )): ?>no<?php endif; ?>index,follow" />
                    
23		<link rel="icon" type="image/vnd.microsoft.icon" href="<?php echo $this->_tpl_vars['img_ps_dir']; ?>
                    
43<?php if (isset ( $this->_tpl_vars['css_files'] )): ?>
                    
44	<?php $_from = $this->_tpl_vars['css_files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
45    foreach ($_from as $this->_tpl_vars['css_uri'] => $this->_tpl_vars['media']):
                    
52<?php if (isset ( $this->_tpl_vars['js_files'] )): ?>
                    
53	<?php $_from = $this->_tpl_vars['js_files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
54    foreach ($_from as $this->_tpl_vars['js_uri']):
                    
84" <?php if ($this->_tpl_vars['logo_image_width']): ?>width="<?php echo $this->_tpl_vars['logo_image_width']; ?>
                    
85"<?php endif; ?> <?php if ($this->_tpl_vars['logo_image_height']): ?>height="<?php echo $this->_tpl_vars['logo_image_height']; ?>
                    
86" <?php endif; ?> />
                    
                
DiffusionPathChange.php git://github.com/facebook/phabricator.git | PHP | 167 lines
                    
1<?php
                    
2
                    
143      $direct[] = $path->getPath();
                    
144      $change->setType($path->getChangeType());
                    
145      $file_type = $path->getFileType();
                    
                
Graph.php git://github.com/mvriel/Docblox.git | PHP | 365 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP Version 5
                    
6 *
                    
10 * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
                    
11 * @license   http://www.opensource.org/licenses/mit-license.php MIT
                    
12 * @link      http://docblox-project.org
                    
26 * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
                    
27 * @license   http://www.opensource.org/licenses/mit-license.php MIT
                    
28 * @link      http://docblox-project.org
                    
64            ->setName($name)
                    
65            ->setType($directional ? 'digraph' : 'graph');
                    
66
                    
105     */
                    
106    public function setType($type)
                    
107    {
                    
                
lmbTestGetopt.class.php git://github.com/limb-php-framework/limb.git | PHP | 305 lines
                    
17// +----------------------------------------------------------------------+
                    
18// | Copyright (c) 1997-2004 The PHP Group                                |
                    
19// +----------------------------------------------------------------------+
                    
19// +----------------------------------------------------------------------+
                    
20// | This source file is subject to version 3.0 of the PHP license,       |
                    
21// | that is bundled with this package in the file LICENSE, and is        |
                    
23// | http://www.php.net/license/3_0.txt.                                  |
                    
24// | If you did not receive a copy of the PHP license and are unable to   |
                    
25// | obtain it through the world-wide-web, please send a note to          |
                    
27// +----------------------------------------------------------------------+
                    
28// | Author: Andrei Zmievski <andrei@php.net>                             |
                    
29// +----------------------------------------------------------------------+
                    
282    /**
                    
283    * Safely read the $argv PHP array across different PHP configurations.
                    
284    * Will take care on register_globals and register_argc_argv ini directives
                    
                
settings.php git://git.savannah.nongnu.org/easymagazine.git | PHP | 171 lines
                    
1<?php
                    
2
                    
21
                    
22require_once(STARTPATH.'costants.php');
                    
23require_once(STARTPATH.SYSTEMPATH.'config.php');
                    
23require_once(STARTPATH.SYSTEMPATH.'config.php');
                    
24require_once(STARTPATH.DATAMODELPATH.'option.php');
                    
25require_once(STARTPATH.DATAMODELPATH.'user.php');
                    
25require_once(STARTPATH.DATAMODELPATH.'user.php');
                    
26require_once(STARTPATH.UTILSPATH.'fileWriter.php');
                    
27require_once(STARTPATH.UTILSPATH.'directoryrunner.php');
                    
27require_once(STARTPATH.UTILSPATH.'directoryrunner.php');
                    
28require_once(STARTPATH.CONTROLLERPATH.'all_controllers_commons.php');
                    
29
                    
65    $toSave->setName('title');
                    
66    $toSave->setType('settings');
                    
67    $toSave->setValue($post['title']);
                    
                
ChatEvent.java http://raptor-chess-interface.googlecode.com/svn/trunk/ | Java | 159 lines
                    
2 * New BSD License
                    
3 * http://www.opensource.org/licenses/bsd-license.php
                    
4 * Copyright 2009-2011 RaptorProject (http://code.google.com/p/raptor-chess-interface/)
                    
143	 */
                    
144	public void setType(ChatType type) {
                    
145		this.type = type;
                    
                
example3.2.html http://flaimo-php.googlecode.com/svn/trunk/ | HTML | 4 lines
                    
1<code><font color="#000000">
                    
2<font color="#0000CC">&lt;?php<br /></font><font color="#006600">include&nbsp;(</font><font color="#CC0000">"../jpgraph.php"</font><font color="#006600">);<br />include&nbsp;(</font><font color="#CC0000">"../jpgraph_line.php"</font><font color="#006600">);<br /><br /></font><font color="#0000CC">$ydata&nbsp;</font><font color="#006600">=&nbsp;array(</font><font color="#0000CC">11</font><font color="#006600">,</font><font color="#0000CC">3</font><font color="#006600">,</font><font color="#0000CC">8</font><font color="#006600">,</font><font color="#0000CC">12</font><font color="#006600">,</font><font color="#0000CC">5</font><font color="#006600">,</font><font color="#0000CC">1</font><font color="#006600">,</font><font color="#0000CC">9</font><font color="#006600">,</font><font color="#0000CC">15</font><font color="#006600">,</font><font color="#0000CC">5</font><font color="#006600">,</font><font color="#0000CC">7</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Create the graph. These two calls are always required<br /></font><font color="#0000CC">$graph&nbsp;</font><font color="#006600">=&nbsp;new&nbsp;</font><font color="#0000CC">Graph</font><font color="#006600">(</font><font color="#0000CC">300</font><font color="#006600">,</font><font color="#0000CC">200</font><font color="#006600">,</font><font color="#CC0000">"auto"</font><font color="#006600">);&nbsp;&nbsp;&nbsp;&nbsp;<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">SetScale</font><font color="#006600">(</font><font color="#CC0000">"textlin"</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Create the linear plot<br /></font><font color="#0000CC">$lineplot</font><font color="#006600">=new&nbsp;</font><font color="#0000CC">LinePlot</font><font color="#006600">(</font><font color="#0000CC">$ydata</font><font color="#006600">);<br /></font><font color="#0000CC">$lineplot</font><font color="#006600">-&gt;</font><font color="#0000CC">mark</font><font color="#006600">-&gt;</font><font color="#0000CC">SetType</font><font color="#006600">(</font><font color="#0000CC">MARK_CIRCLE</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Add the plot to the graph<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">Add</font><font color="#006600">(</font><font color="#0000CC">$lineplot</font><font color="#006600">);<br /><br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">img</font><font color="#006600">-&gt;</font><font color="#0000CC">SetMargin</font><font color="#006600">(</font><font color="#0000CC">40</font><font color="#006600">,</font><font color="#0000CC">20</font><font color="#006600">,</font><font color="#0000CC">20</font><font color="#006600">,</font><font color="#0000CC">40</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">Set</font><font color="#006600">(</font><font color="#CC0000">"Example 3.2"</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">xaxis</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">Set</font><font color="#006600">(</font><font color="#CC0000">"X-title"</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">yaxis</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">Set</font><font color="#006600">(</font><font color="#CC0000">"Y-title"</font><font color="#006600">);<br /><br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">SetFont</font><font color="#006600">(</font><font color="#0000CC">FF_FONT1</font><font color="#006600">,</font><font color="#0000CC">FS_BOLD</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">yaxis</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">SetFont</font><font color="#006600">(</font><font color="#0000CC">FF_FONT1</font><font color="#006600">,</font><font color="#0000CC">FS_BOLD</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">xaxis</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">SetFont</font><font color="#006600">(</font><font color="#0000CC">FF_FONT1</font><font color="#006600">,</font><font color="#0000CC">FS_BOLD</font><font color="#006600">);<br /><br /></font><font color="#0000CC">$lineplot</font><font color="#006600">-&gt;</font><font color="#0000CC">SetColor</font><font color="#006600">(</font><font color="#CC0000">"blue"</font><font color="#006600">);<br /></font><font color="#0000CC">$lineplot</font><font color="#006600">-&gt;</font><font color="#0000CC">SetWeight</font><font color="#006600">(</font><font color="#0000CC">2</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">yaxis</font><font color="#006600">-&gt;</font><font color="#0000CC">SetWeight</font><font color="#006600">(</font><font color="#0000CC">2</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">SetShadow</font><font color="#006600">();<br /><br /></font><font color="#FF9900">// Display the graph<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">Stroke</font><font color="#006600">();<br /></font><font color="#0000CC">?&gt;<br /></font>
                    
3</font>
                    
                
%%9F^9FD^9FD46DAE%%category.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 123 lines
                    
1<?php /* Smarty version 2.6.20, created on 2011-12-03 16:42:36
                    
2         compiled from C:%5CD%5CMarocMall/themes/prestashop/category.tpl */ ?>
                    
2         compiled from C:%5CD%5CMarocMall/themes/prestashop/category.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'C:\\D\\MarocMall/themes/prestashop/category.tpl', 35, false),array('function', 'l', 'C:\\D\\MarocMall/themes/prestashop/category.tpl', 61, false),)), $this); ?>
                    
5
                    
6<?php $_smarty_tpl_vars = $this->_tpl_vars;
                    
7$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./breadcrumb.tpl", 'smarty_include_vars' => array()));
                    
10 ?>
                    
11<?php $_smarty_tpl_vars = $this->_tpl_vars;
                    
12$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./errors.tpl", 'smarty_include_vars' => array()));
                    
20		<h1>
                    
21			<?php echo ''; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['category']->name)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?><?php echo ''; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['categoryNameComplement'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?><?php echo '<span class="category-product-count">'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
                    
22$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./category-count.tpl", 'smarty_include_vars' => array()));
                    
59			<ul class="inline_list">
                    
60			<?php $_from = $this->_tpl_vars['subcategories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
61    foreach ($_from as $this->_tpl_vars['subcategory']):
                    
                
%%5E^5E1^5E10B087%%category.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 123 lines
                    
1<?php /* Smarty version 2.6.20, created on 2011-11-28 23:50:32
                    
2         compiled from C:%5CD%5Cprestashop/themes/prestashop/category.tpl */ ?>
                    
2         compiled from C:%5CD%5Cprestashop/themes/prestashop/category.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'C:\\D\\prestashop/themes/prestashop/category.tpl', 35, false),array('function', 'l', 'C:\\D\\prestashop/themes/prestashop/category.tpl', 61, false),)), $this); ?>
                    
5
                    
6<?php $_smarty_tpl_vars = $this->_tpl_vars;
                    
7$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./breadcrumb.tpl", 'smarty_include_vars' => array()));
                    
10 ?>
                    
11<?php $_smarty_tpl_vars = $this->_tpl_vars;
                    
12$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./errors.tpl", 'smarty_include_vars' => array()));
                    
20		<h1>
                    
21			<?php echo ''; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['category']->name)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?><?php echo ''; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['categoryNameComplement'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?><?php echo '<span class="category-product-count">'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
                    
22$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./category-count.tpl", 'smarty_include_vars' => array()));
                    
59			<ul class="inline_list">
                    
60			<?php $_from = $this->_tpl_vars['subcategories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
61    foreach ($_from as $this->_tpl_vars['subcategory']):
                    
                
Abstract.php git://github.com/michael-romer/zf-boilerplate.git | 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
                    
                
MethodReflection.php https://code.google.com/p/celebrio/ | PHP | 226 lines
                    
1<?php
                    
2
                    
50			if ($param->isArray()) {
                    
51				settype($res[$param->getName()], 'array');
                    
52			}
                    
72				if ($def !== NULL) {
                    
73					settype($val, gettype($def));
                    
74				}
                    
                
Parameter.php git://github.com/michael-romer/zf-boilerplate.git | 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    {
                    
                
a2107c262e7d844996c23421a8f4590a61f3986a.file.blockcms.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 110 lines
                    
60				<?php }} ?>
                    
61				<?php if ($_smarty_tpl->tpl_vars['cms_title']->value['display_store']){?><li><a href="<?php echo $_smarty_tpl->getVariable('link')->value->getPageLink('stores.php');?>
                    
62" title="<?php echo smartyTranslate(array('s'=>'Our stores','mod'=>'blockcms'),$_smarty_tpl);?>
                    
72	<ul>
                    
73		<?php if (!$_smarty_tpl->getVariable('PS_CATALOG_MODE')->value){?><li class="first_item"><a href="<?php echo $_smarty_tpl->getVariable('link')->value->getPageLink('prices-drop.php');?>
                    
74" title="<?php echo smartyTranslate(array('s'=>'Specials','mod'=>'blockcms'),$_smarty_tpl);?>
                    
76</a></li><?php }?>
                    
77		<li class="<?php if ($_smarty_tpl->getVariable('PS_CATALOG_MODE')->value){?>first_<?php }?>item"><a href="<?php echo $_smarty_tpl->getVariable('link')->value->getPageLink('new-products.php');?>
                    
78" title="<?php echo smartyTranslate(array('s'=>'New products','mod'=>'blockcms'),$_smarty_tpl);?>
                    
80</a></li>
                    
81		<?php if (!$_smarty_tpl->getVariable('PS_CATALOG_MODE')->value){?><li class="item"><a href="<?php echo $_smarty_tpl->getVariable('link')->value->getPageLink('best-sales.php');?>
                    
82" title="<?php echo smartyTranslate(array('s'=>'Top sellers','mod'=>'blockcms'),$_smarty_tpl);?>
                    
84</a></li><?php }?>
                    
85		<?php if ($_smarty_tpl->getVariable('display_stores_footer')->value){?><li class="item"><a href="<?php echo $_smarty_tpl->getVariable('link')->value->getPageLink('stores.php');?>
                    
86" title="<?php echo smartyTranslate(array('s'=>'Our stores','mod'=>'blockcms'),$_smarty_tpl);?>
                    
                
19d48b80b97c52d421d15614b76a9b0774ce2b42.file.cms.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 99 lines
                    
19)); /*/%%SmartyHeaderCode%%*/?>
                    
20<?php if (!is_callable('smarty_modifier_escape')) include 'C:\D\prestashoplf\prestashop\tools\smarty\plugins\modifier.escape.php';
                    
21?>
                    
23	<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_dir')->value)."./breadcrumb.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
                    
24 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
                    
25<?php }?>
                    
25<?php }?>
                    
26<?php if (isset($_smarty_tpl->getVariable('cms',null,true,false)->value)&&!isset($_smarty_tpl->getVariable('category',null,true,false)->value)){?>
                    
27	<?php if (!$_smarty_tpl->getVariable('cms')->value->active){?>
                    
47	<?php }?>
                    
48	<div class="rte<?php if ($_smarty_tpl->getVariable('content_only')->value){?> content_only<?php }?>">
                    
49		<?php echo $_smarty_tpl->getVariable('cms')->value->content;?>
                    
55</h1>
                    
56		<?php if (isset($_smarty_tpl->getVariable('sub_category',null,true,false)->value)&!empty($_smarty_tpl->getVariable('sub_category',null,true,false)->value)){?>	
                    
57			<h4><?php echo smartyTranslate(array('s'=>'List of sub categories in '),$_smarty_tpl);?>
                    
                
Hessian2Writer.php http://hessianphp.googlecode.com/svn/trunk/ | PHP | 368 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This file is part of the HessianPHP package.
                    
4 * (c) 2004-2011 Manuel Gómez
                    
26	
                    
27	function setTypeMap($typemap){
                    
28		$this->typemap = $typemap;
                    
                
DiffusionSymbolQuery.php git://github.com/facebook/phabricator.git | PHP | 281 lines
                    
1<?php
                    
2
                    
88   */
                    
89  public function setType($type) {
                    
90    $this->type = $type;
                    
                
filledlineex01.1.html http://flaimo-php.googlecode.com/svn/trunk/ | HTML | 4 lines
                    
1<code><font color="#000000">
                    
2<font color="#0000CC">&lt;?php<br /></font><font color="#006600">include&nbsp;(</font><font color="#CC0000">"../jpgraph.php"</font><font color="#006600">);<br />include&nbsp;(</font><font color="#CC0000">"../jpgraph_line.php"</font><font color="#006600">);<br /><br /></font><font color="#0000CC">$datay&nbsp;</font><font color="#006600">=&nbsp;array(</font><font color="#0000CC">1.23</font><font color="#006600">,</font><font color="#0000CC">1.9</font><font color="#006600">,</font><font color="#0000CC">1.6</font><font color="#006600">,</font><font color="#0000CC">3.1</font><font color="#006600">,</font><font color="#0000CC">3.4</font><font color="#006600">,</font><font color="#0000CC">2.8</font><font color="#006600">,</font><font color="#0000CC">2.1</font><font color="#006600">,</font><font color="#0000CC">1.9</font><font color="#006600">);<br /></font><font color="#0000CC">$graph&nbsp;</font><font color="#006600">=&nbsp;new&nbsp;</font><font color="#0000CC">Graph</font><font color="#006600">(</font><font color="#0000CC">300</font><font color="#006600">,</font><font color="#0000CC">200</font><font color="#006600">,</font><font color="#CC0000">"auto"</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">SetScale</font><font color="#006600">(</font><font color="#CC0000">"textlin"</font><font color="#006600">);<br /><br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">img</font><font color="#006600">-&gt;</font><font color="#0000CC">SetMargin</font><font color="#006600">(</font><font color="#0000CC">40</font><font color="#006600">,</font><font color="#0000CC">40</font><font color="#006600">,</font><font color="#0000CC">40</font><font color="#006600">,</font><font color="#0000CC">40</font><font color="#006600">);&nbsp;&nbsp;&nbsp;&nbsp;<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">SetShadow</font><font color="#006600">();<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">SetGridDepth</font><font color="#006600">(</font><font color="#0000CC">DEPTH_FRONT</font><font color="#006600">);<br /><br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">Set</font><font color="#006600">(</font><font color="#CC0000">"Example of filled line plot"</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">SetFont</font><font color="#006600">(</font><font color="#0000CC">FF_FONT1</font><font color="#006600">,</font><font color="#0000CC">FS_BOLD</font><font color="#006600">);<br /><br /></font><font color="#0000CC">$p1&nbsp;</font><font color="#006600">=&nbsp;new&nbsp;</font><font color="#0000CC">LinePlot</font><font color="#006600">(</font><font color="#0000CC">$datay</font><font color="#006600">);<br /></font><font color="#0000CC">$p1</font><font color="#006600">-&gt;</font><font color="#0000CC">SetFillColor</font><font color="#006600">(</font><font color="#CC0000">"orange"</font><font color="#006600">);<br /></font><font color="#0000CC">$p1</font><font color="#006600">-&gt;</font><font color="#0000CC">mark</font><font color="#006600">-&gt;</font><font color="#0000CC">SetType</font><font color="#006600">(</font><font color="#0000CC">MARK_FILLEDCIRCLE</font><font color="#006600">);<br /></font><font color="#0000CC">$p1</font><font color="#006600">-&gt;</font><font color="#0000CC">mark</font><font color="#006600">-&gt;</font><font color="#0000CC">SetFillColor</font><font color="#006600">(</font><font color="#CC0000">"red"</font><font color="#006600">);<br /></font><font color="#0000CC">$p1</font><font color="#006600">-&gt;</font><font color="#0000CC">mark</font><font color="#006600">-&gt;</font><font color="#0000CC">SetWidth</font><font color="#006600">(</font><font color="#0000CC">4</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">Add</font><font color="#006600">(</font><font color="#0000CC">$p1</font><font color="#006600">);<br /><br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">Stroke</font><font color="#006600">();<br /></font><font color="#0000CC">?&gt;<br /></font>
                    
3</font>
                    
                
scatter_csimex1.html http://flaimo-php.googlecode.com/svn/trunk/ | HTML | 4 lines
                    
1<code><font color="#000000">
                    
2<font color="#0000CC">&lt;?php<br /></font><font color="#006600">include_once&nbsp;(</font><font color="#CC0000">"jpgraph.php"</font><font color="#006600">);<br />include_once&nbsp;(</font><font color="#CC0000">"jpgraph_scatter.php"</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Some data for the points<br /></font><font color="#0000CC">$datax&nbsp;</font><font color="#006600">=&nbsp;array(</font><font color="#0000CC">3.5</font><font color="#006600">,</font><font color="#0000CC">13.7</font><font color="#006600">,</font><font color="#0000CC">3</font><font color="#006600">,</font><font color="#0000CC">4</font><font color="#006600">,</font><font color="#0000CC">6.2</font><font color="#006600">,</font><font color="#0000CC">6</font><font color="#006600">,</font><font color="#0000CC">3.5</font><font color="#006600">,</font><font color="#0000CC">8</font><font color="#006600">,</font><font color="#0000CC">14</font><font color="#006600">,</font><font color="#0000CC">8</font><font color="#006600">,</font><font color="#0000CC">11.1</font><font color="#006600">,</font><font color="#0000CC">13.7</font><font color="#006600">);<br /></font><font color="#0000CC">$datay&nbsp;</font><font color="#006600">=&nbsp;array(</font><font color="#0000CC">10</font><font color="#006600">,</font><font color="#0000CC">22</font><font color="#006600">,</font><font color="#0000CC">12</font><font color="#006600">,</font><font color="#0000CC">13</font><font color="#006600">,</font><font color="#0000CC">17</font><font color="#006600">,</font><font color="#0000CC">20</font><font color="#006600">,</font><font color="#0000CC">16</font><font color="#006600">,</font><font color="#0000CC">19</font><font color="#006600">,</font><font color="#0000CC">30</font><font color="#006600">,</font><font color="#0000CC">31</font><font color="#006600">,</font><font color="#0000CC">40</font><font color="#006600">,</font><font color="#0000CC">43</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// A new scatter graph<br /></font><font color="#0000CC">$graph&nbsp;</font><font color="#006600">=&nbsp;new&nbsp;</font><font color="#0000CC">Graph</font><font color="#006600">(</font><font color="#0000CC">300</font><font color="#006600">,</font><font color="#0000CC">200</font><font color="#006600">,</font><font color="#CC0000">'auto'</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">SetShadow</font><font color="#006600">();<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">SetScale</font><font color="#006600">(</font><font color="#CC0000">"linlin"</font><font color="#006600">);<br /><br /></font><font color="#FF9900">//$graph-&gt;img-&gt;SetMargin(40,40,40,40);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">Set</font><font color="#006600">(</font><font color="#CC0000">"Scatter plot with Image Map"</font><font color="#006600">);<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">title</font><font color="#006600">-&gt;</font><font color="#0000CC">SetFont</font><font color="#006600">(</font><font color="#0000CC">FF_FONT1</font><font color="#006600">,</font><font color="#0000CC">FS_BOLD</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Client side image map targets<br /></font><font color="#0000CC">$targ</font><font color="#006600">=array(</font><font color="#CC0000">"pie_csimex1.php#1"</font><font color="#006600">,</font><font color="#CC0000">"pie_csimex1.php#2"</font><font color="#006600">,</font><font color="#CC0000">"pie_csimex1.php#3"</font><font color="#006600">,<br /></font><font color="#CC0000">"pie_csimex1.php#4"</font><font color="#006600">,</font><font color="#CC0000">"pie_csimex1.php#5"</font><font color="#006600">,</font><font color="#CC0000">"pie_csimex1.php#6"</font><font color="#006600">,<br /></font><font color="#CC0000">"pie_csimex1.php#7"</font><font color="#006600">,</font><font color="#CC0000">"pie_csimex1.php#8"</font><font color="#006600">,</font><font color="#CC0000">"pie_csimex1.php#9"&nbsp;</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Strings to put as "alts" (and "title" value)<br /></font><font color="#0000CC">$alts</font><font color="#006600">=array(</font><font color="#CC0000">"val=%d"</font><font color="#006600">,</font><font color="#CC0000">"val=%d"</font><font color="#006600">,</font><font color="#CC0000">"val=%d"</font><font color="#006600">,</font><font color="#CC0000">"val=%d"</font><font color="#006600">,</font><font color="#CC0000">"val=%d"</font><font color="#006600">,</font><font color="#CC0000">"val=%d"</font><font color="#006600">,</font><font color="#CC0000">"val=%d"</font><font color="#006600">,</font><font color="#CC0000">"val=%d"</font><font color="#006600">,</font><font color="#CC0000">"val=%d"</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Create a new scatter plot<br /></font><font color="#0000CC">$sp1&nbsp;</font><font color="#006600">=&nbsp;new&nbsp;</font><font color="#0000CC">ScatterPlot</font><font color="#006600">(</font><font color="#0000CC">$datay</font><font color="#006600">,</font><font color="#0000CC">$datax</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Use diamonds as markerss<br /></font><font color="#0000CC">$sp1</font><font color="#006600">-&gt;</font><font color="#0000CC">mark</font><font color="#006600">-&gt;</font><font color="#0000CC">SetType</font><font color="#006600">(</font><font color="#0000CC">MARK_DIAMOND</font><font color="#006600">);<br /></font><font color="#0000CC">$sp1</font><font color="#006600">-&gt;</font><font color="#0000CC">mark</font><font color="#006600">-&gt;</font><font color="#0000CC">SetWidth</font><font color="#006600">(</font><font color="#0000CC">10</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Set the scatter plot image map targets<br /></font><font color="#0000CC">$sp1</font><font color="#006600">-&gt;</font><font color="#0000CC">SetCSIMTargets</font><font color="#006600">(</font><font color="#0000CC">$targ</font><font color="#006600">,</font><font color="#0000CC">$alts</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Add the plot<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">Add</font><font color="#006600">(</font><font color="#0000CC">$sp1</font><font color="#006600">);<br /><br /></font><font color="#FF9900">// Send back the HTML page which will call this script again<br />// to retrieve the image.<br /></font><font color="#0000CC">$graph</font><font color="#006600">-&gt;</font><font color="#0000CC">StrokeCSIM</font><font color="#006600">(</font><font color="#CC0000">'Examples/scatter_csimex1.php'</font><font color="#006600">,</font><font color="#CC0000">'scatter_csimex1'</font><font color="#006600">);<br /><br /></font><font color="#0000CC">?&gt;<br /></font>
                    
3</font>
                    
                
TextStyles.java git://github.com/plutext/docx4j.git | Java | 387 lines
                    
30import org.docx4j.dml.CTTextListStyle;
                    
31import org.docx4j.dml.CTTextParagraphProperties;
                    
32import org.docx4j.dml.BaseStyles.FontScheme;
                    
96	
                    
97	public static Style convertToWordStyle(CTTextParagraphProperties lvlPPr, 
                    
98			String id, String name,
                    
105//		<w:style w:type="paragraph" w:styleId="Heading1">
                    
106		style.setType("paragraph");
                    
107		style.setStyleId(id);
                    
127						"URI", "lvl1pPr", // BEWARE: could be lvl2 etc
                    
128						CTTextParagraphProperties.class));
                    
129				
                    
146					"URI", "lvl1pPr", 
                    
147					CTTextParagraphProperties.class));
                    
148			
                    
                
Linux_SambaGroupInstance.h git://pkgs.fedoraproject.org/sblim-cmpi-samba | C++ Header | 133 lines
                    
11// You can obtain a current copy of the Eclipse Public License from
                    
12// http://www.opensource.org/licenses/eclipse-1.0.php
                    
13//
                    
51       
                    
52    struct isSetType{
                    
53      unsigned int instanceName:1;
                    
                
Linux_SambaPrinterForServiceInstanceName.h git://pkgs.fedoraproject.org/sblim-cmpi-samba | C Header | 136 lines
                    
11// You can obtain a current copy of the Eclipse Public License from
                    
12// http://www.opensource.org/licenses/eclipse-1.0.php
                    
13//
                    
52       
                    
53    struct isSetType{
                    
54      unsigned int m_nameSpaceP:1;
                    
                
VolumeTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 389 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: VolumeTest.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Measure/Flow/Volume.php';
                    
27
                    
35 */
                    
36class Zend_Measure_Flow_VolumeTest extends PHPUnit_Framework_TestCase
                    
37{
                    
307     */
                    
308    public function testFlow_VolumeSetType()
                    
309    {
                    
310        $value = new Zend_Measure_Flow_Volume('-100',Zend_Measure_Flow_Volume::STANDARD,'de');
                    
311        $value->setType(Zend_Measure_Flow_Volume::CUSEC);
                    
312        $this->assertEquals(Zend_Measure_Flow_Volume::CUSEC, $value->getType(), 'Zend_Measure_Flow_Volume type expected');
                    
                
SchemaTest.php http://arrowplatform.googlecode.com/svn/trunk/ | PHP | 350 lines
                    
3
                    
4require_once ('PHPUnit/Autoload.php');
                    
5
                    
80		$field_test1->setPKey(true);
                    
81		$field_test1->setType("integer");
                    
82		$field_test1->setSize(11);
                    
85		$field_test2->setName("test2");
                    
86		$field_test2->setType("varchar");
                    
87		$field_test2->setSize(255);
                    
150		$field_test2->setName("test2");
                    
151		$field_test2->setType("varchar");
                    
152		$field_test2->setSize(255);
                    
156		$field_test3->setName("test3");
                    
157		$field_test3->setType("integer");
                    
158		$field_test3->setRequired(true);
                    
                
AastraIPPhoneInputScreen.class.php https://bitbucket.org/gpanula/panicbutton | PHP | 363 lines
                    
1<?php
                    
2########################################################################################################
                    
44#          @url		string
                    
45#     setType(type) to set type of input, 'string' by default
                    
46#          @type		enum ('IP', 'string', 'number', 'dateUS'...)
                    
61#          @url		string
                    
62#     setType(type) to set the default type of input 'string' by default
                    
63#          @type		enum ('IP', 'string', 'number', 'dateUS'...)
                    
99# Example 1 - Single Input
                    
100#     require_once('AastraIPPhoneInputScreen.class.php');
                    
101#     $input = new AastraIPPhoneInputScreen();
                    
104#     $input->setParameter('param');
                    
105#     $input->setType('string');
                    
106#     $input->setURL('http://myserver.com/script.php');
                    
112# Example 2 - Multiple Inputs
                    
113#     require_once('AastraIPPhoneInputScreen.class.php');
                    
114#     $input = new AastraIPPhoneInputScreen();
                    
                
ajax.config.php git://github.com/thorsten/phpMyFAQ.git | PHP | 237 lines
                    
47    case 'add_instance':
                    
48        if (!isset($_SESSION['phpmyfaq_csrf_token']) || $_SESSION['phpmyfaq_csrf_token'] !== $csrfToken) {
                    
49            $http->setStatus(400);
                    
138    case 'delete_instance':
                    
139        if (!isset($_SESSION['phpmyfaq_csrf_token']) || $_SESSION['phpmyfaq_csrf_token'] !== $csrfToken) {
                    
140            $http->setStatus(400);
                    
179    case 'save_stop_word':
                    
180        if (!isset($_SESSION['phpmyfaq_csrf_token']) || $_SESSION['phpmyfaq_csrf_token'] !== $csrfToken) {
                    
181            $http->sendJsonWithHeaders(['error' => $PMF_LANG['err_NotAuth']]);
                    
196    case 'add_meta':
                    
197        if (!isset($_SESSION['phpmyfaq_csrf_token']) || $_SESSION['phpmyfaq_csrf_token'] !== $csrfToken) {
                    
198            $http->sendJsonWithHeaders(['error' => $PMF_LANG['err_NotAuth']]);
                    
220    case 'delete_meta':
                    
221        if (!isset($_SESSION['phpmyfaq_csrf_token']) || $_SESSION['phpmyfaq_csrf_token'] !== $csrfToken) {
                    
222            $http->sendJsonWithHeaders(['error' => $PMF_LANG['err_NotAuth']]);
                    
                
ZOrder.class.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 206 lines
                    
1<?php
                    
2class ZOrder {
                    
141	static public function setItemExp($gen_ids,$express_id){ // ?????????????
                    
142		settype($gen_ids, 'array');
                    
143		Table::UpdateCache('orderitem', array('gen_id'=>$gen_ids), array(
                    
                
Query.php git://github.com/alloyphp/alloy.git | PHP | 338 lines
                    
1<?php
                    
2namespace Spot;
                    
4/**
                    
5 * Query Object - Used to build adapter-independent queries PHP-style
                    
6 * 
                    
104     * @param string $type Keyword that will separate each condition - "AND", "OR"
                    
105     * @param string $setType Keyword that will separate the whole set of conditions - "AND", "OR"
                    
106     */
                    
106     */
                    
107    public function where(array $conditions = array(), $type = "AND", $setType = "AND")
                    
108    {
                    
113            $where['type'] = $type;
                    
114            $where['setType'] = $setType;
                    
115            
                    
                
SmartyBC.class.php git://github.com/benkeen/generatedata.git | 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 *
                    
                
modules.class.php http://bitcero-modules.googlecode.com/svn/ | PHP | 186 lines
                    
1<?php
                    
2// $Id$
                    
59	}
                    
60	public function setType($value){
                    
61		return $this->type = $value;
                    
                
apiSiteVerificationService.php git://github.com/gkwelding/FuelPHP-Social-Package.git | PHP | 292 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
                    
211  }
                    
212  public function setType($type) {
                    
213    $this->type = $type;
                    
285  }
                    
286  public function setType($type) {
                    
287    $this->type = $type;
                    
                
f45017e4339997e50d309ff45e7a1ee530344a8f.file.stores.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 135 lines
                    
20<?php if (!is_callable('smarty_modifier_escape')) include 'C:\D\prestashoplf\prestashop\tools\smarty\plugins\modifier.escape.php';
                    
21?><?php ob_start(); ?><?php echo smartyTranslate(array('s'=>'Our stores'),$_smarty_tpl);?>
                    
22<?php  Smarty::$_smarty_vars['capture']['path']=ob_get_clean();?>
                    
38		<div class="store-small">
                    
39			<?php if ($_smarty_tpl->tpl_vars['store']->value['has_picture']){?><p><img src="<?php echo $_smarty_tpl->getVariable('img_store_dir')->value;?>
                    
40<?php echo $_smarty_tpl->tpl_vars['store']->value['id_store'];?>
                    
48<br />
                    
49				<?php if ($_smarty_tpl->tpl_vars['store']->value['address2']){?><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['store']->value['address2'],'htmlall','UTF-8');?>
                    
50<?php }?><br />
                    
52 <?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['store']->value['city'],'htmlall','UTF-8');?>
                    
53<?php if ($_smarty_tpl->tpl_vars['store']->value['state']){?>, <?php echo $_smarty_tpl->tpl_vars['store']->value['state'];?>
                    
54<?php }?><br />
                    
56<br />
                    
57				<?php if ($_smarty_tpl->tpl_vars['store']->value['phone']){?><?php echo smartyTranslate(array('s'=>'Phone:','js'=>0),$_smarty_tpl);?>
                    
58 <?php echo $_smarty_tpl->tpl_vars['store']->value['phone'];?>
                    
                
mbExtruder.js http://mbideasproject.googlecode.com/svn/trunk/ | JavaScript | 402 lines
                    
7 Licences: MIT, GPL
                    
8 http://www.opensource.org/licenses/mit-license.php
                    
9 http://www.gnu.org/licenses/gpl.html
                    
99        if ($.metadata){
                    
100          $.metadata.setType("class");
                    
101          if (extruder.metadata().title) extruder.attr("extTitle",extruder.metadata().title);
                    
279      if ($.metadata){
                    
280        $.metadata.setType("class");
                    
281        if (voice.metadata().panel) voice.attr("panel",voice.metadata().panel);
                    
                
mod_form.php https://code.google.com/p/oasychev-moodle-plugins/ | PHP | 185 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
21 * It uses the standard core Moodle formslib. For more info about them, please
                    
22 * visit: http://docs.moodle.org/en/Development:lib/formslib.php
                    
23 *
                    
29defined('MOODLE_INTERNAL') || die();
                    
30require_once($CFG->dirroot.'/course/lib.php');
                    
31require_once($CFG->dirroot.'/course/moodleform_mod.php');
                    
45        if (!empty($CFG->formatstringstriptags)) {
                    
46            $mform->setType('name', PARAM_TEXT);
                    
47        } else {
                    
47        } else {
                    
48            $mform->setType('name', PARAM_CLEAN);
                    
49        }
                    
                
%%30^302^3028DB03%%blockcart-json.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 150 lines
                    
39<?php endif; ?>
                    
40		"hasCustomizedDatas": <?php if (isset ( $this->_tpl_vars['customizedDatas'][$this->_tpl_vars['productId']][$this->_tpl_vars['productAttributeId']] )): ?>true<?php else: ?>false<?php endif; ?>,
                    
41
                    
78					<?php endforeach; endif; unset($_from); ?>]
                    
79				}<?php if (! ($this->_foreach['customization']['iteration'] == $this->_foreach['customization']['total'])): ?>,<?php endif; ?>
                    
80				<?php endforeach; endif; unset($_from); ?>
                    
92"discounts": [
                    
93<?php if ($this->_tpl_vars['discounts']): ?><?php $_from = $this->_tpl_vars['discounts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['discounts'] = array('total' => count($_from), 'iteration' => 0);
                    
94if ($this->_foreach['discounts']['total'] > 0):
                    
109",
                    
110		"price":           "-<?php if ($this->_tpl_vars['discount']['value_real'] != '!'): ?><?php if ($this->_tpl_vars['priceDisplay'] == 1): ?><?php echo ((is_array($_tmp=Product::convertPrice(array('price' => $this->_tpl_vars['discount']['value_tax_exc']), $this))) ? $this->_run_mod_handler('html_entity_decode', true, $_tmp, 2, 'UTF-8') : html_entity_decode($_tmp, 2, 'UTF-8'));?>
                    
111<?php else: ?><?php echo ((is_array($_tmp=Product::convertPrice(array('price' => $this->_tpl_vars['discount']['value_real']), $this))) ? $this->_run_mod_handler('html_entity_decode', true, $_tmp, 2, 'UTF-8') : html_entity_decode($_tmp, 2, 'UTF-8'));?>
                    
113	}
                    
114	<?php if (! ($this->_foreach['discounts']['iteration'] == $this->_foreach['discounts']['total'])): ?>,<?php endif; ?>
                    
115<?php endforeach; endif; unset($_from); ?><?php endif; ?>
                    
                
MediaContent.php git://github.com/eryx/php-framework-benchmark.git | PHP | 523 lines
                    
1<?php
                    
2/**
                    
316     */
                    
317    public function setType($value)
                    
318    {
                    
                
arc.partview.class.php http://pj-photohost.googlecode.com/svn/trunk/ | PHP | 217 lines
                    
1<?php
                    
2if(!defined('DEDEINC')) exit('Request Error!');
                    
2if(!defined('DEDEINC')) exit('Request Error!');
                    
3require_once(DEDEINC.'/channelunit.class.php');
                    
4require_once(DEDEINC.'/typelink.class.php');
                    
15
                    
16	//php5????
                    
17	function __construct($typeid=0,$needtypelink=true)
                    
65	//??typelink????????
                    
66	function SetTypeLink(&$typelink)
                    
67	{
                    
80
                    
81	//php4????
                    
82	function PartView($typeid=0,$needtypelink=true)
                    
148		}
                    
149		MakeOneTag($this->dtp,$this); //?????? channelunit.func.php ???
                    
150	}
                    
                
FormatterElement.php http://prado3.googlecode.com/svn/trunk/ | PHP | 179 lines
                    
26 *
                    
27 * @author Michiel Rook <mrook@php.net>
                    
28 * @version $Id: 296214ebac3a12e51bffed3dcc2c0bb93fb0754e $
                    
64        {
                    
65            require_once 'phing/tasks/ext/phpunit/formatter/SummaryPHPUnitResultFormatter.php';
                    
66            $this->formatter = new SummaryPHPUnitResultFormatter($this->parent);
                    
70        {
                    
71            require_once 'phing/tasks/ext/phpunit/formatter/CloverPHPUnitResultFormatter.php';
                    
72            $this->formatter = new CloverPHPUnitResultFormatter($this->parent);
                    
76        {
                    
77            require_once 'phing/tasks/ext/phpunit/formatter/XMLPHPUnitResultFormatter.php';
                    
78            $this->formatter = new XMLPHPUnitResultFormatter($this->parent);
                    
82        {
                    
83            require_once 'phing/tasks/ext/phpunit/formatter/PlainPHPUnitResultFormatter.php';
                    
84            $this->formatter = new PlainPHPUnitResultFormatter($this->parent);
                    
                
Creating.php http://magento-w2p.googlecode.com/svn/trunk/ | PHP | 339 lines
                    
1<?php
                    
2
                    
120          ->setAttributeSetId($product_model->getDefaultAttributeSetId())
                    
121          ->setTypeId($this->getAction()->getParam('product-type', 'simple'))
                    
122          ->setStatus(Mage_Catalog_Model_Product_Status::STATUS_DISABLED)
                    
                
a54aa37eb64064d65f8ba120033d7bc419d04b9e.file.homefeatured.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 107 lines
                    
19)); /*/%%SmartyHeaderCode%%*/?>
                    
20<?php if (!is_callable('smarty_function_math')) include 'C:\D\prestashoplf\prestashop\tools\smarty\plugins\function.math.php';
                    
21if (!is_callable('smarty_modifier_escape')) include 'C:\D\prestashoplf\prestashop\tools\smarty\plugins\modifier.escape.php';
                    
55?>
                    
56				<li class="ajax_block_product <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['homeFeaturedProducts']['first']){?>first_item<?php }elseif($_smarty_tpl->getVariable('smarty')->value['foreach']['homeFeaturedProducts']['last']){?>last_item<?php }else{ ?>item<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['homeFeaturedProducts']['iteration']%$_smarty_tpl->getVariable('nbItemsPerLine')->value==0){?>last_item_of_line<?php }elseif($_smarty_tpl->getVariable('smarty')->value['foreach']['homeFeaturedProducts']['iteration']%$_smarty_tpl->getVariable('nbItemsPerLine')->value==1){?>clear<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['homeFeaturedProducts']['iteration']>($_smarty_tpl->getVariable('smarty')->value['foreach']['homeFeaturedProducts']['total']-($_smarty_tpl->getVariable('smarty')->value['foreach']['homeFeaturedProducts']['total']%$_smarty_tpl->getVariable('nbItemsPerLine')->value))){?>last_line<?php }?>">
                    
57					<h5><a href="<?php echo $_smarty_tpl->tpl_vars['product']->value['link'];?>
                    
72					<div>
                    
73						<?php if ($_smarty_tpl->tpl_vars['product']->value['show_price']&&!isset($_smarty_tpl->getVariable('restricted_country_mode',null,true,false)->value)&&!$_smarty_tpl->getVariable('PS_CATALOG_MODE')->value){?><p class="price_container"><span class="price"><?php if (!$_smarty_tpl->getVariable('priceDisplay')->value){?><?php echo Product::convertPrice(array('price'=>$_smarty_tpl->tpl_vars['product']->value['price']),$_smarty_tpl);?>
                    
74<?php }else{ ?><?php echo Product::convertPrice(array('price'=>$_smarty_tpl->tpl_vars['product']->value['price_tax_exc']),$_smarty_tpl);?>
                    
74<?php }else{ ?><?php echo Product::convertPrice(array('price'=>$_smarty_tpl->tpl_vars['product']->value['price_tax_exc']),$_smarty_tpl);?>
                    
75<?php }?></span></p><?php }else{ ?><div style="height:21px;"></div><?php }?>
                    
76						<a class="button" href="<?php echo $_smarty_tpl->tpl_vars['product']->value['link'];?>
                    
82							<a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_<?php echo $_smarty_tpl->tpl_vars['product']->value['id_product'];?>
                    
83" href="<?php echo $_smarty_tpl->getVariable('link')->value->getPageLink('cart.php');?>
                    
84?qty=1&amp;id_product=<?php echo $_smarty_tpl->tpl_vars['product']->value['id_product'];?>
                    
                
insertElseIf.php http://ezerphp.googlecode.com/svn/trunk/ | PHP | 143 lines
                    
1<?php
                    
2error_reporting(E_ALL);
                    
3
                    
4require_once 'bootstrap.php';
                    
5
                    
14$variable1->setName('condition');
                    
15$variable1->setType('int');
                    
16
                    
18$variable2->setName('expression');
                    
19$variable2->setType('boolean');
                    
20
                    
22$variable3->setName('beginMessage');
                    
23$variable3->setType('string');
                    
24
                    
26$variable4->setName('endMessage');
                    
27$variable4->setType('string');
                    
28
                    
                
TemperatureTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: TemperatureTest.php 6799 2007-11-09 22:44:42Z thomas $
                    
22 */
                    
27 */
                    
28require_once 'Zend/Measure/Temperature.php';
                    
29
                    
30/**
                    
31 * PHPUnit test case
                    
32 */
                    
32 */
                    
33require_once 'PHPUnit/Framework/TestCase.php';
                    
34
                    
311     */
                    
312    public function testTemperatureSetType()
                    
313    {
                    
                
%%0F^0FA^0FA508A9%%sitemap.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 133 lines
                    
29			<?php endif; ?>
                    
30			<?php if ($this->_tpl_vars['display_manufacturer_link'] || $this->_tpl_vars['PS_DISPLAY_SUPPLIERS']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('manufacturer.php'); ?>
                    
31"><?php echo smartyTranslate(array('s' => 'Manufacturers'), $this);?>
                    
32</a></li><?php endif; ?>
                    
33			<?php if ($this->_tpl_vars['display_supplier_link'] || $this->_tpl_vars['PS_DISPLAY_SUPPLIERS']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('supplier.php'); ?>
                    
34"><?php echo smartyTranslate(array('s' => 'Suppliers'), $this);?>
                    
50</a></li>
                    
51			<?php if ($this->_tpl_vars['voucherAllowed']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('discount.php',true); ?>
                    
52"><?php echo smartyTranslate(array('s' => 'Discounts'), $this);?>
                    
69		<?php if (isset ( $this->_tpl_vars['categoriesTree']['children'] )): ?>
                    
70			<?php $_from = $this->_tpl_vars['categoriesTree']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['sitemapTree'] = array('total' => count($_from), 'iteration' => 0);
                    
71if ($this->_foreach['sitemapTree']['total'] > 0):
                    
123			<?php endforeach; endif; unset($_from); ?>
                    
124			<?php if ($this->_tpl_vars['display_store']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('stores.php'); ?>
                    
125" title="<?php echo smartyTranslate(array('s' => 'Our stores'), $this);?>
                    
                
b2e9421082e79295cfb8b2e8135c199666e72da4.file.category.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 118 lines
                    
19)); /*/%%SmartyHeaderCode%%*/?>
                    
20<?php if (!is_callable('smarty_modifier_escape')) include 'C:\D\prestashoplf\prestashop\tools\smarty\plugins\modifier.escape.php';
                    
21?>
                    
31<span><?php if ($_smarty_tpl->getVariable('category')->value->id==1||$_smarty_tpl->getVariable('nb_products')->value==0){?><?php echo smartyTranslate(array('s'=>'There are no products.'),$_smarty_tpl);?>
                    
32<?php }else{ ?><?php if ($_smarty_tpl->getVariable('nb_products')->value==1){?><?php echo smartyTranslate(array('s'=>'There is'),$_smarty_tpl);?>
                    
33<?php }else{ ?><?php echo smartyTranslate(array('s'=>'There are'),$_smarty_tpl);?>
                    
34<?php }?>&#160;<?php echo $_smarty_tpl->getVariable('nb_products')->value;?>
                    
35&#160;<?php if ($_smarty_tpl->getVariable('nb_products')->value==1){?><?php echo smartyTranslate(array('s'=>'product.'),$_smarty_tpl);?>
                    
36<?php }else{ ?><?php echo smartyTranslate(array('s'=>'products.'),$_smarty_tpl);?>
                    
36<?php }else{ ?><?php echo smartyTranslate(array('s'=>'products.'),$_smarty_tpl);?>
                    
37<?php }?><?php }?></span>
                    
38		</h1>
                    
67			<ul class="inline_list">
                    
68			<?php  $_smarty_tpl->tpl_vars['subcategory'] = new Smarty_Variable;
                    
69 $_from = $_smarty_tpl->getVariable('subcategories')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
                    
                
sfFillInForm.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 274 lines
                    
1<?php
                    
2
                    
17 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
                    
18 * @version    SVN: $Id: sfFillInForm.class.php 10270 2008-07-13 21:51:03Z Carl.Vondrick $
                    
19 * @deprecated Deprecated since symfony 1.1
                    
40
                    
41  public function setTypes($types)
                    
42  {
                    
                
xsElement.php git://github.com/sbarthelemy/collada-dom.git | PHP | 368 lines
                    
1<?php
                    
2/*
                    
5* Licensed under the MIT Open Source License, for details please see license.txt or the website
                    
6* http://www.opensource.org/licenses/mit-license.php
                    
7*
                    
9
                    
10require_once( 'src/ElementMeta.php' );
                    
11require_once( 'src/TypeMeta.php' );
                    
268	$e = $content->getElements();
                    
269    $generator->setType( $this->getAttribute( 'name' ) );
                    
270    //print $this->getAttribute( 'name' ) ." has a simpletype\n";
                    
                
domFx_samplerRECT_common.cpp git://github.com/sbarthelemy/collada-dom.git | C++ | 434 lines
                    
4* Licensed under the MIT Open Source License, for details please see license.txt or the website
                    
5* http://www.opensource.org/licenses/mit-license.php
                    
6*
                    
134		ma->setName( "_value" );
                    
135		ma->setType( dae.getAtomicTypes().get("xsNCName"));
                    
136		ma->setOffset( daeOffsetOf( domFx_samplerRECT_common::domSource , _value ));
                    
170		ma->setName( "_value" );
                    
171		ma->setType( dae.getAtomicTypes().get("Fx_sampler_wrap_common"));
                    
172		ma->setOffset( daeOffsetOf( domFx_samplerRECT_common::domWrap_s , _value ));
                    
206		ma->setName( "_value" );
                    
207		ma->setType( dae.getAtomicTypes().get("Fx_sampler_wrap_common"));
                    
208		ma->setOffset( daeOffsetOf( domFx_samplerRECT_common::domWrap_t , _value ));
                    
242		ma->setName( "_value" );
                    
243		ma->setType( dae.getAtomicTypes().get("Fx_sampler_filter_common"));
                    
244		ma->setOffset( daeOffsetOf( domFx_samplerRECT_common::domMinfilter , _value ));
                    
                
AtomLinkTest.php https://hg.codeplex.com/bukuphpjs | PHP | 279 lines
                    
1<?php
                    
2
                    
14 * 
                    
15 * PHP version 5
                    
16 *
                    
18 * @package   Tests\Unit\WindowsAzure\Common\Internal\Atom
                    
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
20 * @copyright 2012 Microsoft Corporation
                    
21 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
22 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
23 */
                    
32 * @package   Tests\Unit\WindowsAzure\Common\Internal\Atom
                    
33 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
34 * @copyright 2012 Microsoft Corporation
                    
36 * @version   Release: @package_version@
                    
37 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
38 */
                    
                
mbImgNav.js http://mbideasproject.googlecode.com/svn/trunk/ | JavaScript | 429 lines
                    
7 Licences: MIT, GPL
                    
8 http://www.opensource.org/licenses/mit-license.php
                    
9 http://www.gnu.org/licenses/gpl.html
                    
48      if ($.metadata){
                    
49        $.metadata.setType("class");
                    
50        $(images).each(function(){
                    
                
%%44^44E^44E69D4A%%ListWorkflows.tpl.php https://code.google.com/p/vtiger-ru-fork/ | PHP | 200 lines
                    
2         compiled from com_vtiger_workflow/ListWorkflows.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'vtiger_imageurl', 'com_vtiger_workflow/ListWorkflows.tpl', 18, false),array('modifier', 'getTranslatedString', 'com_vtiger_workflow/ListWorkflows.tpl', 41, false),array('modifier', 'to_html', 'com_vtiger_workflow/ListWorkflows.tpl', 122, false),)), $this); ?>
                    
56						<select name="module_name" id="module_list" class="small">
                    
57<?php $_from = $this->_tpl_vars['moduleNames']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
58    foreach ($_from as $this->_tpl_vars['moduleName']):
                    
60							<option value="<?php echo $this->_tpl_vars['moduleName']; ?>
                    
61" <?php if ($this->_tpl_vars['moduleName'] == $this->_tpl_vars['listModule']): ?>selected="selected"<?php endif; ?>>
                    
62								<?php echo getTranslatedString($this->_tpl_vars['moduleName'], $this->_tpl_vars['moduleName']); ?>
                    
122							<option value="All" disabled="disabled" >-----------------------------</a>
                    
123<?php $_from = $this->_tpl_vars['moduleNames']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
124    foreach ($_from as $this->_tpl_vars['moduleName']):
                    
126						<option value="<?php echo $this->_tpl_vars['moduleName']; ?>
                    
127" <?php if ($this->_tpl_vars['moduleName'] == $this->_tpl_vars['listModule']): ?>selected="selected"<?php endif; ?>>
                    
128							<?php echo getTranslatedString($this->_tpl_vars['moduleName'], $this->_tpl_vars['moduleName']); ?>
                    
                
Ajax.java http://gwtquery.googlecode.com/svn/trunk/ | Java | 421 lines
                    
61    Settings setTimeout(int t);
                    
62    Settings setType(String t);
                    
63    Settings setUrl(String u);
                    
88    Properties properties = $$("dataType: xml, type: post; data: {q: 'gwt'}, headers: {X-Powered-By: GQuery}");
                    
89    ajax("test.php", new Function() {
                    
90      public void f() {
                    
293    s.setDataType("txt");
                    
294    s.setType("get");
                    
295    s.setData(data);
                    
303    s.setDataType("json");
                    
304    s.setType("post");
                    
305    s.setData(data);
                    
313    s.setDataType("jsonp");
                    
314    s.setType("get");
                    
315    s.setData(data);
                    
                
NewsFeed.class.php http://energine.googlecode.com/svn/trunk/ | PHP | 285 lines
                    
1<?php
                    
2/**
                    
143        );
                    
144        $this->setType(self::COMPONENT_TYPE_FORM);
                    
145        $this->setDataDescription($this->createDataDescription());
                    
                
type.c git://github.com/vpj/PHP-Extension-API.git | C | 397 lines
                    
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   |
                    
90   Set the type of the variable */
                    
91PHP_FUNCTION(settype)
                    
92{
                    
212			if(Z_OBJ_HT_PP(arg)->get_class_entry == NULL) {
                    
213			/* if there's no get_class_entry it's not a PHP object, so it can't be INCOMPLETE_CLASS */
                    
214				RETURN_TRUE;
                    
236   Returns true if variable is null */
                    
237PHP_FUNCTION(is_null)
                    
238{
                    
331   Returns true if value is a scalar */
                    
332PHP_FUNCTION(is_scalar)
                    
333{
                    
                
Blogger.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 379 lines
                    
1<?php
                    
2/**
                    
30* To run the sample:
                    
31* php Blogger.php --user=email@email.com --pass=password
                    
32*/
                    
36 */
                    
37require_once 'Zend/Loader.php';
                    
38
                    
132        $entry->content = $this->gdClient->newContent(trim($content));
                    
133        $entry->content->setType('text');
                    
134        $uri = "http://www.blogger.com/feeds/" . $this->blogID . "/posts/default";
                    
232        $newComment->content = $this->gdClient->newContent($commentText);
                    
233        $newComment->content->setType('text');
                    
234        $createdComment = $this->gdClient->insertEntry($newComment, $uri);
                    
373{
                    
374    exit("php Blogger.php --user=[username] --pass=[password]\n");
                    
375}
                    
                
%%80^803^803667BC%%cms.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 79 lines
                    
2         compiled from C:%5CD%5Cprestashoplf%5Cprestashop/themes/ling/cms.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('function', 'l', 'C:\\D\\prestashoplf\\prestashop/themes/ling/cms.tpl', 7, false),array('modifier', 'escape', 'C:\\D\\prestashoplf\\prestashop/themes/ling/cms.tpl', 22, false),)), $this); ?>
                    
32	<?php endif; ?>
                    
33	<div class="rte<?php if ($this->_tpl_vars['content_only']): ?> content_only<?php endif; ?>">
                    
34		<?php echo $this->_tpl_vars['cms']->content; ?>
                    
40</h1>
                    
41		<?php if (isset ( $this->_tpl_vars['sub_category'] ) & ! empty ( $this->_tpl_vars['sub_category'] )): ?>	
                    
42			<h4><?php echo smartyTranslate(array('s' => 'List of sub categories in '), $this);?>
                    
46			<ul class="bullet">
                    
47				<?php $_from = $this->_tpl_vars['sub_category']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
48    foreach ($_from as $this->_tpl_vars['subcategory']):
                    
63			<ul class="bullet">
                    
64				<?php $_from = $this->_tpl_vars['cms_pages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
                    
65    foreach ($_from as $this->_tpl_vars['cmspages']):
                    
                
Blogger.php git://github.com/zendframework/zf2.git | PHP | 374 lines
                    
1<?php
                    
2/**
                    
30* To run the sample:
                    
31* php Blogger.php --user=email@email.com --pass=password
                    
32*/
                    
36 */
                    
37require_once 'Zend/Loader.php';
                    
38
                    
134        $entry->content = $this->gdClient->newContent(trim($content));
                    
135        $entry->content->setType('text');
                    
136        $uri = "http://www.blogger.com/feeds/" . $this->blogID . "/posts/default";
                    
231        $newComment->content = $this->gdClient->newContent($commentText);
                    
232        $newComment->content->setType('text');
                    
233        $createdComment = $this->gdClient->insertEntry($newComment, $uri);
                    
368if (($user == null) || ($pass == null)) {
                    
369    exit("php Blogger.php --user=[username] --pass=[password]\n");
                    
370}
                    
                
file.php https://bitbucket.org/chamilo/chamilo/ | PHP | 358 lines
                    
8 *
                    
9 * LICENSE: This source file is subject to version 3.01 of the PHP license
                    
10 * that is available through the world-wide-web at the following URI:
                    
10 * that is available through the world-wide-web at the following URI:
                    
11 * http://www.php.net/license/3_01.txt If you did not receive a copy of
                    
12 * the PHP License and are unable to obtain it through the web, please
                    
12 * the PHP License and are unable to obtain it through the web, please
                    
13 * send a note to license@php.net so we can mail you a copy immediately.
                    
14 *
                    
18 * @author      Bertrand Mansion <bmansion@mamasam.com>
                    
19 * @author      Alexey Borzov <avb@php.net>
                    
20 * @copyright   2001-2009 The PHP Group
                    
20 * @copyright   2001-2009 The PHP Group
                    
21 * @license     http://www.php.net/license/3_01.txt PHP License 3.01
                    
22 * @version     CVS: $Id: file.php 137 2009-11-09 13:24:37Z vanpouckesven $
                    
                
 

Source

Language