/** * @access private */ function BeforeGenerate() { parent::BeforeGenerate(); if ($this->DataSource) { $this->Content = $this->DataSource->GetField($this->Field); } else { $this->Debug("Bad DataSource"); } }
function BeforeGenerate() { parent::BeforeGenerate(); if ($this->DataSource) { $this->Content = $this->DataSource->GetField($this->Field); } else { if ($this->App->Debug) { echo $this->DebugId() . "Bad DataSource<br>"; } } }