Welcome Guest, Not a member yet? Register   Sign In
How to...
#5

[eluser]davidbehler[/eluser]
I haven't worked with the calendar library yet but can't you just do this
Code:
$data = array(
          3 => ‘http://example.com/news/article/2006/03/‘
        );
$this->calendar->generate(2008, 6, $data);

$data = array(
          7 => ‘http://example.com/news/article/2006/07/‘
        );
$this->calendar->generate(2008, 5, $data);

$data = array(
          13 => ‘http://example.com/news/article/2006/13/‘
        );
$this->calendar->generate(2009, 7, $data);

$data = array(
          26 => ‘http://example.com/news/article/2006/26/‘
        );
$this->calendar->generate(2019, 9, $data);
instead of passing a huge array that contains all your data?


Messages In This Thread
How to... - by El Forum - 11-13-2008, 01:39 PM
How to... - by El Forum - 11-16-2008, 04:08 AM
How to... - by El Forum - 11-16-2008, 04:15 AM
How to... - by El Forum - 11-16-2008, 04:28 AM
How to... - by El Forum - 11-16-2008, 05:06 AM
How to... - by El Forum - 11-16-2008, 08:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB