/** * Gets an account parameter * * @param string $key Name of the parameter * @param mixed $default Default value: if array() will return an array * @return string|array */ public function getAccountParam( $key, $default = null ) { if ( isset( $this->account->$key ) ) { return $this->account->$key; } else { return $this->account->getParam( $key, $default ); } }
/** * Gets payment mean handler : Overridde to phpdocument return of correct class * * @param string $methodCheck * @return cbpaidHostedPagePayHandler */ public function & getPayMean( $methodCheck = null ) { return parent::getPayMean( $methodCheck ); }