Hi all!
I want to know what is the date of the first day of the week. I did this:
$currDate = new Zend_Date();
$currDate->sub($currDate->get(Zend_Date::WEEKDAY_DIGIT)- 1,Zend_Date::DAY);
var_dump($currDate->get('Y-m-d'));
But, the result is not so good. The year and the day is good. The
m
On Saturday 17 Apr 2010 13:40:43 András Csányi wrote:
> Hi all!
>
> I want to know what is the date of the first day of the week. I did this:
> $currDate = new Zend_Date();
> $currDate->sub($currDate->get(Zend_Date::WEEKDAY_DIGIT)-
> 1,Zend_Date::DAY); var_dump($currDate->get('Y-m-d'));
>
> B
On Sat, Apr 17, 2010 at 1:46 PM, Jurian Sluiman
wrote:
> On Saturday 17 Apr 2010 13:40:43 András Csányi wrote:
>> Hi all!
>>
>> I want to know what is the date of the first day of the week. I did this:
>> $currDate = new Zend_Date();
>> $currDate->sub($currDate->get(Zend_Date::WEEKDAY_DIGIT)-
On 17 April 2010 14:03, till wrote:
>
> The easiest way is still to do the following:
> Zend_Date::setOptions(array('format_type' => 'php'));
>
> ... and then use PHP-like identifiers to do your date juggling.
It sounds like a title of a motivation picture. :)
--
- -
-- Csanyi Andras -- http:
Hi.
I want route to handle urls like this:
- /adds
- /adds/price/0/price/10/year/1960/year/2010/city/0/sort_by/0/mode/0
-
/adds/price/0/price/10/kilometer/0/kilometer/20/volume/0/volume/5000/year/1960/year/2010/power/0/power/500/brand/0/city/0/model/0/sort_by/0/driver_air
I just don't want index after /adds, thats all.
Regards,
Saša Stamenković
On Sat, Apr 17, 2010 at 4:46 PM, Саша Стаменковић wrote:
> Hi.
>
> I want route to handle urls like this:
>
>- /adds
>-
>/adds/price/0/price/10/year/1960/year/2010/city/0/sort_by/0/mode/0
>-
>
> /a
Added pagination, but search url still dont work
resources.router.routes. adds.route = "adds/:page"
resources.router.routes. adds.defaults.module = "default"
resources.router.routes. adds.defaults.controller = "adds"
resources.router.routes. adds.defaults.action = "index"
resources.router.routes.
What do you suggest with those complex search queries for better SEO, Zend
should be good at this.
Regards,
Saša Stamenković
On Sat, Apr 17, 2010 at 5:13 PM, Саша Стаменковић wrote:
> Added pagination, but search url still dont work
>
> resources.router.routes. adds.route = "adds/:page"
> resou
Hi all,
thanks for your feedback and the very interesting discussion. I need to
work myself through all your ideas and comments to identify the best
solution for my needs. Unfortunately I am not able to write a longer
answer. Maybe next week, sorry for that. But I really do appreciate all
your com
Hi,
I want to cache loaded articles into Zend_Cache to save the roundtrip to the
persistent store.
I don't see a need to set a lifetime for a cached article, because when I
update or delete an article, I would also alter the cached version.
This leads to the question, what will happen, when my Z
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas D. wrote on 18.04.2010 02:11:
> Hi,
>
> I want to cache loaded articles into Zend_Cache to save the roundtrip to the
> persistent store.
>
> I don't see a need to set a lifetime for a cached article, because when I
> update or delete an articl
11 matches
Mail list logo