public function toSortations( array $array )
	{
		$results = array();

		foreach( $array as $name => $op ) {
			$results[] = $this->sort( $op, $name );
		}

		return $results;
	}
public function toSortations( array $array )
	{
		$results = array();

		foreach( $array as $name => $op ) {
			$results[] = $this->sort( $op, $name );
		}

		return $results;
	}
public function toSortations ( array $ array ) { $ results = array ( ) ; foreach ( $ array as $ name => $ op ) { $ results [ ] = $ this -> sort ( $ op , $ name ) ; } return $ results ; }
Creates sortation expressions from an associative array.

The array must be a single-dimensional array of name and operator pairs like
$array = array(
'name' => '+',
'name2' => '-',
);

@param array $array Single-dimensional array of name and operator pairs
@return array List of sort expressions implementing MW_Common_Criteria_Expression_Sort_Interface
Creates sortation expressions from an associative array .