From: Scott Y. <sy...@cs...> - 2004-06-24 20:43:51
|
Reini, My name is Scott Yilek and I'm working on wikilens with Dan Frankowski. We've recently been trying to integrate wikilens with phpwiki and we are still having a few issues with the new pagelist custom columns. The main problem is that we need to send each column more parameters than are currently allowed. Currently each custom pagelist column's constructor gets $params which is always assumed to be length 4 with $params[3] as the reference back to the pagelist object. If any other parameters are needed, the constructor gets them from the pagelist object: $this->_pagelist->getOption('user') for example. This doesn't quite work for us because we need each column to get its parameters independently from the other columns. For example, we can't do getOption('user') if we want a column for each buddy; we need to send in the buddy as a parameter. What would be great is if each column's constructor could accept more parameters as necessary. The way Dan Frankowski proposed originally worked well for this because we could create our own column objects how we liked them and just sent them into pagelist to be added. Do you think we should go back to this or do you see a better solution? Thanks! Scott Yilek sy...@cs... |