src/DB/PDO/Table.php
public function edit( $id, $data, $stripTags = TRUE ){
		$this->table->focusPrimary( $id );
		$result	= 0;
		if( count( $this->table->get( FALSE ) ) )
			$result	= $this->table->update( $data, $stripTags );
		$this->table->defocus();
		$this->cache->remove( $this->cacheKey.$id );
		return $result;
	}
public function edit( $id, $data, $stripTags = TRUE ){
		$this->table->focusPrimary( $id );
		$result	= 0;
		if( count( $this->table->get( FALSE ) ) )
			$result	= $this->table->update( $data, $stripTags );
		$this->table->defocus();
		$this->cache->remove( $this->cacheKey.$id );
		return $result;
	}
public function edit ( $ id , $ data , $ stripTags = TRUE ) { $ this -> table -> focusPrimary ( $ id ) ; $ result = 0 ; if ( count ( $ this -> table -> get ( FALSE ) ) ) $ result = $ this -> table -> update ( $ data , $ stripTags ) ; $ this -> table -> defocus ( ) ; $ this -> cache -> remove ( $ this -> cacheKey . $ id ) ; return $ result ; }
Modifies data of single row by ID.
@access		public
@param		integer			$id				ID to focus on
@param		array			$data			Data to edit
@param		boolean			$stripTags		Flag: strip HTML Tags from values
@return		integer			Number of changed rows
Modifies data of single row by ID .