Version Notes
1.8.1.0
Download this release
Release Info
Developer | Magento Core Team |
Extension | Lib_Varien |
Version | 1.8.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.8.0.0 to 1.8.1.0
- lib/Varien/Data/Form/Element/Datetime.php +37 -0
- lib/Varien/Data/Form/Filter/Datetime.php +80 -0
- lib/Varien/Db/Adapter/Interface.php +19 -0
- lib/Varien/Db/Adapter/Pdo/Mysql.php +79 -3
- lib/Varien/Http/Adapter/Curl.php +5 -1
- lib/Varien/Io/File.php +92 -64
- lib/Varien/Object.php +3 -2
- package.xml +5 -5
lib/Varien/Data/Form/Element/Datetime.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category Varien
|
22 |
+
* @package Varien_Data
|
23 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Varien data selector form element
|
29 |
+
*
|
30 |
+
* @category Varien
|
31 |
+
* @package Varien_Data
|
32 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
33 |
+
*/
|
34 |
+
class Varien_Data_Form_Element_Datetime extends Varien_Data_Form_Element_Date
|
35 |
+
{
|
36 |
+
|
37 |
+
}
|
lib/Varien/Data/Form/Filter/Datetime.php
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category Varien
|
22 |
+
* @package Varien_Data
|
23 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Form Input/Output Strip HTML tags Filter
|
30 |
+
*
|
31 |
+
* @category Varien
|
32 |
+
* @package Varien_Data
|
33 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
34 |
+
*/
|
35 |
+
class Varien_Data_Form_Filter_Datetime extends Varien_Data_Form_Filter_Date
|
36 |
+
{
|
37 |
+
/**
|
38 |
+
* Returns the result of filtering $value
|
39 |
+
*
|
40 |
+
* @param string $value
|
41 |
+
* @return string
|
42 |
+
*/
|
43 |
+
public function inputFilter($value)
|
44 |
+
{
|
45 |
+
$filterInput = new Zend_Filter_LocalizedToNormalized(array(
|
46 |
+
'date_format' => $this->_dateFormat,
|
47 |
+
'locale' => $this->_locale
|
48 |
+
));
|
49 |
+
$filterInternal = new Zend_Filter_NormalizedToLocalized(array(
|
50 |
+
'date_format' => Varien_Date::DATETIME_INTERNAL_FORMAT,
|
51 |
+
'locale' => $this->_locale
|
52 |
+
));
|
53 |
+
|
54 |
+
$value = $filterInput->filter($value);
|
55 |
+
$value = $filterInternal->filter($value);
|
56 |
+
return $value;
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Returns the result of filtering $value
|
61 |
+
*
|
62 |
+
* @param string $value
|
63 |
+
* @return string
|
64 |
+
*/
|
65 |
+
public function outputFilter($value)
|
66 |
+
{
|
67 |
+
$filterInput = new Zend_Filter_LocalizedToNormalized(array(
|
68 |
+
'date_format' => Varien_Date::DATETIME_INTERNAL_FORMAT,
|
69 |
+
'locale' => $this->_locale
|
70 |
+
));
|
71 |
+
$filterInternal = new Zend_Filter_NormalizedToLocalized(array(
|
72 |
+
'date_format' => $this->_dateFormat,
|
73 |
+
'locale' => $this->_locale
|
74 |
+
));
|
75 |
+
|
76 |
+
$value = $filterInput->filter($value);
|
77 |
+
$value = $filterInternal->filter($value);
|
78 |
+
return $value;
|
79 |
+
}
|
80 |
+
}
|
lib/Varien/Db/Adapter/Interface.php
CHANGED
@@ -455,6 +455,15 @@ interface Varien_Db_Adapter_Interface
|
|
455 |
*/
|
456 |
public function update($table, array $bind, $where = '');
|
457 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
458 |
/**
|
459 |
* Deletes table rows based on a WHERE clause.
|
460 |
*
|
@@ -1085,6 +1094,16 @@ interface Varien_Db_Adapter_Interface
|
|
1085 |
*/
|
1086 |
public function fromUnixtime($timestamp);
|
1087 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1088 |
/**
|
1089 |
* Create new table from provided select statement
|
1090 |
*
|
455 |
*/
|
456 |
public function update($table, array $bind, $where = '');
|
457 |
|
458 |
+
/**
|
459 |
+
* Inserts a table row with specified data.
|
460 |
+
*
|
461 |
+
* @param mixed $table The table to insert data into.
|
462 |
+
* @param array $bind Column-value pairs.
|
463 |
+
* @return int The number of affected rows.
|
464 |
+
*/
|
465 |
+
public function insertIgnore($table, array $bind);
|
466 |
+
|
467 |
/**
|
468 |
* Deletes table rows based on a WHERE clause.
|
469 |
*
|
1094 |
*/
|
1095 |
public function fromUnixtime($timestamp);
|
1096 |
|
1097 |
+
/**
|
1098 |
+
* Change table auto increment value
|
1099 |
+
*
|
1100 |
+
* @param string $tableName
|
1101 |
+
* @param string $increment
|
1102 |
+
* @param null|string $schemaName
|
1103 |
+
* @return Zend_Db_Statement_Interface
|
1104 |
+
*/
|
1105 |
+
public function changeTableAutoIncrement($tableName, $increment, $schemaName = null);
|
1106 |
+
|
1107 |
/**
|
1108 |
* Create new table from provided select statement
|
1109 |
*
|
lib/Varien/Db/Adapter/Pdo/Mysql.php
CHANGED
@@ -1834,6 +1834,21 @@ class Varien_Db_Adapter_Pdo_Mysql extends Zend_Db_Adapter_Pdo_Mysql implements V
|
|
1834 |
return $this->raw_query($sql);
|
1835 |
}
|
1836 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1837 |
/**
|
1838 |
* Inserts a table row with specified data
|
1839 |
* Special for Zero values to identity column
|
@@ -1903,7 +1918,7 @@ class Varien_Db_Adapter_Pdo_Mysql extends Zend_Db_Adapter_Pdo_Mysql implements V
|
|
1903 |
}
|
1904 |
} elseif (is_string($v)) {
|
1905 |
$value = sprintf('VALUES(%s)', $this->quoteIdentifier($v));
|
1906 |
-
$field = $v;
|
1907 |
}
|
1908 |
|
1909 |
if ($field && $value) {
|
@@ -1986,6 +2001,60 @@ class Varien_Db_Adapter_Pdo_Mysql extends Zend_Db_Adapter_Pdo_Mysql implements V
|
|
1986 |
return $result;
|
1987 |
}
|
1988 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1989 |
/**
|
1990 |
* Set cache adapter
|
1991 |
*
|
@@ -2359,13 +2428,20 @@ class Varien_Db_Adapter_Pdo_Mysql extends Zend_Db_Adapter_Pdo_Mysql implements V
|
|
2359 |
$comment = $options['COMMENT'];
|
2360 |
}
|
2361 |
|
2362 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2363 |
$cType,
|
2364 |
$cUnsigned ? ' UNSIGNED' : '',
|
2365 |
$cNullable ? ' NULL' : ' NOT NULL',
|
2366 |
$cDefault !== false ? $this->quoteInto(' default ?', $cDefault) : '',
|
2367 |
$cIdentity ? ' auto_increment' : '',
|
2368 |
-
$this->quote($comment)
|
|
|
2369 |
);
|
2370 |
}
|
2371 |
|
1834 |
return $this->raw_query($sql);
|
1835 |
}
|
1836 |
|
1837 |
+
/**
|
1838 |
+
* Change table auto increment value
|
1839 |
+
*
|
1840 |
+
* @param string $tableName
|
1841 |
+
* @param string $increment
|
1842 |
+
* @param null|string $schemaName
|
1843 |
+
* @return Zend_Db_Statement_Interface
|
1844 |
+
*/
|
1845 |
+
public function changeTableAutoIncrement($tableName, $increment, $schemaName = null)
|
1846 |
+
{
|
1847 |
+
$table = $this->quoteIdentifier($this->_getTableName($tableName, $schemaName));
|
1848 |
+
$sql = sprintf('ALTER TABLE %s AUTO_INCREMENT=%d', $table, $increment);
|
1849 |
+
return $this->raw_query($sql);
|
1850 |
+
}
|
1851 |
+
|
1852 |
/**
|
1853 |
* Inserts a table row with specified data
|
1854 |
* Special for Zero values to identity column
|
1918 |
}
|
1919 |
} elseif (is_string($v)) {
|
1920 |
$value = sprintf('VALUES(%s)', $this->quoteIdentifier($v));
|
1921 |
+
$field = $this->quoteIdentifier($v);
|
1922 |
}
|
1923 |
|
1924 |
if ($field && $value) {
|
2001 |
return $result;
|
2002 |
}
|
2003 |
|
2004 |
+
/**
|
2005 |
+
* Inserts a table row with specified data.
|
2006 |
+
*
|
2007 |
+
* @param mixed $table The table to insert data into.
|
2008 |
+
* @param array $bind Column-value pairs.
|
2009 |
+
* @return int The number of affected rows.
|
2010 |
+
* @throws Zend_Db_Adapter_Exception
|
2011 |
+
*/
|
2012 |
+
public function insertIgnore($table, array $bind)
|
2013 |
+
{
|
2014 |
+
// extract and quote col names from the array keys
|
2015 |
+
$cols = array();
|
2016 |
+
$vals = array();
|
2017 |
+
$i = 0;
|
2018 |
+
foreach ($bind as $col => $val) {
|
2019 |
+
$cols[] = $this->quoteIdentifier($col, true);
|
2020 |
+
if ($val instanceof Zend_Db_Expr) {
|
2021 |
+
$vals[] = $val->__toString();
|
2022 |
+
unset($bind[$col]);
|
2023 |
+
} else {
|
2024 |
+
if ($this->supportsParameters('positional')) {
|
2025 |
+
$vals[] = '?';
|
2026 |
+
} else {
|
2027 |
+
if ($this->supportsParameters('named')) {
|
2028 |
+
unset($bind[$col]);
|
2029 |
+
$bind[':col'.$i] = $val;
|
2030 |
+
$vals[] = ':col'.$i;
|
2031 |
+
$i++;
|
2032 |
+
} else {
|
2033 |
+
/** @see Zend_Db_Adapter_Exception */
|
2034 |
+
#require_once 'Zend/Db/Adapter/Exception.php';
|
2035 |
+
throw new Zend_Db_Adapter_Exception(
|
2036 |
+
get_class($this) ." doesn't support positional or named binding"
|
2037 |
+
);
|
2038 |
+
}
|
2039 |
+
}
|
2040 |
+
}
|
2041 |
+
}
|
2042 |
+
|
2043 |
+
// build the statement
|
2044 |
+
$sql = "INSERT IGNORE INTO "
|
2045 |
+
. $this->quoteIdentifier($table, true)
|
2046 |
+
. ' (' . implode(', ', $cols) . ') '
|
2047 |
+
. 'VALUES (' . implode(', ', $vals) . ')';
|
2048 |
+
|
2049 |
+
// execute the statement and return the number of affected rows
|
2050 |
+
if ($this->supportsParameters('positional')) {
|
2051 |
+
$bind = array_values($bind);
|
2052 |
+
}
|
2053 |
+
$stmt = $this->query($sql, $bind);
|
2054 |
+
$result = $stmt->rowCount();
|
2055 |
+
return $result;
|
2056 |
+
}
|
2057 |
+
|
2058 |
/**
|
2059 |
* Set cache adapter
|
2060 |
*
|
2428 |
$comment = $options['COMMENT'];
|
2429 |
}
|
2430 |
|
2431 |
+
//set column position
|
2432 |
+
$after = null;
|
2433 |
+
if (!empty($options['AFTER'])) {
|
2434 |
+
$after = $options['AFTER'];
|
2435 |
+
}
|
2436 |
+
|
2437 |
+
return sprintf('%s%s%s%s%s COMMENT %s %s',
|
2438 |
$cType,
|
2439 |
$cUnsigned ? ' UNSIGNED' : '',
|
2440 |
$cNullable ? ' NULL' : ' NOT NULL',
|
2441 |
$cDefault !== false ? $this->quoteInto(' default ?', $cDefault) : '',
|
2442 |
$cIdentity ? ' auto_increment' : '',
|
2443 |
+
$this->quote($comment),
|
2444 |
+
$after ? 'AFTER ' . $this->quoteIdentifier($after) : ''
|
2445 |
);
|
2446 |
}
|
2447 |
|
lib/Varien/Http/Adapter/Curl.php
CHANGED
@@ -199,11 +199,15 @@ class Varien_Http_Adapter_Curl implements Zend_Http_Client_Adapter_Interface
|
|
199 |
$response = curl_exec($this->_getResource());
|
200 |
|
201 |
// Remove 100 and 101 responses headers
|
202 |
-
|
203 |
$response = preg_split('/^\r?$/m', $response, 2);
|
204 |
$response = trim($response[1]);
|
205 |
}
|
206 |
|
|
|
|
|
|
|
|
|
207 |
return $response;
|
208 |
}
|
209 |
|
199 |
$response = curl_exec($this->_getResource());
|
200 |
|
201 |
// Remove 100 and 101 responses headers
|
202 |
+
while (Zend_Http_Response::extractCode($response) == 100 || Zend_Http_Response::extractCode($response) == 101) {
|
203 |
$response = preg_split('/^\r?$/m', $response, 2);
|
204 |
$response = trim($response[1]);
|
205 |
}
|
206 |
|
207 |
+
if (stripos($response, "Transfer-Encoding: chunked\r\n")) {
|
208 |
+
$response = str_ireplace("Transfer-Encoding: chunked\r\n", '', $response);
|
209 |
+
}
|
210 |
+
|
211 |
return $response;
|
212 |
}
|
213 |
|
lib/Varien/Io/File.php
CHANGED
@@ -289,12 +289,8 @@ class Varien_Io_File extends Varien_Io_Abstract
|
|
289 |
*/
|
290 |
public function open(array $args=array())
|
291 |
{
|
292 |
-
if (!empty($args['path'])) {
|
293 |
-
|
294 |
-
if($this->_allowCreateFolders ) {
|
295 |
-
$this->_createDestinationFolder($args['path']);
|
296 |
-
}
|
297 |
-
}
|
298 |
}
|
299 |
|
300 |
$this->_iwd = getcwd();
|
@@ -450,40 +446,106 @@ class Varien_Io_File extends Varien_Io_Abstract
|
|
450 |
*
|
451 |
* @param string $filename
|
452 |
* @param string|resource $src
|
|
|
|
|
453 |
* @return int|boolean
|
454 |
*/
|
455 |
public function write($filename, $src, $mode=null)
|
456 |
{
|
457 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
458 |
$src = realpath($src);
|
459 |
-
$
|
460 |
-
} elseif (is_string($src) || is_resource($src)) {
|
461 |
-
$srcIsFile = false;
|
462 |
} else {
|
463 |
-
|
464 |
}
|
465 |
-
@chdir($this->_cwd);
|
466 |
|
467 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
if (!is_writeable($filename)) {
|
469 |
-
|
470 |
-
return false;
|
471 |
}
|
472 |
} else {
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
}
|
477 |
}
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
}
|
483 |
-
|
484 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
485 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
486 |
chdir($this->_iwd);
|
|
|
487 |
return $result;
|
488 |
}
|
489 |
|
@@ -526,7 +588,7 @@ class Varien_Io_File extends Varien_Io_Abstract
|
|
526 |
if (!$this->_allowCreateFolders) {
|
527 |
return false;
|
528 |
}
|
529 |
-
return $this->
|
530 |
}
|
531 |
|
532 |
/**
|
@@ -534,6 +596,7 @@ class Varien_Io_File extends Varien_Io_Abstract
|
|
534 |
*
|
535 |
* @param string $folder
|
536 |
* @param int $mode
|
|
|
537 |
* @return bool
|
538 |
*/
|
539 |
public function checkAndCreateFolder($folder, $mode = 0777)
|
@@ -550,44 +613,6 @@ class Varien_Io_File extends Varien_Io_Abstract
|
|
550 |
return true;
|
551 |
}
|
552 |
|
553 |
-
private function _createDestinationFolder($destinationFolder)
|
554 |
-
{
|
555 |
-
return $this->checkAndCreateFolder($destinationFolder);
|
556 |
-
|
557 |
-
if( !$destinationFolder ) {
|
558 |
-
return $this;
|
559 |
-
}
|
560 |
-
if (!(@is_dir($destinationFolder) || $this->mkdir($destinationFolder, 0777, true))) {
|
561 |
-
throw new Exception("Unable to create directory '{$destinationFolder}'.");
|
562 |
-
}
|
563 |
-
|
564 |
-
$destinationFolder = str_replace('/', DIRECTORY_SEPARATOR, $destinationFolder);
|
565 |
-
$path = explode(DIRECTORY_SEPARATOR, $destinationFolder);
|
566 |
-
$newPath = null;
|
567 |
-
$oldPath = null;
|
568 |
-
foreach( $path as $key => $directory ) {
|
569 |
-
if (trim($directory)=='') {
|
570 |
-
continue;
|
571 |
-
}
|
572 |
-
if (strlen($directory)===2 && $directory{1}===':') {
|
573 |
-
$newPath = $directory;
|
574 |
-
continue;
|
575 |
-
}
|
576 |
-
$newPath.= ( $newPath != DIRECTORY_SEPARATOR ) ? DIRECTORY_SEPARATOR . $directory : $directory;
|
577 |
-
if( is_dir($newPath) ) {
|
578 |
-
$oldPath = $newPath;
|
579 |
-
continue;
|
580 |
-
} else {
|
581 |
-
if( is_writable($oldPath) ) {
|
582 |
-
$this->mkdir($newPath, 0777);
|
583 |
-
} else {
|
584 |
-
throw new Exception("Unable to create directory '{$newPath}'. Access forbidden.");
|
585 |
-
}
|
586 |
-
}
|
587 |
-
$oldPath = $newPath;
|
588 |
-
}
|
589 |
-
return $this;
|
590 |
-
}
|
591 |
/**
|
592 |
* Delete a file
|
593 |
*
|
@@ -702,7 +727,10 @@ class Varien_Io_File extends Varien_Io_Abstract
|
|
702 |
$pathinfo = pathinfo($fullpath);
|
703 |
$list_item['size'] = filesize($fullpath);
|
704 |
$list_item['leaf'] = true;
|
705 |
-
if( isset($pathinfo['extension'])
|
|
|
|
|
|
|
706 |
$list_item['is_image'] = true;
|
707 |
$list_item['filetype'] = $pathinfo['extension'];
|
708 |
} elseif( $list_item['size'] == 0 ) {
|
289 |
*/
|
290 |
public function open(array $args=array())
|
291 |
{
|
292 |
+
if (!empty($args['path']) && $this->_allowCreateFolders) {
|
293 |
+
$this->checkAndCreateFolder($args['path']);
|
|
|
|
|
|
|
|
|
294 |
}
|
295 |
|
296 |
$this->_iwd = getcwd();
|
446 |
*
|
447 |
* @param string $filename
|
448 |
* @param string|resource $src
|
449 |
+
* @param int $mode
|
450 |
+
*
|
451 |
* @return int|boolean
|
452 |
*/
|
453 |
public function write($filename, $src, $mode=null)
|
454 |
{
|
455 |
+
if (!$this->_IsValidSource($src) || !$this->_isFilenameWriteable($filename)) {
|
456 |
+
return false;
|
457 |
+
}
|
458 |
+
|
459 |
+
$srcIsFile = $this->_checkSrcIsFile($src);
|
460 |
+
if ($srcIsFile) {
|
461 |
$src = realpath($src);
|
462 |
+
$result = $this->cp($src, $filename);
|
|
|
|
|
463 |
} else {
|
464 |
+
$result = $this->filePutContent($filename, $src);
|
465 |
}
|
|
|
466 |
|
467 |
+
if (!is_null($mode) && $result !== false) {
|
468 |
+
$this->chmod($filename, $mode);
|
469 |
+
}
|
470 |
+
|
471 |
+
return $result;
|
472 |
+
}
|
473 |
+
|
474 |
+
/**
|
475 |
+
* Check source is valid
|
476 |
+
*
|
477 |
+
* @param string|resource $src
|
478 |
+
* @return bool
|
479 |
+
*/
|
480 |
+
protected function _IsValidSource($src)
|
481 |
+
{
|
482 |
+
if (is_string($src) || is_resource($src)) {
|
483 |
+
return true;
|
484 |
+
}
|
485 |
+
|
486 |
+
return false;
|
487 |
+
}
|
488 |
+
|
489 |
+
/**
|
490 |
+
* Check filename is writeable
|
491 |
+
* If filename not exist check dirname writeable
|
492 |
+
*
|
493 |
+
* @param string $filename
|
494 |
+
* @throws Varien_Io_Exception
|
495 |
+
* @return bool
|
496 |
+
*/
|
497 |
+
protected function _isFilenameWriteable($filename)
|
498 |
+
{
|
499 |
+
$error = false;
|
500 |
+
@chdir($this->_cwd);
|
501 |
+
if (file_exists($filename)) {
|
502 |
if (!is_writeable($filename)) {
|
503 |
+
$error = "File '{$filename}' isn't writeable";
|
|
|
504 |
}
|
505 |
} else {
|
506 |
+
$folder = dirname($filename);
|
507 |
+
if (!is_writable($folder)) {
|
508 |
+
$error = "Folder '{$folder}' isn't writeable";
|
509 |
}
|
510 |
}
|
511 |
+
@chdir($this->_iwd);
|
512 |
+
|
513 |
+
if ($error) {
|
514 |
+
throw new Varien_Io_Exception($error);
|
515 |
}
|
516 |
+
return true;
|
517 |
+
}
|
518 |
+
|
519 |
+
/**
|
520 |
+
* Check source is file
|
521 |
+
*
|
522 |
+
* @param string $src
|
523 |
+
* @return bool
|
524 |
+
*/
|
525 |
+
protected function _checkSrcIsFile($src)
|
526 |
+
{
|
527 |
+
$result = false;
|
528 |
+
if (is_string($src) && is_readable($src) && is_file($src)) {
|
529 |
+
$result = true;
|
530 |
}
|
531 |
+
|
532 |
+
return $result;
|
533 |
+
}
|
534 |
+
|
535 |
+
/**
|
536 |
+
* File put content wrapper
|
537 |
+
*
|
538 |
+
* @param string $filename
|
539 |
+
* @param srting|resource $src
|
540 |
+
*
|
541 |
+
* @return int
|
542 |
+
*/
|
543 |
+
public function filePutContent($filename, $src)
|
544 |
+
{
|
545 |
+
@chdir($this->_cwd);
|
546 |
+
$result = @file_put_contents($filename, $src);
|
547 |
chdir($this->_iwd);
|
548 |
+
|
549 |
return $result;
|
550 |
}
|
551 |
|
588 |
if (!$this->_allowCreateFolders) {
|
589 |
return false;
|
590 |
}
|
591 |
+
return $this->checkAndCreateFolder($this->getCleanPath($path));
|
592 |
}
|
593 |
|
594 |
/**
|
596 |
*
|
597 |
* @param string $folder
|
598 |
* @param int $mode
|
599 |
+
* @throws Exception
|
600 |
* @return bool
|
601 |
*/
|
602 |
public function checkAndCreateFolder($folder, $mode = 0777)
|
613 |
return true;
|
614 |
}
|
615 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
616 |
/**
|
617 |
* Delete a file
|
618 |
*
|
727 |
$pathinfo = pathinfo($fullpath);
|
728 |
$list_item['size'] = filesize($fullpath);
|
729 |
$list_item['leaf'] = true;
|
730 |
+
if( isset($pathinfo['extension'])
|
731 |
+
&& in_array(strtolower($pathinfo['extension']), Array('jpg', 'jpeg', 'gif', 'bmp', 'png'))
|
732 |
+
&& $list_item['size'] > 0
|
733 |
+
) {
|
734 |
$list_item['is_image'] = true;
|
735 |
$list_item['filetype'] = $pathinfo['extension'];
|
736 |
} elseif( $list_item['size'] == 0 ) {
|
lib/Varien/Object.php
CHANGED
@@ -310,7 +310,7 @@ class Varien_Object implements ArrayAccess
|
|
310 |
public function unsetOldData($key=null)
|
311 |
{
|
312 |
if (is_null($key)) {
|
313 |
-
foreach ($this->
|
314 |
unset($this->_data[$key]);
|
315 |
}
|
316 |
} else {
|
@@ -380,7 +380,8 @@ class Varien_Object implements ArrayAccess
|
|
380 |
return null;
|
381 |
} elseif (is_string($value)) {
|
382 |
$arr = explode("\n", $value);
|
383 |
-
return (isset($arr[$index]) && (!empty($arr[$index]) || strlen($arr[$index]) > 0))
|
|
|
384 |
} elseif ($value instanceof Varien_Object) {
|
385 |
return $value->getData($index);
|
386 |
}
|
310 |
public function unsetOldData($key=null)
|
311 |
{
|
312 |
if (is_null($key)) {
|
313 |
+
foreach ($this->_oldFieldsMap as $key => $newFieldName) {
|
314 |
unset($this->_data[$key]);
|
315 |
}
|
316 |
} else {
|
380 |
return null;
|
381 |
} elseif (is_string($value)) {
|
382 |
$arr = explode("\n", $value);
|
383 |
+
return (isset($arr[$index]) && (!empty($arr[$index]) || strlen($arr[$index]) > 0))
|
384 |
+
? $arr[$index] : null;
|
385 |
} elseif ($value instanceof Varien_Object) {
|
386 |
return $value->getData($index);
|
387 |
}
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Lib_Varien</name>
|
4 |
-
<version>1.8.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Varien Library</summary>
|
10 |
<description>Varien Library</description>
|
11 |
-
<notes>1.8.
|
12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
-
<date>2013-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelib"><dir name="Varien"><file name="Autoload.php" hash="96a0c175e6a98562f058f9a02c167bbb"/><dir name="Cache"><dir name="Backend"><file name="Database.php" hash="09535993a910ade50a2cd763da0f6d9e"/><file name="Eaccelerator.php" hash="00bc01db2c4457fdad760835992ae2dc"/><file name="Memcached.php" hash="8e542eb6c54f6764dd41fff4488c5ae2"/></dir><file name="Core.php" hash="d571f5f03d00925708328a6e6d42f58f"/></dir><dir name="Convert"><dir name="Action"><file name="Abstract.php" hash="2a6bb67a679a6e20cbe9478e80be582f"/><file name="Interface.php" hash="fe9129227525ffc1f862c6f1f85e83f1"/></dir><file name="Action.php" hash="ee3a0baf50c1bb0f1c0b67721f1965e6"/><dir name="Adapter"><file name="Abstract.php" hash="0c53dc267b75e595518365ab8f1d8ab4"/><dir name="Db"><file name="Table.php" hash="d6b8a1bfe2de4ed908ca0367fb226d2c"/></dir><dir name="Http"><file name="Curl.php" hash="76e12f13e1eb48eb3e8c36cea9a6ece3"/></dir><file name="Http.php" hash="afb44986f4d6ba1cf84819bbb31004b2"/><file name="Interface.php" hash="2c4834f37eede972be48c8b3a2857661"/><file name="Io.php" hash="a9ceb53b810de3e183b439ba1bb1ba57"/><file name="Soap.php" hash="4b67a9ea45b12dfffabd26d2cb8942f2"/><file name="Std.php" hash="225b4e11d9ffcd1db8f99d54dc749687"/><dir name="Zend"><file name="Cache.php" hash="845fcb65276b05714b8d231c6b30f651"/><file name="Db.php" hash="794cb6226590ff7d2a7d1fbce26fcc05"/></dir></dir><dir name="Container"><file name="Abstract.php" hash="8f836665d0dec3c7cc7d93714e9c99b4"/><file name="Collection.php" hash="b1ef8a70ea806deb351b5413d6cfacef"/><file name="Generic.php" hash="bef8559c7a10ecf3ebb3f147795a2597"/><file name="Interface.php" hash="870470de0ec947f1039aa415d37d0f82"/></dir><file name="Exception.php" hash="58c9437dd946d5251234f55de3648d3f"/><dir name="Mapper"><file name="Abstract.php" hash="e1d9d87a1270ad6a499549dd87f9ac62"/><file name="Column.php" hash="7f74158a73fd8fa83052625ef07b1749"/><file name="Interface.php" hash="d8a8b98cece9ae38302914bbc910c094"/></dir><dir name="Parser"><file name="Abstract.php" hash="3559203bdcdb019daddd9ed558f596a7"/><file name="Csv.php" hash="f68d8dc8c0695296cc32b1ca716a8276"/><file name="Interface.php" hash="016ab96988f7ae02d2e84ed4878513ca"/><file name="Serialize.php" hash="52a93cacd5f3d3e0267bbffc74d7d715"/><dir name="Xml"><file name="Excel.php" hash="1edf1b7b7071c45baada29670ea656b8"/></dir></dir><dir name="Profile"><file name="Abstract.php" hash="c038c0b7a209c7a189beb6aa21df617b"/><file name="Collection.php" hash="2ff1f76cafa7e36826063069efdba8ad"/></dir><file name="Profile.php" hash="9b63f8909ed29bf5a3c729bc5934cb9c"/><dir name="Validator"><file name="Abstract.php" hash="3fdf8a0fcd2366563e330c30456f19b9"/><file name="Column.php" hash="da9bb1ffa8d6026a6d26365da4cec289"/><file name="Dryrun.php" hash="70f63aa2f6146c67658dc7bfd04ddf02"/><file name="Interface.php" hash="59c7a5d323e0a3bb6928754f3f4393ad"/></dir></dir><file name="Convert.php" hash="441a61c66ee524a024c7ffe8b7c7c3c2"/><dir name="Crypt"><file name="Abstract.php" hash="73980e75bef5f58855ea924c3693522d"/><file name="Mcrypt.php" hash="3c62cbb2f8e763e0da985b7bc054c5c3"/></dir><file name="Crypt.php" hash="cb28cabbc8a02fd86705bc0b52d7204b"/><dir name="Data"><dir name="Collection"><file name="Db.php" hash="7a4be602c7a6acf3ac5dcfb26f83e50f"/><file name="Filesystem.php" hash="8c2e8522e1782dbea4d52f44566cd02a"/></dir><file name="Collection.php" hash="e55f81c3fdf4b39d05bbbce7573e0de8"/><dir name="Form"><file name="Abstract.php" hash="4978be2832783e6ab2f7c4e291bbf4d5"/><dir name="Element"><file name="Abstract.php" hash="a8982e3215fc63a5cb40a4e964f6d3ea"/><file name="Button.php" hash="98c64b5da29dff22cfae938caa5833c8"/><file name="Checkboxes.php" hash="fdc32833161b60139e9859f387bce6c7"/><file name="Checkbox.php" hash="7992114fdc4aefafceebac2a08c1a434"/><file name="Collection.php" hash="cade28ccfd09e8b55394bf3a7d595d70"/><file name="Column.php" hash="b6d1d32aca981ae0fd1c6a83fc655c9a"/><file name="Date.php" hash="3f5c8628e329cbc87c33c7e622a3b946"/><file name="Editor.php" hash="13d5c80395365db6c47c0c004967c4bf"/><file name="Fieldset.php" hash="f78031a222ad4263826adf2f35622c72"/><file name="File.php" hash="463e8c8e106fe2018fdbf117e330423e"/><file name="Gallery.php" hash="6cb83ebc8efae252978fbd22c001642b"/><file name="Hidden.php" hash="ae6275e5d3b7df411bfda4fb4f995a8c"/><file name="Imagefile.php" hash="2d6ed40fef1c2927ab22dea7d29336db"/><file name="Image.php" hash="c4d7be9bf6b1b19590d44bf9837eb748"/><file name="Label.php" hash="ced6668e926c5cd10e5dfc93e1764070"/><file name="Link.php" hash="fb213bbbce4e46ea03a96923defbfbb3"/><file name="Multiline.php" hash="087bd60ff98b4b9c094b9adec040f166"/><file name="Multiselect.php" hash="9e0d04674a743602438fd4190040944c"/><file name="Note.php" hash="f5b71ebcf5a2b774393d9f4d1581dc35"/><file name="Obscure.php" hash="b61a077fbdea1b93be0aafc2f2c2f391"/><file name="Password.php" hash="a15263e7b0fabe8bd6abf8487f43efcb"/><file name="Radio.php" hash="4b32afab119091759d93ec99fb2fd53b"/><file name="Radios.php" hash="9004386a01f6c2b09435f39bf9b5bb36"/><dir name="Renderer"><file name="Interface.php" hash="61baa8c8755a9a7e8eaac5786ae38f42"/></dir><file name="Reset.php" hash="51bc11836e12bd64390476e3ff393c13"/><file name="Select.php" hash="4402f264e6e2cae5fbad26bc44aa21fe"/><file name="Submit.php" hash="5b9e9e3db9bc70757030312b7d002b7e"/><file name="Textarea.php" hash="b88d00399b8f6846d56055c9416dd0bb"/><file name="Text.php" hash="2e798cfd096ac0a87f9d9055000af3c3"/><file name="Time.php" hash="f35d8d1dc0a90dd6f044f17c22d8dc4a"/></dir><dir name="Filter"><file name="Date.php" hash="80eee9775448a21a5332f3e5cb7edcc9"/><file name="Escapehtml.php" hash="0c02fdfbae30158aa14f45b937332249"/><file name="Interface.php" hash="4542e15af14cc92d7bf5a863d4bf5ddd"/><file name="Striptags.php" hash="2c4cd0905e4e3b99ba373ffeb9ab7d38"/></dir></dir><file name="Form.php" hash="407eee6f100c7befa18ca586b3c3ae04"/><dir name="Tree"><file name="Db.php" hash="d06e9a49ddb1ea94892f4f10e1b3fea1"/><file name="Dbp.php" hash="4bd7f5b9047870f125459dbf523f73a2"/><dir name="Node"><file name="Collection.php" hash="941c88db98d69ec170674380fe3413d5"/></dir><file name="Node.php" hash="e985629bbea05cd0e52d7ac82fc2ee27"/></dir><file name="Tree.php" hash="e39d73757e0535493badc5bea8459834"/></dir><file name="Date.php" hash="7830b6da8a6a54b5ef8d17b7f0d248f0"/><dir name="Db"><dir name="Adapter"><file name="Interface.php" hash="17af4b595d92f534eb7097f5a5fbff0a"/><file name="Mysqli.php" hash="4e6e03a6ddf127f58ab0326c4cfe9956"/><dir name="Pdo"><file name="Mysql.php" hash="97a9f11bd2c3591a93ef2d2bd0f0ed55"/></dir></dir><dir name="Ddl"><file name="Table.php" hash="2567ce531a4c978e5fff70b84f69f5ad"/></dir><file name="Exception.php" hash="93966b32e96f793f031244716ff37eed"/><file name="Helper.php" hash="eee52d2574360dabe7a5e830bc0a67b8"/><file name="Select.php" hash="62250da9eb320e684a4c121c3a40d473"/><dir name="Statement"><file name="Parameter.php" hash="8d688f64d6780d18e517921ea5eb9ccb"/><dir name="Pdo"><file name="Mysql.php" hash="e82abad90774a126efb8bd27bc0f43f7"/></dir></dir><dir name="Tree"><file name="Exception.php" hash="6a00d12bbed94d648a974d213a816a4b"/><dir name="Node"><file name="Exception.php" hash="f890d0fc36e89aefd7cf04ae6c10a88e"/></dir><file name="Node.php" hash="6b048bbe2b2c46e405ffae8bca23e579"/><dir name="NodeSet"><file name="Exception.php" hash="2caa6a4b09846fe3b941563aa55d3c5f"/></dir><file name="NodeSet.php" hash="5e589b0c1221caf2693fe6f7d07e1ad3"/></dir><file name="Tree.php" hash="c7cc99ac052aa5d1ac721619d47506e6"/></dir><file name="Debug.php" hash="ec721f169e5a16524a17abba094d651d"/><dir name="Directory"><file name="a.txt" hash="026e450c46ac92ea375302955a4f42fb"/><file name="Collection.php" hash="59faf0b57bc10bdf3daade69b51fd142"/><file name="Factory.php" hash="112fda936935de43f45bf0e1b1ebfd23"/><file name="IFactory.php" hash="bb7a2578774f58922f7d5b3a90c34e3e"/></dir><dir name="Event"><file name="Collection.php" hash="cb422c6c7abb160fa3d7d54669bf2b2e"/><dir name="Observer"><file name="Collection.php" hash="b9c7d52c9563a19d15723bbc4a85fac6"/><file name="Cron.php" hash="0e04e63cf24f5cce3031f5896c439b68"/><file name="Regex.php" hash="f97f5a4435d560e073d725681cb15264"/></dir><file name="Observer.php" hash="eff7b66ce01d3f8fc4c00d974a2d5440"/></dir><file name="Event.php" hash="1836bb96f191e616d59178f17e407277"/><file name="Exception.php" hash="6beb1561720cc6c7a894a955ff2251b7"/><dir name="File"><file name="CsvMulty.php" hash="af4518063d4d9f03cfbfca832c1b9d76"/><file name="Csv.php" hash="5736e17051a3e778c59b99ed669caee5"/><file name="Object.php" hash="86116483e252e66c516208e43b3bb920"/><dir name="Transfer"><dir name="Adapter"><file name="Http.php" hash="c71dc1460cdcf062adb97b577e621923"/></dir></dir><dir name="Uploader"><file name="Image.php" hash="2655d6497c074c8c4998c58320d60c14"/></dir><file name="Uploader.php" hash="ff32029ded0cb07486ef40ae38f56b50"/></dir><dir name="Filter"><dir name="Array"><file name="Grid.php" hash="14bd2f5ab60e7255557fc2dff7f24a37"/></dir><file name="Array.php" hash="a38e3d26f47d1bfaf4e023662d9a3dad"/><file name="Email.php" hash="067f3ea6f1597ea2501455865977d789"/><file name="Money.php" hash="8bec682670cb4cbf48e4b4264e2ab188"/><dir name="Object"><file name="Grid.php" hash="e3c3fa92761e5a1e1401192d8362301e"/></dir><file name="Object.php" hash="5b85aaff354eb0770e14efcfebda263b"/><file name="Sprintf.php" hash="0dd85ddc3d4b737d7cc6308afc12db18"/><dir name="Template"><file name="Simple.php" hash="b342cd136c10a6630d2d7dccd4137387"/><dir name="Tokenizer"><file name="Abstract.php" hash="d737a3d6599939b2a12b55975c9af780"/><file name="Parameter.php" hash="140ab2548a3da859473a46c7b0d44504"/><file name="Variable.php" hash="4ba64c31b234db22c2ff1799a49e7798"/></dir></dir><file name="Template.php" hash="48c08c9c1c9199e43e53f682df53ceae"/></dir><dir name="Http"><dir name="Adapter"><file name="Curl.php" hash="6d7dd607c55582ac08416f1940f3868c"/></dir><file name="Client.php" hash="eac22d5beaca06c1678c327a13e7f45d"/></dir><dir name="Image"><dir name="Adapter"><file name="Abstract.php" hash="0ac17ab0c82dea6289caf0985be0c47d"/><file name="Gd2.php" hash="7d7c4751697adac77961431a297fc6a3"/></dir><file name="Adapter.php" hash="edbab0bcfa931ae1d8f813f467e6b311"/></dir><file name="Image.php" hash="dfec3144e465eb2558a76a84f4736254"/><dir name="Io"><file name="Abstract.php" hash="53e7055dfe0ca7d133b94cfbf3621693"/><file name="Exception.php" hash="493365429caf5d2170c00137b081b195"/><file name="File.php" hash="4d0613516c6d3824d1ec4442c99a6b8a"/><file name="Ftp.php" hash="f349b9b833133853c902abb493d4f3bd"/><file name="Interface.php" hash="0b26ea223a4bed00df9b7b808b2acf80"/><file name="Sftp.php" hash="461d458eb368ed01f3b9194bafc4030d"/></dir><dir name="Object"><file name="Cache.php" hash="a87d2ae2d015a4e2f2fc1b611feccfcd"/><file name="Mapper.php" hash="1180b9b29c366d886e8af05181aebbce"/></dir><file name="Object.php" hash="0d5d06e7eb4439372bf90e2e41e998d7"/><dir name="Pear"><file name="Frontend.php" hash="61a9a308d54eca9e0a0bbc09296189f1"/><file name="Package.php" hash="a4261d73ebc059785fe418c6350bb4e5"/><file name="Registry.php" hash="5780af5995ea9af32032d3ebe496e251"/></dir><file name="Pear.php" hash="d60801531ef3ac16b26e302961310c53"/><file name="Profiler.php" hash="d434c08a6dd3ef8eb168e3a3d46f057f"/><dir name="Simplexml"><dir name="Config"><dir name="Cache"><file name="Abstract.php" hash="6dbbd6f1bc63c1b7ee086399da30f4e0"/><file name="File.php" hash="f99292ec6d04d5464a1313a2c52880d4"/></dir></dir><file name="Config.php" hash="a957b7feccdf430239af81610a6ac281"/><file name="Element.php" hash="fca2dddf067b1e038834b27cb5a746a4"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Lib_ZF</name><channel>community</channel><min>1.11.1.0</min><max>1.12.0.0</max></package><extension><name>PDO</name><min></min><max></max></extension><extension><name>SPL</name><min></min><max></max></extension><extension><name>curl</name><min></min><max></max></extension><extension><name>SimpleXML</name><min></min><max></max></extension><extension><name>dom</name><min></min><max></max></extension><extension><name>gd</name><min></min><max></max></extension><extension><name>iconv</name><min></min><max></max></extension><extension><name>pdo_mysql</name><min></min><max></max></extension><extension><name>mcrypt</name><min></min><max></max></extension><extension><name>pcre</name><min></min><max></max></extension><extension><name>Reflection</name><min></min><max></max></extension><extension><name>session</name><min></min><max></max></extension></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Lib_Varien</name>
|
4 |
+
<version>1.8.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Varien Library</summary>
|
10 |
<description>Varien Library</description>
|
11 |
+
<notes>1.8.1.0</notes>
|
12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
+
<date>2013-11-22</date>
|
14 |
+
<time>04:16:49</time>
|
15 |
+
<contents><target name="magelib"><dir name="Varien"><file name="Autoload.php" hash="96a0c175e6a98562f058f9a02c167bbb"/><dir name="Cache"><dir name="Backend"><file name="Database.php" hash="09535993a910ade50a2cd763da0f6d9e"/><file name="Eaccelerator.php" hash="00bc01db2c4457fdad760835992ae2dc"/><file name="Memcached.php" hash="8e542eb6c54f6764dd41fff4488c5ae2"/></dir><file name="Core.php" hash="d571f5f03d00925708328a6e6d42f58f"/></dir><dir name="Convert"><dir name="Action"><file name="Abstract.php" hash="2a6bb67a679a6e20cbe9478e80be582f"/><file name="Interface.php" hash="fe9129227525ffc1f862c6f1f85e83f1"/></dir><file name="Action.php" hash="ee3a0baf50c1bb0f1c0b67721f1965e6"/><dir name="Adapter"><file name="Abstract.php" hash="0c53dc267b75e595518365ab8f1d8ab4"/><dir name="Db"><file name="Table.php" hash="d6b8a1bfe2de4ed908ca0367fb226d2c"/></dir><dir name="Http"><file name="Curl.php" hash="76e12f13e1eb48eb3e8c36cea9a6ece3"/></dir><file name="Http.php" hash="afb44986f4d6ba1cf84819bbb31004b2"/><file name="Interface.php" hash="2c4834f37eede972be48c8b3a2857661"/><file name="Io.php" hash="a9ceb53b810de3e183b439ba1bb1ba57"/><file name="Soap.php" hash="4b67a9ea45b12dfffabd26d2cb8942f2"/><file name="Std.php" hash="225b4e11d9ffcd1db8f99d54dc749687"/><dir name="Zend"><file name="Cache.php" hash="845fcb65276b05714b8d231c6b30f651"/><file name="Db.php" hash="794cb6226590ff7d2a7d1fbce26fcc05"/></dir></dir><dir name="Container"><file name="Abstract.php" hash="8f836665d0dec3c7cc7d93714e9c99b4"/><file name="Collection.php" hash="b1ef8a70ea806deb351b5413d6cfacef"/><file name="Generic.php" hash="bef8559c7a10ecf3ebb3f147795a2597"/><file name="Interface.php" hash="870470de0ec947f1039aa415d37d0f82"/></dir><file name="Exception.php" hash="58c9437dd946d5251234f55de3648d3f"/><dir name="Mapper"><file name="Abstract.php" hash="e1d9d87a1270ad6a499549dd87f9ac62"/><file name="Column.php" hash="7f74158a73fd8fa83052625ef07b1749"/><file name="Interface.php" hash="d8a8b98cece9ae38302914bbc910c094"/></dir><dir name="Parser"><file name="Abstract.php" hash="3559203bdcdb019daddd9ed558f596a7"/><file name="Csv.php" hash="f68d8dc8c0695296cc32b1ca716a8276"/><file name="Interface.php" hash="016ab96988f7ae02d2e84ed4878513ca"/><file name="Serialize.php" hash="52a93cacd5f3d3e0267bbffc74d7d715"/><dir name="Xml"><file name="Excel.php" hash="1edf1b7b7071c45baada29670ea656b8"/></dir></dir><dir name="Profile"><file name="Abstract.php" hash="c038c0b7a209c7a189beb6aa21df617b"/><file name="Collection.php" hash="2ff1f76cafa7e36826063069efdba8ad"/></dir><file name="Profile.php" hash="9b63f8909ed29bf5a3c729bc5934cb9c"/><dir name="Validator"><file name="Abstract.php" hash="3fdf8a0fcd2366563e330c30456f19b9"/><file name="Column.php" hash="da9bb1ffa8d6026a6d26365da4cec289"/><file name="Dryrun.php" hash="70f63aa2f6146c67658dc7bfd04ddf02"/><file name="Interface.php" hash="59c7a5d323e0a3bb6928754f3f4393ad"/></dir></dir><file name="Convert.php" hash="441a61c66ee524a024c7ffe8b7c7c3c2"/><dir name="Crypt"><file name="Abstract.php" hash="73980e75bef5f58855ea924c3693522d"/><file name="Mcrypt.php" hash="3c62cbb2f8e763e0da985b7bc054c5c3"/></dir><file name="Crypt.php" hash="cb28cabbc8a02fd86705bc0b52d7204b"/><dir name="Data"><dir name="Collection"><file name="Db.php" hash="7a4be602c7a6acf3ac5dcfb26f83e50f"/><file name="Filesystem.php" hash="8c2e8522e1782dbea4d52f44566cd02a"/></dir><file name="Collection.php" hash="e55f81c3fdf4b39d05bbbce7573e0de8"/><dir name="Form"><file name="Abstract.php" hash="4978be2832783e6ab2f7c4e291bbf4d5"/><dir name="Element"><file name="Abstract.php" hash="a8982e3215fc63a5cb40a4e964f6d3ea"/><file name="Button.php" hash="98c64b5da29dff22cfae938caa5833c8"/><file name="Checkbox.php" hash="7992114fdc4aefafceebac2a08c1a434"/><file name="Checkboxes.php" hash="fdc32833161b60139e9859f387bce6c7"/><file name="Collection.php" hash="cade28ccfd09e8b55394bf3a7d595d70"/><file name="Column.php" hash="b6d1d32aca981ae0fd1c6a83fc655c9a"/><file name="Date.php" hash="3f5c8628e329cbc87c33c7e622a3b946"/><file name="Datetime.php" hash="9c13224a8e67aec57108efa160aed1fd"/><file name="Editor.php" hash="13d5c80395365db6c47c0c004967c4bf"/><file name="Fieldset.php" hash="f78031a222ad4263826adf2f35622c72"/><file name="File.php" hash="463e8c8e106fe2018fdbf117e330423e"/><file name="Gallery.php" hash="6cb83ebc8efae252978fbd22c001642b"/><file name="Hidden.php" hash="ae6275e5d3b7df411bfda4fb4f995a8c"/><file name="Image.php" hash="c4d7be9bf6b1b19590d44bf9837eb748"/><file name="Imagefile.php" hash="2d6ed40fef1c2927ab22dea7d29336db"/><file name="Label.php" hash="ced6668e926c5cd10e5dfc93e1764070"/><file name="Link.php" hash="fb213bbbce4e46ea03a96923defbfbb3"/><file name="Multiline.php" hash="087bd60ff98b4b9c094b9adec040f166"/><file name="Multiselect.php" hash="9e0d04674a743602438fd4190040944c"/><file name="Note.php" hash="f5b71ebcf5a2b774393d9f4d1581dc35"/><file name="Obscure.php" hash="b61a077fbdea1b93be0aafc2f2c2f391"/><file name="Password.php" hash="a15263e7b0fabe8bd6abf8487f43efcb"/><file name="Radio.php" hash="4b32afab119091759d93ec99fb2fd53b"/><file name="Radios.php" hash="9004386a01f6c2b09435f39bf9b5bb36"/><dir name="Renderer"><file name="Interface.php" hash="61baa8c8755a9a7e8eaac5786ae38f42"/></dir><file name="Reset.php" hash="51bc11836e12bd64390476e3ff393c13"/><file name="Select.php" hash="4402f264e6e2cae5fbad26bc44aa21fe"/><file name="Submit.php" hash="5b9e9e3db9bc70757030312b7d002b7e"/><file name="Text.php" hash="2e798cfd096ac0a87f9d9055000af3c3"/><file name="Textarea.php" hash="b88d00399b8f6846d56055c9416dd0bb"/><file name="Time.php" hash="f35d8d1dc0a90dd6f044f17c22d8dc4a"/></dir><dir name="Filter"><file name="Date.php" hash="80eee9775448a21a5332f3e5cb7edcc9"/><file name="Datetime.php" hash="f6f45188abfc822ba6fb62c75f66f9bb"/><file name="Escapehtml.php" hash="0c02fdfbae30158aa14f45b937332249"/><file name="Interface.php" hash="4542e15af14cc92d7bf5a863d4bf5ddd"/><file name="Striptags.php" hash="2c4cd0905e4e3b99ba373ffeb9ab7d38"/></dir></dir><file name="Form.php" hash="407eee6f100c7befa18ca586b3c3ae04"/><dir name="Tree"><file name="Db.php" hash="d06e9a49ddb1ea94892f4f10e1b3fea1"/><file name="Dbp.php" hash="4bd7f5b9047870f125459dbf523f73a2"/><dir name="Node"><file name="Collection.php" hash="941c88db98d69ec170674380fe3413d5"/></dir><file name="Node.php" hash="e985629bbea05cd0e52d7ac82fc2ee27"/></dir><file name="Tree.php" hash="e39d73757e0535493badc5bea8459834"/></dir><file name="Date.php" hash="7830b6da8a6a54b5ef8d17b7f0d248f0"/><dir name="Db"><dir name="Adapter"><file name="Interface.php" hash="6c6a1f6e911aa0c2c53263d73dc5e5b5"/><file name="Mysqli.php" hash="4e6e03a6ddf127f58ab0326c4cfe9956"/><dir name="Pdo"><file name="Mysql.php" hash="3249352512450458888976e5abddb2a5"/></dir></dir><dir name="Ddl"><file name="Table.php" hash="2567ce531a4c978e5fff70b84f69f5ad"/></dir><file name="Exception.php" hash="93966b32e96f793f031244716ff37eed"/><file name="Helper.php" hash="eee52d2574360dabe7a5e830bc0a67b8"/><file name="Select.php" hash="62250da9eb320e684a4c121c3a40d473"/><dir name="Statement"><file name="Parameter.php" hash="8d688f64d6780d18e517921ea5eb9ccb"/><dir name="Pdo"><file name="Mysql.php" hash="e82abad90774a126efb8bd27bc0f43f7"/></dir></dir><dir name="Tree"><file name="Exception.php" hash="6a00d12bbed94d648a974d213a816a4b"/><dir name="Node"><file name="Exception.php" hash="f890d0fc36e89aefd7cf04ae6c10a88e"/></dir><file name="Node.php" hash="6b048bbe2b2c46e405ffae8bca23e579"/><dir name="NodeSet"><file name="Exception.php" hash="2caa6a4b09846fe3b941563aa55d3c5f"/></dir><file name="NodeSet.php" hash="5e589b0c1221caf2693fe6f7d07e1ad3"/></dir><file name="Tree.php" hash="c7cc99ac052aa5d1ac721619d47506e6"/></dir><file name="Debug.php" hash="ec721f169e5a16524a17abba094d651d"/><dir name="Directory"><file name="Collection.php" hash="59faf0b57bc10bdf3daade69b51fd142"/><file name="Factory.php" hash="112fda936935de43f45bf0e1b1ebfd23"/><file name="IFactory.php" hash="bb7a2578774f58922f7d5b3a90c34e3e"/><file name="a.txt" hash="026e450c46ac92ea375302955a4f42fb"/></dir><dir name="Event"><file name="Collection.php" hash="cb422c6c7abb160fa3d7d54669bf2b2e"/><dir name="Observer"><file name="Collection.php" hash="b9c7d52c9563a19d15723bbc4a85fac6"/><file name="Cron.php" hash="0e04e63cf24f5cce3031f5896c439b68"/><file name="Regex.php" hash="f97f5a4435d560e073d725681cb15264"/></dir><file name="Observer.php" hash="eff7b66ce01d3f8fc4c00d974a2d5440"/></dir><file name="Event.php" hash="1836bb96f191e616d59178f17e407277"/><file name="Exception.php" hash="6beb1561720cc6c7a894a955ff2251b7"/><dir name="File"><file name="Csv.php" hash="5736e17051a3e778c59b99ed669caee5"/><file name="CsvMulty.php" hash="af4518063d4d9f03cfbfca832c1b9d76"/><file name="Object.php" hash="86116483e252e66c516208e43b3bb920"/><dir name="Transfer"><dir name="Adapter"><file name="Http.php" hash="c71dc1460cdcf062adb97b577e621923"/></dir></dir><dir name="Uploader"><file name="Image.php" hash="2655d6497c074c8c4998c58320d60c14"/></dir><file name="Uploader.php" hash="ff32029ded0cb07486ef40ae38f56b50"/></dir><dir name="Filter"><dir name="Array"><file name="Grid.php" hash="14bd2f5ab60e7255557fc2dff7f24a37"/></dir><file name="Array.php" hash="a38e3d26f47d1bfaf4e023662d9a3dad"/><file name="Email.php" hash="067f3ea6f1597ea2501455865977d789"/><file name="Money.php" hash="8bec682670cb4cbf48e4b4264e2ab188"/><dir name="Object"><file name="Grid.php" hash="e3c3fa92761e5a1e1401192d8362301e"/></dir><file name="Object.php" hash="5b85aaff354eb0770e14efcfebda263b"/><file name="Sprintf.php" hash="0dd85ddc3d4b737d7cc6308afc12db18"/><dir name="Template"><file name="Simple.php" hash="b342cd136c10a6630d2d7dccd4137387"/><dir name="Tokenizer"><file name="Abstract.php" hash="d737a3d6599939b2a12b55975c9af780"/><file name="Parameter.php" hash="140ab2548a3da859473a46c7b0d44504"/><file name="Variable.php" hash="4ba64c31b234db22c2ff1799a49e7798"/></dir></dir><file name="Template.php" hash="48c08c9c1c9199e43e53f682df53ceae"/></dir><dir name="Http"><dir name="Adapter"><file name="Curl.php" hash="ebde08b6ea54e08d979f50b877452525"/></dir><file name="Client.php" hash="eac22d5beaca06c1678c327a13e7f45d"/></dir><dir name="Image"><dir name="Adapter"><file name="Abstract.php" hash="0ac17ab0c82dea6289caf0985be0c47d"/><file name="Gd2.php" hash="7d7c4751697adac77961431a297fc6a3"/></dir><file name="Adapter.php" hash="edbab0bcfa931ae1d8f813f467e6b311"/></dir><file name="Image.php" hash="dfec3144e465eb2558a76a84f4736254"/><dir name="Io"><file name="Abstract.php" hash="53e7055dfe0ca7d133b94cfbf3621693"/><file name="Exception.php" hash="493365429caf5d2170c00137b081b195"/><file name="File.php" hash="94a7261e767f27595a9f216949f79c31"/><file name="Ftp.php" hash="f349b9b833133853c902abb493d4f3bd"/><file name="Interface.php" hash="0b26ea223a4bed00df9b7b808b2acf80"/><file name="Sftp.php" hash="461d458eb368ed01f3b9194bafc4030d"/></dir><dir name="Object"><file name="Cache.php" hash="a87d2ae2d015a4e2f2fc1b611feccfcd"/><file name="Mapper.php" hash="1180b9b29c366d886e8af05181aebbce"/></dir><file name="Object.php" hash="f5291d89b59cf8e9590d29d462e28b02"/><dir name="Pear"><file name="Frontend.php" hash="61a9a308d54eca9e0a0bbc09296189f1"/><file name="Package.php" hash="a4261d73ebc059785fe418c6350bb4e5"/><file name="Registry.php" hash="5780af5995ea9af32032d3ebe496e251"/></dir><file name="Pear.php" hash="d60801531ef3ac16b26e302961310c53"/><file name="Profiler.php" hash="d434c08a6dd3ef8eb168e3a3d46f057f"/><dir name="Simplexml"><dir name="Config"><dir name="Cache"><file name="Abstract.php" hash="6dbbd6f1bc63c1b7ee086399da30f4e0"/><file name="File.php" hash="f99292ec6d04d5464a1313a2c52880d4"/></dir></dir><file name="Config.php" hash="a957b7feccdf430239af81610a6ac281"/><file name="Element.php" hash="fca2dddf067b1e038834b27cb5a746a4"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Lib_ZF</name><channel>community</channel><min>1.11.1.0</min><max>1.12.0.0</max></package><extension><name>PDO</name><min></min><max></max></extension><extension><name>SPL</name><min></min><max></max></extension><extension><name>curl</name><min></min><max></max></extension><extension><name>SimpleXML</name><min></min><max></max></extension><extension><name>dom</name><min></min><max></max></extension><extension><name>gd</name><min></min><max></max></extension><extension><name>iconv</name><min></min><max></max></extension><extension><name>pdo_mysql</name><min></min><max></max></extension><extension><name>mcrypt</name><min></min><max></max></extension><extension><name>pcre</name><min></min><max></max></extension><extension><name>Reflection</name><min></min><max></max></extension><extension><name>session</name><min></min><max></max></extension></required></dependencies>
|
18 |
</package>
|