Loader = $loader; $this->Row = $row; $this->Options = $options; $this->Field = null; if($options != null) $this->AddField(FieldFactory::GetField($loader, $this, $options->Field, $entry)); } /** * @param $field FBFieldBase */ public function AddField($field) { $this->Field = $field; } public function Initialize() { $this->Field->Initialize(); } }