/** * @inheritdoc */ public function attributes() { return array_merge(parent::attributes(), ['authors.firstname', 'authors.lastname', 'authors.fullname', 'from_date', 'to_date']); }
public function attributes() { return array_merge(parent::attributes(), ['author.FullName', 'from_date', 'to_date']); }