php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37694 Missing GtkCalendar::get_date() method
Submitted: 2006-06-04 16:14 UTC Modified: 2006-06-04 20:58 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mr dot pounder at gmail dot com Assigned:
Status: Not a bug Package: PHP-GTK related
PHP Version: 5.1.4 OS: Win32
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mr dot pounder at gmail dot com
New email:
PHP Version: OS:

 

 [2006-06-04 16:14 UTC] mr dot pounder at gmail dot com
Description:
------------
The get_date() method for the GtkCalendar class in the Win32 DLL for PHP-GTK2 is missing, and produces a fatal error when used.

Reproduce code:
---------------
<?php
$window=new GladeXML("calendar.glade");
$window->signal_autoconnect();
Gtk::main();

function on_calendar_day_selected()
{
	global $window;
	$cal=$window->get_widget("calendar");
	print_r($cal->get_date());
	return;
}
?>

Expected result:
----------------
Array
{
	[0]=2006
	[1]=06
	[2]=04
}


Actual result:
--------------
PHP Fatal error:  Call to undefined method GtkCalendar::get_date()

Fatal error: Call to undefined method GtkCalendar::get_date()

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-04 20:58 UTC] sfox@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

There's no officially released version of PHP-GTK 2, so if you aren't building it at home you're looking at 'something you found on the net'.  That could be anything.

get_date() was sorted out some time ago - if you still have problems with it (or if it's still missing) after we release the alpha, then please re-open this report.

Cheers,

- Steph
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 10:01:27 2024 UTC