* Base class for UF system integrations
*/
abstract class CRM_Utils_System_Base {
+ /**
+ * deprecated property to check if this is a drupal install. The correct method is to have functions on the UF classes for all UF specific
+ * functions and leave the codebase oblivious to the type of CMS
+ * @deprecated
+ * @var bool
+ */
var $is_drupal = FALSE;
+
+ /**
+ * deprecated property to check if this is a joomla install. The correct method is to have functions on the UF classes for all UF specific
+ * functions and leave the codebase oblivious to the type of CMS
+ * @deprecated
+ * @var bool
+ */
var $is_joomla = FALSE;
+
+ /**
+ * deprecated property to check if this is a wordpress install. The correct method is to have functions on the UF classes for all UF specific
+ * functions and leave the codebase oblivious to the type of CMS
+ * @deprecated
+ * @var bool
+ */
var $is_wordpress = FALSE;
/**
*
*/
function __construct() {
+ /**
+ * deprecated property to check if this is a drupal install. The correct method is to have functions on the UF classes for all UF specific
+ * functions and leave the codebase oblivious to the type of CMS
+ * @deprecated
+ * @var bool
+ */
$this->is_drupal = TRUE;
$this->supports_form_extensions = TRUE;
}
*
*/
function __construct() {
+ /**
+ * deprecated property to check if this is a drupal install. The correct method is to have functions on the UF classes for all UF specific
+ * functions and leave the codebase oblivious to the type of CMS
+ * @deprecated
+ * @var bool
+ */
$this->is_drupal = FALSE;
}
*
*/
function __construct() {
+ /**
+ * deprecated property to check if this is a drupal install. The correct method is to have functions on the UF classes for all UF specific
+ * functions and leave the codebase oblivious to the type of CMS
+ * @deprecated
+ * @var bool
+ */
$this->is_drupal = FALSE;
}