/** * Virtual constructor for a custom label * * @param string $label * @return object WSaveButton * @access public * @static * @since 7/27/05 */ static function withLabel($label) { $button = new WSaveButton(); $button->setLabel($label); return $button; }