Author: caefer
Date: 2010-04-12 17:12:01 +0200 (Mon, 12 Apr 2010)
New Revision: 29089
Modified:
plugins/sfImageTransformExtraPlugin/trunk/lib/source/sfImageSourceLocalAbstract.class.php
Log:
implemented stream_seek() as it is used by sfImage
Modified:
plugins/sfImageTransformExtraPlugin/trunk/lib/source/sfImageSourceLocalAbstract.class.php
===================================================================
---
plugins/sfImageTransformExtraPlugin/trunk/lib/source/sfImageSourceLocalAbstract.class.php
2010-04-12 13:52:17 UTC (rev 29088)
+++
plugins/sfImageTransformExtraPlugin/trunk/lib/source/sfImageSourceLocalAbstract.class.php
2010-04-12 15:12:01 UTC (rev 29089)
@@ -99,6 +99,18 @@
return fread($this->resource, $count);
}
+ /**
+ * Seeks to specific location in a stream
+ *
+ * @param int $offset
+ * @param int $whence
+ * @return bool
+ */
+ public function stream_seek($offset, $whence = SEEK_SET)
+ {
+ return fseek($this->resource, $offset, $whence);
+ }
+
/**
* Retrieve information about a file resource
*
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.