/** * Gets the storage row for this URLReference * * @return array */ public function getStorageRow() { return parent::getStorageRow() + array('ref_target' => $this->url); }
/** * Gets the storage row for this WikiReference * * @return array */ public function getStorageRow() { return parent::getStorageRow() + array('ref_target_namespace' => $this->target->getNamespace(), 'ref_target_title' => $this->target->getDBkey()); }