Added license info & corrected company name.

This commit is contained in:
Rich Morgan 2014-01-28 21:33:34 -06:00
parent 7071a2c978
commit 843769a8d6
1 changed files with 36 additions and 20 deletions

View File

@ -1,24 +1,40 @@
<?php <?php
class Bitpay_Bitcoins_Model_Source_Speed /**
{ * ©2011,2012,2013,2014 BITPAY, INC.
public function toOptionArray() *
{ * Permission is hereby granted to any person obtaining a copy of this software
* and associated documentation for use and/or modification in association with
return array( * the bitpay.com service.
array( *
'value' => 'low', * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
'label' => 'Low', * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
), * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
array( * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
'value' => 'medium', * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
'label' => 'Medium', * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
), * THE SOFTWARE.
array( *
'value' => 'high', * Bitcoin payment plugin using the bitpay.com service.
'label' => 'High', *
)); */
}
class Bitpay_Bitcoins_Model_Source_Speed {
public function toOptionArray() {
return array(
array(
'value' => 'low',
'label' => 'Low',
),
array(
'value' => 'medium',
'label' => 'Medium',
),
array(
'value' => 'high',
'label' => 'High',
));
}
} }
?> ?>