public function __construct($p_authorId = null, $p_authorTypeId = null) { if (is_numeric($p_authorId)) { $this->m_data['fk_author_id'] = $p_authorId; } if (is_numeric($p_authorTypeId)) { $this->m_data['fk_type_id'] = $p_authorTypeId; } }