function __construct($path, $url, $attr = array("alt" => "")) { parent::__construct($path, $url); $this->_attr = $attr; }