X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FSelector%2FBrowse.php;h=029acc852c8757594013d35f590602951cfe62c0;hb=b44e3f8468ceba3e1b321d31dd2e35a1aa1a5d9a;hp=287364bebae9db93c93d92e63e49a0d33fff16c4;hpb=1a4d747351c5963b20ad798f3bd0480eb772b13b;p=civicrm-core.git diff --git a/CRM/Mailing/Selector/Browse.php b/CRM/Mailing/Selector/Browse.php index 287364beba..029acc852c 100644 --- a/CRM/Mailing/Selector/Browse.php +++ b/CRM/Mailing/Selector/Browse.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -23,12 +23,12 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2014 + * @copyright CiviCRM LLC (c) 2004-2015 * $Id$ * */ @@ -39,7 +39,7 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_Core_Selector_API { /** - * Array of supported links, currenly null + * Array of supported links, currently null * * @var array */ @@ -55,7 +55,7 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_ protected $_parent; /** - * Class constructor + * Class constructor. * * * @return \CRM_Mailing_Selector_Browse @@ -206,7 +206,7 @@ LEFT JOIN civicrm_contact scheduledContact ON ( $mailing.scheduled_id = schedul } /** - * Returns all the rows in the given offset and rowCount + * Returns all the rows in the given offset and rowCount. * * @param string $action * The action being performed. @@ -360,7 +360,7 @@ LEFT JOIN civicrm_contact scheduledContact ON ( $mailing.scheduled_id = schedul if (in_array($row['status'], array( 'Scheduled', 'Running', - 'Paused' + 'Paused', ))) { if ($allAccess || ($showApprovalLinks && $showCreateLinks && $showScheduleLinks) @@ -608,4 +608,5 @@ ORDER BY LEFT(name, 1) $aToZBar = CRM_Utils_PagerAToZ::getAToZBar($dao, $this->_parent->_sortByCharacter, TRUE); $this->_parent->assign('aToZ', $aToZBar); } + }