Problem/Motivation

Need to be able to create php code that generates data for the report engine. Some data elements, particularly in drupal need to be touched by php code.

Proposed resolution

Change all data providers so that they will look for a block_name.inc file instead of .sql file. If the .inc file is there instantiate a class by the same name and use a method to load the block xml based on data parameters passed to the block.

Comments

metzlerd’s picture

Version: 6.x-1.x-dev » 7.x-2.x-dev

Updating rev this will not likely be done in 6.x, but we'll see.

metzlerd’s picture

Title: Module provided data blocks » PHP Data sources
metzlerd’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
metzlerd’s picture

Version: 7.x-3.x-dev » 7.x-3.0-beta3
Assigned: Unassigned » metzlerd
Status: Active » Fixed

This was implemented and is available in the 7.x-3.0-beta3 release. There are two blocks delivered as exmaples.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Changing strategy to reflect latest brainstorm on PHP classes.