ReStructured Text InfrastructureTYPO3 CMS - What's Newwiki.typo3.orgTYPO3 CMS Documentation

Feature #43181

Integrate NULL value handling stdWrap.ifNull and stdWrap.if.isNull

Added by Oliver Hader over 2 years ago. Updated over 2 years ago.

Status:Closed Start date:2012-11-20
Priority:Should have Due date:
Assigned To:Chris topher % Done:

100%

Category:-
Target version:6.0

Description

Please add the following new properties to TSref - one name is *if*Null (like ifBlank, ifEmpty) and the other one is *is*Null (like isTrue, isFalse), so please watch on "if" vs. "is" since that happened to me as well... ;-)

1) In stdWrap section, before ifEmpty property, add new property

  • Property: ifNull
  • Datatype: string/stdWrap
  • Description: If the content is null (PHP NULL type), the content is overridden with the value defined here.

2) In if section, before isTrue, add new property

  • Property: isNull
  • Datatype: stdWrap
  • Description: If the resulting content of the stdWrap is null (PHP NULL type). Since null values cannot be assigned in TypoScript, only the stdWrap features are available below this property.

See #43133.


Related issues

related to Core - Feature #43133: Integrate possibility to determine NULL values in TypoScript Resolved 2012-11-20
related to TypoScript Reference (TSref) - Task #43364: Add examples for stdWrap.ifNull and if.isNull Closed 2012-11-27

Associated revisions

Revision ad712fe4
Added by Chris topher over 2 years ago

[TASK] Integrate stdWrap.ifNull and stdWrap.if.isNull

Integrate stdWrap.ifNull and stdWrap.if.isNull for NULL value handling.

Change-Id: Ie2c8a75628603ef6aa5ffeedda9b6637111c9e8f
Resolves: #43181

History

#1 Updated by Oliver Hader over 2 years ago

  • Subject changed from Integrat NULL value handling stdWrap.ifNull and stdWrap.if.isNull to Integrate NULL value handling stdWrap.ifNull and stdWrap.if.isNull

#2 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16749

#3 Updated by Chris topher over 2 years ago

  • Assigned To set to Chris topher

#4 Updated by Chris topher over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Chris topher over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF