Project

General

Profile

Actions

Feature #28794

closed

currentVal in css_styled_content

Added by Christian Welzel over 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
Start date:
2011-08-06
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

Hi there,

in css_styled_content in render_textpic() line 647 the current value of the cObject
is set to the current filename in the loop. Thats fine.
In line 822 a similar loop is done, but in this case currentVal is NOT set to the
filename of the image currently processed.

Is this intentional or a bug?

I try to extend getData() of cObject but during rendering i always get the last
value of the first loop as currentVal.

Btw: Instead of using
$this->cObj->data[$this->cObj->currentValKey] = $totalImagePath;
it would be much more OOP to use
$this->cObj->setCurrentVal($totalImagePath);

Thx

Actions

Also available in: Atom PDF