samples/PhotoAlbum/lib/rb.php
public function untag($bean,$tagList) {
		if ($tagList!==false && !is_array($tagList)) $tags = explode( ",", (string)$tagList); else $tags=$tagList;
		foreach($tags as $tag) {
			if ($t = $this->findTagByTitle($tag)) {
				$this->associationManager->unassociate( $bean, $t );
			}
		}
	}
public function untag($bean,$tagList) {
		if ($tagList!==false && !is_array($tagList)) $tags = explode( ",", (string)$tagList); else $tags=$tagList;
		foreach($tags as $tag) {
			if ($t = $this->findTagByTitle($tag)) {
				$this->associationManager->unassociate( $bean, $t );
			}
		}
	}
public function untag ( $ bean , $ tagList ) { if ( $ tagList !== false && ! is_array ( $ tagList ) ) $ tags = explode ( "," , ( string ) $ tagList ) ; else $ tags = $ tagList ; foreach ( $ tags as $ tag ) { if ( $ t = $ this -> findTagByTitle ( $ tag ) ) { $ this -> associationManager -> unassociate ( $ bean , $ t ) ; } } }
Part of RedBeanPHP Tagging API.
Removes all sepcified tags from the bean. The tags specified in
the second parameter will no longer be associated with the bean.

@param  RedBean_OODBBean $bean    tagged bean
@param  array            $tagList list of tags (names)

@return void
Part of RedBeanPHP Tagging API . Removes all sepcified tags from the bean . The tags specified in the second parameter will no longer be associated with the bean .