CRM-15988 - Cleanup internal use of entity names
[civicrm-core.git] / CRM / Core / Selector / Controller.php
index b3ade8e35409a31eb1cc66f21e249ffa2e3790db..6a1577fba0aca53744d2004b462b1dba8cf7084f 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -51,7 +51,7 @@ class CRM_Core_Selector_Controller {
     TRANSFER = 4, EXPORT = 8, SCREEN = 16, PDF = 32;
 
   /**
-   * A CRM Object that implements CRM_Core_Selector_API
+   * A CRM Object that implements CRM_Core_Selector_API.
    * @var object
    */
   protected $_object;
@@ -119,7 +119,7 @@ class CRM_Core_Selector_Controller {
    * so the display routine needs to not do any work. (The
    * parent object takes care of the display)
    *
-   * @var boolean
+   * @var bool
    */
   protected $_embedded = FALSE;
 
@@ -127,7 +127,7 @@ class CRM_Core_Selector_Controller {
    * Are we in print mode? if so we need to modify the display
    * functionality to do a minimal display :)
    *
-   * @var boolean
+   * @var bool
    */
   protected $_print = FALSE;
 
@@ -169,12 +169,12 @@ class CRM_Core_Selector_Controller {
   /**
    * Should we compute actions dynamically (since they are quite verbose)
    *
-   * @var boolean
+   * @var bool
    */
   protected $_dynamicAction = FALSE;
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * @param CRM_Core_Selector_API $object
    *   An object that implements the selector API.
@@ -192,7 +192,6 @@ class CRM_Core_Selector_Controller {
    * @param null $case
    *
    * @return \CRM_Core_Selector_Controller
-   * @access public
    */
   public function __construct($object, $pageID, $sortID, $action, $store = NULL, $output = self::TEMPLATE, $prefix = NULL, $case = NULL) {
 
@@ -259,7 +258,7 @@ class CRM_Core_Selector_Controller {
    * @param int $reset
    *   Are we being reset.
    *
-   * @return boolean
+   * @return bool
    *   if the GET params are different from the session params
    */
   public function hasChanged($reset) {
@@ -424,7 +423,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Getter for pager
+   * Getter for pager.
    *
    * @return CRM_Utils_Pager
    */
@@ -433,7 +432,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Getter for sort
+   * Getter for sort.
    *
    * @return CRM_Utils_Sort
    */
@@ -442,7 +441,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Move the variables from the session to the template
+   * Move the variables from the session to the template.
    *
    * @return void
    */
@@ -484,7 +483,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Setter for embedded
+   * Setter for embedded.
    *
    * @param bool $embedded
    *
@@ -495,9 +494,9 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Getter for embedded
+   * Getter for embedded.
    *
-   * @return boolean
+   * @return bool
    *   return the embedded value
    */
   public function getEmbedded() {
@@ -505,7 +504,7 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Setter for print
+   * Setter for print.
    *
    * @param bool $print
    *
@@ -516,9 +515,9 @@ class CRM_Core_Selector_Controller {
   }
 
   /**
-   * Getter for print
+   * Getter for print.
    *
-   * @return boolean
+   * @return bool
    *   return the print value
    */
   public function getPrint() {
@@ -538,4 +537,5 @@ class CRM_Core_Selector_Controller {
   public function getDynamicAction() {
     return $this->_dynamicAction;
   }
+
 }