public function getTypeById( $id, $prefix = null )
	{
		if ( ! isset( $this->typeIds[ $id ] ) ) return false;
		return isset( $this->typeIds[ $id ]['istype'] ) && $this->typeIds[ $id ]['istype']
			? $this->getType( $this->typeIds[ $id ]['name'], $prefix )
			: $this->getElement( $this->typeIds[ $id ]['name'], $prefix );
	}
public function getTypeById( $id, $prefix = null )
	{
		if ( ! isset( $this->typeIds[ $id ] ) ) return false;
		return isset( $this->typeIds[ $id ]['istype'] ) && $this->typeIds[ $id ]['istype']
			? $this->getType( $this->typeIds[ $id ]['name'], $prefix )
			: $this->getElement( $this->typeIds[ $id ]['name'], $prefix );
	}
public function getTypeById ( $ id , $ prefix = null ) { if ( ! isset ( $ this -> typeIds [ $ id ] ) ) return false ; return isset ( $ this -> typeIds [ $ id ] [ 'istype' ] ) && $ this -> typeIds [ $ id ] [ 'istype' ] ? $ this -> getType ( $ this -> typeIds [ $ id ] [ 'name' ] , $ prefix ) : $ this -> getElement ( $ this -> typeIds [ $ id ] [ 'name' ] , $ prefix ) ; }
Try to access a type by an id
@param array $id
@param string $prefix The prefix does not need to be supplied if it is already part of the name
@return boolean|array
Try to access a type by an id