We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
This code (as in example folder):
$icalfeed = 'myGoogleCalendarPrivateICSUrl'; $icalfeed = file_get_contents($icalfile); $icalobj = new ZCiCal($icalfeed); echo "Number of events found: " . $icalobj->countEvents() . "\n"; $ecount = 0; // read back icalendar data that was just parsed if(isset($icalobj->tree->child)) { foreach($icalobj->tree->child as $node) { if($node->getName() == "VEVENT") { $ecount++; echo "<br /><br />Event $ecount:\n"; foreach($node->data as $key => $value) { if(is_array($value)) { for($i = 0; $i < count($value); $i++) { $p = $value[$i]->getParameters(); echo " $key: " . $value[$i]->getValues() . "\n"; } } else { echo " $key: " . $value->getValues() . "\n"; } } } } }
Produces this error:
Error Object ( [message:protected] => Call to a member function getParameters() on array [string:Error:private] => [code:protected] => 0 [file:protected] => /test_scripts/cal.php [line:protected] => 31 [trace:Error:private] => Array ( ) [previous:Error:private] => )
Please help.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
This code (as in example folder):
Produces this error:
Please help.
The text was updated successfully, but these errors were encountered: