Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 May 2011 at 08:52 UTC
Updated:
11 Jun 2011 at 12:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
neoglez commentedWell, going over some forums i find different opinions, the php manual doesn't say much, but it's a fact that properties can be created dinamically inside any function.
I think it wouldn't hurt to make the declaration (i'm seeing some strange behaviors that could be related to this).
Comment #2
dawehnerFeel free to create a patch with a sane default value.
Comment #3
neoglez commentedPiece of cake ;-)
Comment #4
dawehner@var is often used for the type of the var. Isn't string here something better.
Powered by Dreditor.
Comment #5
merlinofchaos commentedI think declaring vars we use for sure in the view is a good thing; it improves documentation tremendously to do it. We have to do mor ethan just have the var, we need to provide doxygen with what it has.
Also, it would be good to analyze the view object and see what ELSE we're missing.
Comment #6
neoglez commentedyap, you're both so right!
Following the example in Drupal Doxygen and comment formatting conventions.
Comment #7
neoglez commentedComment #8
dawehnerThanks. Commited