Ticket #54 (new enhancement)

Opened 1 year ago

Last modified 2 months ago

Map MgdSchema datetime properties to PHP 5.2 DateTime type on in midgard-php bindings

Reported by: bergie Assigned to: piotras
Priority: major Milestone: 9.03 Vinland
Component: Midgard PHP Version:
Keywords: Cc:

Description

We'd like to have midgard-php for Midgard2 expose datetime properties as PHP native DateTime types.

Both in echo $object->metadata->published->format('Y-m-d'); and $qb->add_constraint('metadata.published', '=', new DateTime?('today'));

Change History

06/05/07 12:37:16 changed by bergie

  • owner changed from tarjei to piotras.
  • component changed from MidCOM core to Midgard PHP.

09/30/08 14:26:11 changed by bergie

  • milestone changed from Midgard 2.0 to 9.03 Vinland.