private function changelog ($type)
	{
		
		// If changelog or type is disabled for the class return FALSE
		
		if (isset (static::$changelogIgnore))
		{
			
			if (static::$changelogIgnore === TRUE || 
				is_array (static::$changelogIgnore) && in_array ($type, static::$changelogIgnore))
			{
				return FALSE;
			}
			
		}
		
		// If there is no changelog resource defined or we're dealing with a changelog object return FALSE
		
		if (!($this->getResource ('changelog') instanceof Resource\Change\Log) || 
			$this instanceof Resource\Change\Log || $this instanceof Resource\Change\Log\Column)
		{
			return FALSE;
		}
		
		// Default return TRUE
		
		return TRUE;
		
	}
private function changelog ($type)
	{
		
		// If changelog or type is disabled for the class return FALSE
		
		if (isset (static::$changelogIgnore))
		{
			
			if (static::$changelogIgnore === TRUE || 
				is_array (static::$changelogIgnore) && in_array ($type, static::$changelogIgnore))
			{
				return FALSE;
			}
			
		}
		
		// If there is no changelog resource defined or we're dealing with a changelog object return FALSE
		
		if (!($this->getResource ('changelog') instanceof Resource\Change\Log) || 
			$this instanceof Resource\Change\Log || $this instanceof Resource\Change\Log\Column)
		{
			return FALSE;
		}
		
		// Default return TRUE
		
		return TRUE;
		
	}
private function changelog ( $ type ) { // If changelog or type is disabled for the class return FALSE if ( isset ( static :: $ changelogIgnore ) ) { if ( static :: $ changelogIgnore === TRUE || is_array ( static :: $ changelogIgnore ) && in_array ( $ type , static :: $ changelogIgnore ) ) { return FALSE ; } } // If there is no changelog resource defined or we're dealing with a changelog object return FALSE if ( ! ( $ this -> getResource ( 'changelog' ) instanceof Resource \ Change \ Log ) || $ this instanceof Resource \ Change \ Log || $ this instanceof Resource \ Change \ Log \ Column ) { return FALSE ; } // Default return TRUE return TRUE ; }
Whether to write to the changelog
@param string $type Change type (create, update, delete)
@return boolean
Whether to write to the changelog