AuthorAssignedType::__construct PHP Method

__construct() public method

Constructor
public __construct ( integer $p_authorId = null, integer $p_authorTypeId = null )
$p_authorId integer
$p_authorTypeId integer
    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;
        }
    }