I checked, and isset($team->players) return false.
I find __isset() method in ORM class:
/**
* Checks if object data is set.
*
* @param string column name
* @return boolean
*/
public function __isset($column)
{
return (isset($this->object[$column]) OR
isset($this->related[$column]));
}
And there is also huge __get() method :-)
I must change something in ORM or PHPTAL, to let working team/players?
cheers!
szymek
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal