X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FSystem%2FSoap.php;h=b96ba20d9752460209ba488c7f918f0f0239a2f8;hb=d90814f1c1fa74a29ecddb8df1139f9cb4da8fdc;hp=a98269380af8a83a1f49da03da2730113c5278fe;hpb=95d8ddc04c08360567c00283822622fb8bcb0b35;p=civicrm-core.git diff --git a/CRM/Utils/System/Soap.php b/CRM/Utils/System/Soap.php index a98269380a..b96ba20d97 100644 --- a/CRM/Utils/System/Soap.php +++ b/CRM/Utils/System/Soap.php @@ -44,21 +44,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { static $uf = NULL; static $ufClass = NULL; - /** - * Sets the title of the page - * - * @param string $title - * Title for page. - * @param $pageTitle - * - * @paqram string $pageTitle - * - * @return void - */ - public function setTitle($title, $pageTitle) { - return NULL; - } - /** * Given a permission string, check for access requirements * @@ -73,45 +58,7 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { } /** - * Append an additional breadcrumb tag to the existing breadcrumb - * - * @param string $title - * @param string $url - * - * @return void - */ - public function appendBreadCrumb($title, $url) { - return NULL; - } - - /** - * Append a string to the head of the html file - * - * @param string $head - * The new string to be appended. - * - * @return void - */ - public function addHTMLHead($head) { - return NULL; - } - - /** - * Generate an internal CiviCRM URL - * - * @param string $path - * The path being linked to, such as "civicrm/add". - * @param string $query - * A query string to append to the link. - * @param bool $absolute - * Whether to force the output to be an absolute link (beginning with http:). - * Useful for links that will be displayed outside the site, such as in an - * RSS feed. - * @param string $fragment - * A fragment identifier (named anchor) to append to the link. - * - * @return string - * an HTML string containing a link to the given path. + * @inheritDoc */ public function url($path = NULL, $query = NULL, $absolute = TRUE, $fragment = NULL) { if (isset(self::$ufClass)) { @@ -125,10 +72,8 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { } /** - * Figure out the post url for the form - * - * @return string - * the url to post the form + * FIXME: Can this override be removed in favor of the parent? + * @inheritDoc */ public function postURL($action) { return NULL; @@ -146,17 +91,9 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { } /** - * Authenticate a user against the real UF - * - * @param string $name - * Login name. - * @param string $pass - * Login password. - * - * @return array - * Result array + * @inheritDoc */ - public function &authenticate($name, $pass) { + public function authenticate($name, $pass) { if (isset(self::$ufClass)) { $className = self::$ufClass; $result =& $className::authenticate($name, $pass); @@ -180,25 +117,12 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { $config->userFrameworkClass = 'CRM_Utils_System_Soap'; } - /** - * Get the locale set in the hosting CMS - * - * @return null - * as the language is set elsewhere - */ - public function getUFLocale() { - return NULL; - } - /** * Get user login URL for hosting CMS (method declared in each CMS system class) * * @param string $destination - * If present, add destination to querystring (works for Drupal only). * * @throws Exception - * @return; - * loginURL for the current CMS */ public function getLoginURL($destination = '') { throw new Exception("Method not implemented: getLoginURL");