src/FS/File/INI/Editor.php
public function deactivateProperty( $key, $section = NULL)
	{
		if( $this->usesSections() )
		{
			if( !$this->hasProperty( $key, $section ) )
				throw new InvalidArgumentException( 'Key "'.$key.'" is not existing in section "'.$section.'"' );
			if( !$this->isActiveProperty( $key, $section ) )
				throw new LogicException( 'Key "'.$key.'" is already inactive' );
			$this->disabled[$section][] = $key;
			return is_int( $this->write() );
		}
		else
		{
			if( !$this->hasProperty( $key ) )
				throw new InvalidArgumentException( 'Key "'.$key.'" is not existing' );
			if( !$this->isActiveProperty( $key ) )
				throw new LogicException( 'Key "'.$key.'" is already inactive' );
			$this->disabled[] = $key;
			return is_int( $this->write() );
		}
	}
public function deactivateProperty( $key, $section = NULL)
	{
		if( $this->usesSections() )
		{
			if( !$this->hasProperty( $key, $section ) )
				throw new InvalidArgumentException( 'Key "'.$key.'" is not existing in section "'.$section.'"' );
			if( !$this->isActiveProperty( $key, $section ) )
				throw new LogicException( 'Key "'.$key.'" is already inactive' );
			$this->disabled[$section][] = $key;
			return is_int( $this->write() );
		}
		else
		{
			if( !$this->hasProperty( $key ) )
				throw new InvalidArgumentException( 'Key "'.$key.'" is not existing' );
			if( !$this->isActiveProperty( $key ) )
				throw new LogicException( 'Key "'.$key.'" is already inactive' );
			$this->disabled[] = $key;
			return is_int( $this->write() );
		}
	}
public function deactivateProperty ( $ key , $ section = NULL ) { if ( $ this -> usesSections ( ) ) { if ( ! $ this -> hasProperty ( $ key , $ section ) ) throw new InvalidArgumentException ( 'Key "' . $ key . '" is not existing in section "' . $ section . '"' ) ; if ( ! $ this -> isActiveProperty ( $ key , $ section ) ) throw new LogicException ( 'Key "' . $ key . '" is already inactive' ) ; $ this -> disabled [ $ section ] [ ] = $ key ; return is_int ( $ this -> write ( ) ) ; } else { if ( ! $ this -> hasProperty ( $ key ) ) throw new InvalidArgumentException ( 'Key "' . $ key . '" is not existing' ) ; if ( ! $ this -> isActiveProperty ( $ key ) ) throw new LogicException ( 'Key "' . $ key . '" is already inactive' ) ; $ this -> disabled [ ] = $ key ; return is_int ( $ this -> write ( ) ) ; } }
Deactivates a Property.
@access		public
@param		string		$key			Key of  Property
@param		string		$value			Section of Property
@return		bool
Deactivates a Property .