Re: [fw-general] Zend_Dojo_Data - Only arrays and objects may be attached

2009-05-18 Thread Nico Edtinger
afx114 wrote: Error: Only arrays and objects may be attached #0 /usr/share/php/ZendFramework-1.8.1/library/Zend/Dojo/Data.php(114): Zend_Dojo_Data->_normalizeItem(' {"ver": 1, "or...', NULL) #1 /home/account/application/default/controllers/ OrgsController.php(78): Zend_Dojo_Data->addItem(' {"v

Re: [fw-general] Replacing Zend_Loader by Zend_Loader_Autoloader

2009-05-09 Thread Nico Edtinger
Matthew Weier O'Phinney wrote: Zend_Loader's autoload solution has been basically broken from the outset, and there's no way to fix it cleanly within that class. Zend_Loader_Autoloader provides a much better solution that covers all the use cases thrown at it so far: ability to toggle suppression

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-03 Thread Nico Edtinger
howard chen wrote: Please feel free to answer: 1. What OS you are using during development? Windows? Mac? Linux? Mac OS 10.5, + Win XP at work, Debian 2. Do you edit source code on localhost or remote? i.e. is your testing environment reside on localhost or remote? Editing mainly on localho

Re: [fw-general] Zend_Registry a waste of CPU resources?

2009-05-03 Thread Nico Edtinger
Kendall Bennett wrote: Sure, but I still fail to see how Zend_Registry makes development any faster? It is just a glorified version of the $GLOBALS super global, and if you look at the meat of it, it is syntactically similar to using the $GLOBALS super global. How do you extend $GLOBALS? Ah

Re: [fw-general] Zend_Mail & Zend_Mail_Transport_Sendmail (ZF 1.7.5) bugs. Can somebody confirm?

2009-03-02 Thread Nico Edtinger
Hi strange-looking-man! That's more a problem with mail() under Windows that can't be solved in ZF. But as it uses SMTP anyway you could just switch to the SMTP transport. Use ini_get() to get the same settings from your php.ini. nico wrote: Hi all, Can anybody confirm that the latest

[fw-general] Re: [zf-contributors] Static HTML Zend_Cache Backend Proposal

2009-01-19 Thread Nico Edtinger
I was thinking about something similar myself. The problem is not so much getting a static html cache, because that's already possible, but getting a predictable filename and an easy way to access the timeout/ expiry, without using PHP. My goal would be using Lighttpd with a very short Lua s

Re: [fw-general] Weird problem with view script and Zend_Dojo_Data

2009-01-13 Thread Nico Edtinger
Stores in Dojo have the attribute queryExpr, which is normally set to "{0}*" (search term + wildcard) IIRC (or it might have been the widget using the store). I don't have a code example at hand so I hope you can use that and Firebug to find out where to set the correct value. nico Ralf Eg

Re: [fw-general] Zend_Mail_Storage_Mbox: missing part?

2009-01-06 Thread Nico Edtinger
Jan Pieper wrote: From j...@localhost.localdomain Sat Jan 6 13:55:41 2009 Return-Path: To: j...@localhost.localdomain Subject: Testmail From: j...@localhost.localdomain Date: Sat, 06 Jan 2009 13:55:40 +0100 Content-Type: multipart/mixed; charset="utf-8"; boundary="=_1f37c4c6837f0c1cbc45a73c7af

Re: [fw-general] [Zend_Mail] How to get an attached files ?

2008-12-19 Thread Nico Edtinger
It depends on the mail. The name of the part is in the Content-Type header, the filename of the attachment in Content-Disposition. To extract parts of a header like Content-Type you can use the method getHeaderField($header_name, $part);. Without $part you get the first field, which doesn't

Re: [fw-general] Short Tags vs. Long Tags performance question

2008-12-19 Thread Nico Edtinger
Joó Ádám wrote: I haven't heard anything about that yet, however in my opninion it must _decrease_ performance… Based on...? I just thought that it's a higher level thing, so first it must be replaced with echo, and then interpreted, which would add some minor decrease in performance (just f

Re: [fw-general] Zend Mailing Lists [All]

2008-12-03 Thread Nico Edtinger
Hi Aaron! netlynx wrote: netlynx wrote: I have been subscribed to the groups here for a while, and I am somewhat versed in pulling rss feeds and atom feeds and storing them in a database. What I am wondering is, is there a feed for these mailing lists (as opposed to downloading them via e

Re: [fw-general] Unable to programatically create filteringSelect

2008-10-08 Thread Nico Edtinger
Sudheer wrote: var counter = 0; function moreWidgets() { counter++; var stateSelect = new Array(); list = stateSelect[counter]; var filteringSelect = new dijit.form.FilteringSelect( { id: stateSelect[counter], name: "p

Re: [fw-general] Zend_Mail_Storage and FilterIterator

2008-10-08 Thread Nico Edtinger
Hi Bartosz! The mail number starts with 1. You initialize the LimitIterator with 0 instead of 1, which throws an exception (try $mail[0];). Seems like iterator_to_array() eats that exception. If you don't need an array, and I don't see a reason, I would also avoid converting the iterator

Re: [fw-general] Request for Feedback: Interface for Zend_Controller_Action

2008-10-01 Thread Nico Edtinger
Benjamin Eberlei wrote: I'd like some feedback if someone has Use-Cases for this issue (other then the ones i will specifiy later) or sees potential dangerous problems occuring to existing applications with this change. I can't see any problems in terms of code. Zend_Controller_Action doe

Re: [fw-general] Is the Dojo Checkbox code correct ?

2008-09-24 Thread Nico Edtinger
While I don't have a solution (yet) I can confirm there is a problem. I didn't have much time so I changed it to radio buttons, but here is what I've seen so far: If the value of the element is the checked value (I had the default 0 and 1) the output is correct and the checkbox can be unche

Re: [fw-general] Zend_Mail_Part::getHeader() and optional mail headers

2008-08-05 Thread Nico Edtinger
Hi Guillaume! That's actually something I have on my TODO list. While an exception is normally correct, because the value can't be returned, it's something that gets really annoying in the view. What I've planned is adding an option to turn these exceptions off and return null instead. ni

Re: [fw-general] Question: currency formatting and charset

2008-05-06 Thread Nico Edtinger
Amaamarivissi wrote: // Expected: € 120,45 // Expected: ISO-8859-1 There is no Euro symbol in ISO-8859-1. nico

Re: [fw-general] Zend_Registry is good for?

2008-04-25 Thread Nico Edtinger
Matthew Weier O'Phinney wrote: Actually, there *is* stuff you can do with Zend_Registry by extending it, such as lazy-loading and instantiating classes, etc. As an example, I've seen people add these later capabilities to get(), so that you don't even need to instantiate the object and push it

Re: [fw-general] Zend_Registry is good for?

2008-04-24 Thread Nico Edtinger
Sancar Saran wrote: Using globals with namespace does not create any problems. Searcing google "php globals problems" produces nothing. I use GLOBALS for Language key pairs Static Config variables (Db, memcache, etc) resource pointers I was much faster and pratic than any oo way.. How would

Re: [fw-general] License Compatibility

2008-02-29 Thread Nico Edtinger
Jordan Moore wrote: Shipping with a snapshot of the ZF was my plan. Also, I'm not going to be modifying ZF. It's just going to be used by the application. In this case license compatibility doesn't really matter. ZF stays under its license and your code is CC licensed. It's quite similar to

[fw-general] Issue Tracker Fix Versions

2008-01-29 Thread Nico Edtinger
Hi! As I as developer doesn't always know, which version is the next, I'm a bit confused by the "next major version" or "next minor version". Could we change that to something like "fixed in trunk"? If we've fixes for a specific mini release we port them to a branch, thus we know the vers

Re: [fw-general] 1.5 and backwards compatibilty. . .

2008-01-17 Thread Nico Edtinger
We still have the newline problem in Zend_Mime. The current task is ZF-1886. It was changed from \r\n to \n, which is not standard, but fixed some problems. Now others have problems and want it to change from \n to \r\n, which is more correct, but would again raise the issue we fixed the la

Re: [fw-general] Old (?) TODO files in core distribution

2007-12-31 Thread Nico Edtinger
Simone Carletti wrote: library/Zend/Mail/TODO.txt --> ./. (nothing more) It's gone. Thank you. nico

Re: [fw-general] Zend_Http_Upload

2007-12-20 Thread Nico Edtinger
Thomas Weidner wrote: Yes and no. Http, as it's a stateless protocol, can only be handled through http forms. This is the nature of http file transfers. Not entirely true. HTTP also has the PUT request for file uploads and it's rarely used in forms. It would still be nice if it could be

Re: [fw-general] Project Teams and Separate Mailing Lists. . .

2007-12-17 Thread Nico Edtinger
Hi! I'd love to be able to only subscribe fw-formats. fw-general has a very high noise level, especially if you don't use or need all components (i.e. we use our own db abstraction and mvc). Of course what makes the separate mailing list not that useful, is people sending everything to fw

Re: [fw-general] Reducing the number of loaded exception files

2007-12-17 Thread Nico Edtinger
Shahar Evron wrote: 10 redundant include files have quite an impact on performance, especially in places where you have no opcode cache installed. If you don't have an opcode cache you simply don't care about performance. So why should we optimize for these people? There're a couple of opco

Re: [fw-general] improving Zend_Mail_*_Imap

2007-11-02 Thread Nico Edtinger
Lars Kneschke wrote: How can i get in contact with current maintainer of this classes, to solve these problems? That would be me. I have some plans to add all or most of the features you'll need, but as always time is the limiting factor. So help is appreciated.

Re: [fw-general] Utility functions: Calculating binary string length

2007-10-29 Thread Nico Edtinger
The question is what should be supported. mbstring is not a default extension and function overloading is not the default setting in this extension. If we follow a 80:20 or even a 90:10 rule this is not a ZF bug, just a not supported extension/setting. But as soon as we raise the required

Re: [fw-general] Zend_Mail - to long subject -- Outlook puts '= ' in subject

2007-10-01 Thread Nico Edtinger
Rob Allen: It was happening on long urls. Given I was also having the "BCC appearing in the headers" issue, I swapped out Zend_Mail and used mail() instead with no problems. It's yet another thing on my list of things to investigate more fully when I get some time! I've worked on the heade

Re: [fw-general] Merging Zend_Config objects?

2007-09-14 Thread Nico Edtinger
$v) { if (!is_array($v)) { continue; } if (is_int(key($v))) { $array[$k] = $v[1]; } else { $array[$k] = _fix_merge($v); } }

Re: [fw-general] The validation of StringLength can't be used with Chinese

2007-09-13 Thread Nico Edtinger
According to the wiki iconv is enabled by default/included in all supported PHP versions. It's also used in Zend_Mime_Decode. nico Pádraic Brady wrote: I'll check iconv's status if no one else replies - looks like the Wiki and Jira are currently offline but if iconv is an acceptable standa

Re: [fw-general] how to show images inside a html Zend_Mail ?

2007-09-04 Thread Nico Edtinger
You might be interested in this message: nico - Original Message - From: "Truppe Steven" <[EMAIL PROTECTED]> To: fw-general@lists.zend.com Sent: Samstag, 1. September 2007 16.58 Uhr (GMT+0100) Europe/B

Re: [fw-general] no php closing tag?

2007-08-15 Thread Nico Edtinger
Or your mail clients needs a 'reply to all' option. [12.08.2007 09:41] Vinny wrote: This list really needs a reply-to header, I'd replied that I saw the light a few emails ago, but realized that it just went to one person. Sigh.

Re: [fw-general] Sending multiples mails with Zend_Mail

2007-08-06 Thread Nico Edtinger
Hi Elisamuel! You might be interested in this task , which is about replacing or removing headers. But if you intend to replace the whole message it would be easier to create a new instance of Zend_Mail and just reuse the transport. You cou

Re: [fw-general] Persistant config

2007-08-02 Thread Nico Edtinger
[02.08.2007 15:18] Dan Rossi wrote: Thats what I thought, the same question came up regards to the PEAR Config package aswell, need a way to prevent constant xml parsing as I prefer to use xml for configs. Maybe implementing it into a cache ? Why is there no $DomDocument->__serialize()?

Re: [fw-general] Wiki down

2007-07-23 Thread Nico Edtinger
[22.07.2007 22:23] Thomas Weidner wrote: Still down :-( How about a clock timer from walmart ? Reset the server's power all 4 hours ;-) Wouldn't it be easier to give something in the Israel office shell access to the webserver? They are awake while California is sleeping. Thomas nico

Re: [fw-general] 301 redirect

2007-07-17 Thread Nico Edtinger
[17.07.2007 14:50] Dave Lyon wrote: Wouldn't this work? header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$new_url); Since PHP 4.3.0 that's one line: header('Location: ' . $uri, true, 301); The advantage is, that you don't have to check, which HTTP v

Re: [fw-general] ZF Application Variables?

2007-06-29 Thread Nico Edtinger
What you need might be a database if you need data in sync across all your servers (or you use the Spread extension from PECL). If you only need a cache you can use Zend_Cache. It's what the example you linked to does only with several other and better storage options. nico [28.06.2007

Re: [fw-general] Deployment dependent code

2007-06-25 Thread Nico Edtinger
[25.06.2007 18:00] Stephan Stapel wrote: Is this the path that you'd also sugggest to take? And how to best decide which section is correct? Based on the $_SERVER['HTTP_POST'] value? Or are there better alternatives? If you have an extra user for your application on your live servers you c

Re: [fw-general] Zend Framework Cli Tool

2007-06-20 Thread Nico Edtinger
Hi unknown man! [20.06.2007 12:35] unknownman wrote: one of the great tool for rails is the its great script directory that you can make big project in a minute There's something like this in lab called Primitus (FKA ZFApp): http://framework.zend.com/fisheye/browse/Zend_Framework_Laborator

Re: [fw-general] Dutch PHP Conference

2007-06-18 Thread Nico Edtinger
[17.06.2007 22:00] Shekar C Reddy wrote: Well, here is a small revision: - A document says a few words :( - A picture says a thousand words. - A video says it *all *!! For me it's code. If I see a video or attend a conference I forget half of what's said. And some of the components h

Re: [fw-general] my 2 cents on views in the ZF MVC

2007-06-13 Thread Nico Edtinger
It's quite easy to use a different view/template engine. Maurice Fonk has written an example for Smarty: http://naneau.nl/2007/05/31/using- naneau_view_smarty-with-rc1/ [13.06.2007 17:54] Alan T. Miller wrote: Is it just me or is the way in which the Front Controller implements views going

Re: [fw-general] reroute post requests

2007-06-08 Thread Nico Edtinger
Hi Jens! What I did was a more generic way of changing the action depending on the request method. I extend Zend_Controller_Action to change dispatch(): public function dispatch($action) { $method = !empty($_SERVER['REQUEST_METHOD']) ? strtolower($_SERVER ['REQUEST_METHO

Re: [fw-general] Using Zend Framework as component library

2007-06-05 Thread Nico Edtinger
Hi Matt! Of course you can use Zend Framework as a component library. Just require the part you like (and make sure library/ is in your include_path): You see, it's easy. And you can also mix Zend Framework with other component libraries (cherry picking ;). nico [05.06.2007 13:46] Ma

Re: [fw-general] Turn ViewRenderer helper OFF by default

2007-06-04 Thread Nico Edtinger
[03.06.2007 12:27] Sebastian Poręba wrote: I fully agree, all additional features should be disabled by default, with possibility of turning on in one line of bootstrap. My first though was, let's have choice and disable it by default. But on the other hand you're not using a single class o

[fw-general] Incubator part of the final release?

2007-05-30 Thread Nico Edtinger
Hi! http://framework.zend.com/wiki/x/zic#ProjectManagementTeam- ZendFramework1.0ReleaseCandidate states incubator will not be in the final release. RC1 still has the whole incubator library and documentation. Is this going to change or is incubator now also part of the final release? I ask

Re: [fw-general] PHP 5.1.2 vs. 5.1.4

2007-05-16 Thread Nico Edtinger
[15.05.2007 22:59] Matthew Weier O'Phinney wrote: Well, one thing offerred in 5.1.4 not in 5.1.2 is the Countable interface. According to http://php.net/ChangeLog-5.php#5.1.0 and http:// www.php.net/~helly/php/ext/spl/interfaceCountable.html it was added in 5.1.0. nico

Re: [fw-general] How to return a file directly by an action

2007-04-18 Thread Nico Edtinger
[18.04.2007 13:31] frederic wolf wrote: basically you could do that $str = file_get_contents($file); header('Content-Disposition: attachment; filename="downloaded.pdf"'); header('Content-type: application/pdf'); echo $str; fpassthru() or readfile() use less memory

Re: [fw-general] Action-Rewriting

2007-04-06 Thread Nico Edtinger
Hi Kai! I just extended Zend_Controller_Action to change dispatch(): public function dispatch($action) { $method = !empty($_SERVER['REQUEST_METHOD']) ? strtolower($_SERVER ['REQUEST_METHOD']) : 'get'; if (method_exists($this, $action . $method)) {

Re: [fw-general] Re: Forwarding - Redirecting

2007-04-03 Thread Nico Edtinger
Won't work if you have a different URI design. I.e. we use http:// example.org/index.php/contact.add.import instead of http:// example.org/index.php/contact/add/import or http://example.org/ index.php/contact_add/import or ... as controller (+ module) name. If the default Action class is chang

Re: [fw-general] Re: Zend_Config question

2007-03-30 Thread Nico Edtinger
[30.03.2007 17:33] Matthew Ratzloff wrote: A. Zend_Config parses an array of configuration data. Zend_Config_Ini parses Ini and Zend_Config_Xml parses XML, and both extend Zend_Config. Zend_Config_Loader handles file loading and auto-detection and will become the primary method of loading m

Re: [fw-general] Hooking your unit tests into the overall structure

2007-03-14 Thread Nico Edtinger
I'm not a phpunit pro, but normally it's very easy. There's a file called AllTests.php in the test root and every subdirectory and they are chained together (AllTests.php is included and called by AllTests.php in its parent directory). You'd normally just add your testcase files to the AllT

Re: [fw-general] Zend Framework 0.9 code freeze schedule

2007-03-05 Thread Nico Edtinger
Hi Bill! Do you create a branch before or after the code freeze for new features for core components? Depending on the circumstances some of us could have new features ready before 1.0 is finished and it's complicated to manage that locally for ~1 month. Or should we copy the current stat

Re: [fw-general] Request for feedback: moving Zend.php to Zend/Zend.php

2007-02-27 Thread Nico Edtinger
[27.02.2007 19:04] Tautvydas Andrikys wrote: So this means that all package files would be in package directory. If u need only one package u take the package directory. Won't work. The unit that you call packages are not (always) independent and just because some files are in one directory

Re: [fw-general] Zend_Mime => Zend_Mail_Mime?

2007-02-26 Thread Nico Edtinger
Sure MIME is mostly used in mail, because that's the most used messaging system. But it's not limited to mail and could be used in other protocols. Also Zend_Mail_Message and Zend_Mail_Part should be based on it, but that's an other story. On the other hand the mime-type or content-type is

Re: [fw-general] Request for feedback: moving Zend.php to Zend/Zend.php

2007-02-26 Thread Nico Edtinger
After reading the other mails: +0 moving Zend.php - I'd use a Makefile and not svn:external -1 renaming the class - this class is the difference between a library and a framework -0.8 splitting it - same as above nico [26.02.2007 00:27] Bill Karwin wrote: Please take a look at http://f

Re: [fw-general] detaching certain directories from the framework

2007-02-23 Thread Nico Edtinger
Hi! has an example rewrite config, which has two conditions to exclude real files and directories in your webroot. nico [23.02.2007 17:27] xagrez wrote: Matthew, the regular methodology is to have www.site.com/

Re: [fw-general] Zend Framework 0.8 / lifting code freeze

2007-02-22 Thread Nico Edtinger
[22.02.2007 02:53] Bill Karwin wrote: I'm not sure what this implies for Zend Framework in relation to Zawinski's Law of Software Development , but it's pretty cool! ;-). It says "Those programs which cannot so expand are

Re: [fw-general] UML, ZF Coding Standard differences in Zend_Pdf

2007-02-20 Thread Nico Edtinger
[19.02.2007 14:24] Lars Strojny wrote: __autoload() is of course used in ZF. A lot of tutorials suggest to either define function __autoload($className) { Zend::loadClass($className) } or to do spl_register_autoload(array("Zend", "loadClass")). Sorry to be pedantic. But __autoload() is not used

Re: [fw-general] Consistency in naming

2007-02-20 Thread Nico Edtinger
[19.02.2007 22:20] Matthew Ratzloff wrote: In subclasses: Zend_Mail_Read (wherever it went) => Zend_Mail_Reader It's now called Zend_Mail_Storage_.. solved that one =) Zend_Mime_Decode => Zend_Mime_Decoder Decoder sounds like a Schwarzenegger action movie. It's also more of an internal c

Re: [fw-general] Zend Framework 0.8 code freeze

2007-02-16 Thread Nico Edtinger
Hi! The move of Zend_Mime_Message is incomplete - this also causes ZF-923. It should be the code as it was in incubator. I can't change it - no karma. nico [16.02.2007 08:45] Bill Karwin wrote: Hi, We're now in code-freeze for Zend Framework 0.8. It's late here now and I'll do the

Re: [fw-general] Docbook

2007-02-05 Thread Nico Edtinger
[05.02.2007 02:16] Simon Mundy wrote: But I think the most important part is literally just getting your words onto the page. The formatting can come later and I'm sure there'll be some help from the docs team to get it into shape. That's why I started in HTML. I wrote everything in HTML and

Re: [fw-general] Authentication in Mail Class

2007-02-02 Thread Nico Edtinger
Maybe we could create a seperate class for auth methods so we can use them with POP3 and IMAP too. nico [01.02.2007 23:10] Gavin Vess wrote: Moving discussion to fw-formats list ... Hi Justin, Would you like to sign our CLA and create an issue in our issue tracker with this patch? http

Re: [fw-general] ROR Flash in ZF

2007-01-31 Thread Nico Edtinger
[31.01.2007 21:08] Ralph Schindler wrote: Cheers, and let me know what you think! There's a bug: // ... protected static function start() { if ($namespace == "") { throw new Exception(__CLASS__ . ": namespace cannot be null."); } // ... $namespace is not

Re: [fw-general] ZF and Ajax

2007-01-23 Thread Nico Edtinger
[23.01.2007 11:50] Paolo Casarini wrote: how can I use Ajax within a webapp based on the ZF MVC implementation? The Zend Devzone has an example chat application with AJAX. Currently the server is dead thus I can't give you a direct pointer. nico

Re: [fw-general] LDAP support

2007-01-17 Thread Nico Edtinger
[17.01.2007 22:20] Bill Karwin wrote: Andrew Yager wrote: Does anyone (other than me) have a need for LDAP support within ZF? If so, what form would that take? Has anyone done any work on this so far? Is there a better place to discuss this than fw-general? I understand that some work is be

Re: [fw-general] Merging two Zend_Configs

2006-12-22 Thread Nico Edtinger
You could use array_merge(): 1, 'y' => 2, 'z' => 3)); $user_config = new Zend_Config(array('y' => 4, 'a' => 5)); $config = new Zend_Config(array_merge($master_config->asArray(), $user_config->asArray())); var_dump($config->asArray()); /* output: array(4) { ["x"]=> int(1) ["y"]=>

[fw-general] Re: Do we really need Zend::exception()?

2006-12-18 Thread Nico Edtinger
fw-svn is not a mailing list for discussion. I've changed the list to fw-general. With Zend::exception() we avoid loading all those exception classes that are only needed if an error occurs, which should be an exception. So instead of loading these files or at least stat()ing it with an o

Re: [fw-general] Zend_XMLElement proposal

2006-12-15 Thread Nico Edtinger
[15.12.2006 18:08] Martel Valgoerad wrote: It's easier to call $doc->createTextNode('body', 'Text of body') than to write four lines of code. Isn't that the same as $doc->addChild('body', 'Text of body'); with simplexml? I've tested with: '; $doc = new SimpleXMLElement($xml); $doc->addChi

Re: [fw-general] Zend_Mail_* supporting Sieve?

2006-12-13 Thread Nico Edtinger
Hi Philip! Do you want to support client side Sieve or only MANAGESIEVE ? What sieve-php does should be easy to implement by extending Zend_Mail_Transport_IMAP/Zend_Mail_IMAP. How many mail-server in the wild do support Sieve/MANAGESIEVE? nico [13.12.2006 11:39] Philip Iezzi wrote: hi al

Re: [fw-general] Build Zend Framework, parse errors.

2006-12-12 Thread Nico Edtinger
[12.12.2006 16:26] Joe Kramer wrote: There is no "compile php", you can only do "php -f" to parse single file. There is a syntax checker (lint) built into php with "php -l". -f does also execute the file. Probably can be automated using some script to parse every file in whole project tre

Re: [fw-general] Patch for ZF-170. No Karma to Zend_Filter == no direct commit =P

2006-11-27 Thread Nico Edtinger
[27.11.2006 23:27] Kevin McArthur wrote: +public function offsetGet($offset) { +return $this->getRaw($offset); +} Wouldn't it be better to have a default method that can be set and is used for these interfaces? Like protected $_defaultMethod = 'getAlpha'; public functio

Re: [fw-general] Fluent interfaces for Zend_Mail

2006-11-18 Thread Nico Edtinger
(to set the filename, content type, etc.). -Matt - Original Message - From: "Nico Edtinger" <[EMAIL PROTECTED]> To: "Waldemar Schott" <[EMAIL PROTECTED]> Cc: "ZF-General" Sent: Saturday, November 18, 2006 10:09 AM Subject: Re: [fw-general]

Re: [fw-general] Fluent interfaces for Zend_Mail

2006-11-18 Thread Nico Edtinger
In general this shouldn't be a problem. But setBodyText() and setBodyHtml() both return the Zend_Mime_Part instance. If someone needs this he could of course also use getBodyText() and getBodyHtml(). Does someone use the return value of these two set methods? Otherwise I'll checkin Zend_Mai

Re: [fw-general] Coding Standard: Magic Methods __get()/__set()/__isset()/__unset() protected or public?

2006-11-16 Thread Nico Edtinger
[17.11.2006 01:48] Darby Felton wrote: Without further supporting information (e.g., from contact with PHP developers or from PHP development mailing list), however, I would likely err on the side of caution where reasonable, making such methods public, rather than relying on a behavior that m

Re: [fw-general] Zend_Config_Array Zend_Config_Ini

2006-11-07 Thread Nico Edtinger
From Rob's blog: Zend_Config_Array has been removed It's no longer necessary as you can do: require 'config.php'; $config = new Zend_Config($config); -> http://www.akrabat.com/2006/11/05/zend_config-documentation-in-02/ [06.11.2006 22:15] Stuardo Rodríguez wrote: I was using Zend

Re: [fw-general] Minor issue - is_null()

2006-10-23 Thread Nico Edtinger
[24.10.2006 00:00] Simon Mundy wrote: On 24/10/2006, at 4:51 AM, Darby Felton wrote: It is a minor issue, of course, but instead of using the is_null() function, we should instead use the strict equivalence operators (=== and !==) to test against null values: Hi Darby - what's the difference?

Re: [fw-general] ZF Shirts

2006-10-12 Thread Nico Edtinger
Do we also get the "surprise" without being at the conference? :) nico [12.10.2006 21:30] Gavin Vess wrote: Hint: There will be a "surprise" at the conference ;) Cheers, Gavin

[fw-general] Re: Zend_Imap

2006-10-11 Thread Nico Edtinger
e mail read stuff as we finally launched the project we worked on the last 3 months. I can't promise when I'm finished with my work but I do my best to get the next goal finished this month. nico -- Nico Edtinger : [EMAIL PROTECTED] : http://alpha.rrs.at/ [11.10.2006 17:03] Pe

Re: [fw-general] Subversion problem

2006-10-11 Thread Nico Edtinger
It's fixed in SVN. Sorry for the inconvenience. [11.10.2006 16:14] Nico Edtinger wrote: My fault =) or the fault of the maildir standard. I'll remove the plain files, add them as tar and make the maildir test optional. Anyone know how maildirs are saved on windows? AFAIK it s

Re: [fw-general] Subversion problem

2006-10-11 Thread Nico Edtinger
My fault =) or the fault of the maildir standard. I'll remove the plain files, add them as tar and make the maildir test optional. Anyone know how maildirs are saved on windows? AFAIK it should only be a problem on NTFS as the colon is the stream seperator. nico [11.10.2006 15:58] Andries

Re: [fw-general] Zend_Filter_Input, toArray() method

2006-10-10 Thread Nico Edtinger
[10.10.2006 10:24] Kevin McArthur wrote: Once done, you'll be able to use zfi objects as you would an array anyway. The biggest problem is determining what rule is applied by default. I'd say none or make the value empty. If you look at the use case from gonyuu - it only returns the keys (

Re: [fw-general] ZF-based webmail?

2006-09-21 Thread Nico Edtinger
functionallity is missing. How far have you got making IMAP work? It would be really nice to build the application on top of your classes .. On 9/20/06, Nico Edtinger <[EMAIL PROTECTED]> wrote: Hi! If you have any questions about the upcoming zend mail classes don't hesitate to

Re: [fw-general] ZF-based webmail?

2006-09-19 Thread Nico Edtinger
Hi! If you have any questions about the upcoming zend mail classes don't hesitate to ask. The proposal for that stuff, if you haven't seen it yet: http://framework.zend.com/wiki/display/ZFPROP/Zend_Mail_Read +Proposal+-+Nico+Edtinger I must admit I was busy the last weeks wit