Patch #1326
A few changes to magic methods and render()
| Status: | Closed | Start date: | 02/23/2009 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Library::Gravatar | Spent time: | 0.25 hour | |
| Target version: | 0.1.1 | |||
| Resolution: | Points: |
Description
Title says it all really. After having another look at the code it looks like you can already do what I mentioned here like so:
foreach ($users as $user)
echo $gravatar->email($user->email);
But I added the parameter to render() as it can't really do any harm.
Also changed form::attributes to html::attributes as form:: checks and sorts form field attributes, whereas html:: just compiles them.
Modified the getter / setter so that they can get / set config properties, attributes and the email address.
History
Updated by Sam de Freyssinet about 4 years ago
- Category set to Libraries
- Assignee set to Geert De Deckere
Implemented in r5 , thanks Alex
Updated by Sam de Freyssinet about 4 years ago
- Status changed from New to Closed
Applied in changeset r5.
Updated by Sam de Freyssinet about 4 years ago
- Target version set to 44