XBRL-Log.php
public function business_rules_validation( $section, $message, $source )
	{
		if ( ! $this->log ) return;
		$this->businessRulesViolationeWarning = true;
		$msg = sprintf( "[business rules] $message (Section %s - %s)", $section, $this->arrayToDescription( $source ) );
		$this->log->_announce( array( 'section' => $section, 'priority' => PEAR_LOG_WARNING, 'message' => $message, 'source' => $source ) );
		return $this->log->warning( $msg );
	}
public function business_rules_validation( $section, $message, $source )
	{
		if ( ! $this->log ) return;
		$this->businessRulesViolationeWarning = true;
		$msg = sprintf( "[business rules] $message (Section %s - %s)", $section, $this->arrayToDescription( $source ) );
		$this->log->_announce( array( 'section' => $section, 'priority' => PEAR_LOG_WARNING, 'message' => $message, 'source' => $source ) );
		return $this->log->warning( $msg );
	}
public function business_rules_validation ( $ section , $ message , $ source ) { if ( ! $ this -> log ) return ; $ this -> businessRulesViolationeWarning = true ; $ msg = sprintf ( "[business rules] $message (Section %s - %s)" , $ section , $ this -> arrayToDescription ( $ source ) ) ; $ this -> log -> _announce ( array ( 'section' => $ section , 'priority' => PEAR_LOG_WARNING , 'message' => $ message , 'source' => $ source ) ) ; return $ this -> log -> warning ( $ msg ) ; }
A convenience function for logging a event about an XBRL business rules violation issue.
It will log a message at the PEAR_LOG_WARNING log level.

PEAR_LOG_WARNING

@param string $section	The rules topic reference
@param string $message	String or object containing the message to log.
@param array $source		An array containing details about the source such as the element id, link base, etc.
@return  boolean True if the message was successfully logged.
A convenience function for logging a event about an XBRL business rules violation issue . It will log a message at the PEAR_LOG_WARNING log level .