*/ class Mage_Dataflow_Model_Resource_Profile_History_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract { /** * Define resource model and model * */ protected function _construct() { $this->_init('dataflow/profile_history'); } /** * Joins admin data to select * * @return Mage_Dataflow_Model_Resource_Profile_History_Collection */ public function joinAdminUser() { $this->getSelect()->join( array('u' => $this->getTable('admin/user')), 'u.user_id=main_table.user_id', array('firstname', 'lastname') ); return $this; } }